Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008347/0.0008348, allocations: 90.23 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009213/0.0009214, allocations: 176.6 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.154/0.154, allocations: 38.09 MB / 330.8 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.0002648, allocations: 12 kB / 400.7 MB, free: 34.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08848, allocations: 59.17 MB / 459.9 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005077/0.09359, allocations: 4.678 MB / 464.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.09606, allocations: 1.601 MB / 466.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.0964, allocations: 23.88 kB / 466.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.09663, allocations: 55.55 kB / 466.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005973/0.09723, allocations: 231.1 kB / 466.5 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.09781, allocations: 215.6 kB / 466.7 MB, free: 284 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008229/0.09865, allocations: 0.8694 MB / 467.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008224/0.09948, allocations: 0.5358 MB / 468.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.09984, allocations: 215 kB / 468.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004784/0.1003, allocations: 354.9 kB / 468.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.935e-05/0.1004, allocations: 20 kB / 468.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.1008, allocations: 235.5 kB / 468.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.101, allocations: 223.3 kB / 469.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.1013, allocations: 252.5 kB / 469.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.1019, allocations: 0.6463 MB / 470 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1019, allocations: 0 / 470 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1019, allocations: 0 / 470 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.1019, allocations: 0 / 470 MB, free: 12.91 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001181/0.1031, allocations: 0.6882 MB / 470.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1032, allocations: 8.031 kB / 470.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006184/0.1038, allocations: 96.22 kB / 470.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.1044, allocations: 407.2 kB / 471.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.1045, allocations: 29.36 kB / 471.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.1046, allocations: 44.12 kB / 471.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009468/0.1056, allocations: 0.6842 MB / 471.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1056, allocations: 0 / 471.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.522e-05/0.1057, allocations: 19.98 kB / 472 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.1058, allocations: 56.95 kB / 472 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000941/0.1068, allocations: 0.6674 MB / 472.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.1099, allocations: 2.445 MB / 475.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.1103, allocations: 356.2 kB / 475.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.1107, allocations: 258.3 kB / 475.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.1107, allocations: 4.281 kB / 475.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1107, allocations: 34.84 kB / 475.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.633e-06/0.1107, allocations: 0 / 475.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.001995/0.1127, allocations: 1.478 MB / 477.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.1128, allocations: 85.23 kB / 477.3 MB, free: 5.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.1131, allocations: 286.8 kB / 477.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1131, allocations: 29.7 kB / 477.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.1132, allocations: 243.8 kB / 477.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.1134, allocations: 165.6 kB / 478 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.1134, allocations: 49.69 kB / 478.1 MB, free: 4.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1135, allocations: 346.8 kB / 478.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.1138, allocations: 221 kB / 478.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.1142, allocations: 365.7 kB / 479 MB, free: 3.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.1149, allocations: 0.6278 MB / 479.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1149, allocations: 0 / 479.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001113/0.1161, allocations: 0.7163 MB / 480.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1161, allocations: 7.938 kB / 480.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007723/0.1169, allocations: 0.5186 MB / 480.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/0.1172, allocations: 76.78 kB / 480.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.1175, allocations: 108.1 kB / 481 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.1189, allocations: 1.6 MB / 482.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.1191, allocations: 28.03 kB / 482.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.1192, allocations: 24 kB / 482.7 MB, free: 15.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.1194, allocations: 209.7 kB / 482.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/0.1195, allocations: 35.61 kB / 482.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008045/0.1203, allocations: 0.5744 MB / 483.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.1203, allocations: 23.86 kB / 483.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1203, allocations: 4 kB / 483.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1203, allocations: 0 / 483.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.122, allocations: 1.192 MB / 484.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.122, allocations: 0 / 484.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.1224, allocations: 87.88 kB / 484.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1224, allocations: 4.094 kB / 484.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1224, allocations: 8 kB / 484.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1224, allocations: 7.938 kB / 484.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1224, allocations: 4 kB / 484.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1235, allocations: 0.9261 MB / 485.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.1236, allocations: 108.6 kB / 485.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.1237, allocations: 12.03 kB / 485.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.1239, allocations: 19.98 kB / 485.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.1239, allocations: 27.91 kB / 485.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.124, allocations: 11.98 kB / 485.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.1241, allocations: 194 kB / 486.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1241, allocations: 0 / 486.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004245/0.1246, allocations: 132 kB / 486.3 MB, free: 11.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001975/0.1248, allocations: 135.6 kB / 486.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008744/0.1257, allocations: 0.6686 MB / 487.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1257, allocations: 0 / 487.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.126, allocations: 263.4 kB / 487.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.1265, allocations: 63 kB / 487.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.1282, allocations: 1.444 MB / 488.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.1287, allocations: 0.8743 MB / 489.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003025/0.129, allocations: 131.1 kB / 489.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.836e-05/0.1291, allocations: 31.44 kB / 489.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1291, allocations: 0 / 489.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of Templates: time 0.008298/0.1374, allocations: 4.186 MB / 494 MB, free: 4.016 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches