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.00163/0.00163, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001195/0.001196, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.336/1.336, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1722/0.1722, allocations: 38.03 MB / 330.4 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.73 kB / 399.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09208, allocations: 58.06 MB / 457.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006039/0.09816, allocations: 4.409 MB / 461.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.1006, allocations: 1.437 MB / 463.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.1009, allocations: 11.94 kB / 463.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.1021, allocations: 374.5 kB / 463.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006852/0.1028, allocations: 250.8 kB / 464 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006957/0.1035, allocations: 239.4 kB / 464.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006916/0.1042, allocations: 0.5651 MB / 464.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.1047, allocations: 281.1 kB / 465.1 MB, free: 476 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.1051, allocations: 251 kB / 465.3 MB, free: 224 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.1057, allocations: 362.9 kB / 465.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.173e-05/0.1058, allocations: 36 kB / 465.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.1063, allocations: 243.6 kB / 465.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.1065, allocations: 235.4 kB / 466.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003477/0.1069, allocations: 258.8 kB / 466.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007766/0.1076, allocations: 0.6543 MB / 467.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1077, allocations: 0 / 467.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1077, allocations: 3.938 kB / 467.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.1077, allocations: 4 kB / 467.1 MB, free: 14.44 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.001539/0.1092, allocations: 0.7661 MB / 467.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1093, allocations: 11.89 kB / 467.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006897/0.11, allocations: 96.2 kB / 468 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/0.1107, allocations: 407.2 kB / 468.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.1107, allocations: 33.36 kB / 468.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.1108, allocations: 48.11 kB / 468.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009637/0.1118, allocations: 0.6726 MB / 469.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1118, allocations: 3.938 kB / 469.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.1119, allocations: 19.98 kB / 469.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/0.1121, allocations: 60.89 kB / 469.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000996/0.1131, allocations: 0.6635 MB / 469.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.1166, allocations: 2.429 MB / 472.3 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.1172, allocations: 376.5 kB / 472.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.1175, allocations: 246.3 kB / 472.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.1176, allocations: 8.281 kB / 472.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1176, allocations: 46.77 kB / 472.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 3.126e-06/0.1176, allocations: 0 / 472.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002343/0.12, allocations: 1.463 MB / 474.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.12, allocations: 81.23 kB / 474.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.1203, allocations: 290.8 kB / 474.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.1204, allocations: 37.64 kB / 474.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.1205, allocations: 247.7 kB / 475.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1207, allocations: 157.7 kB / 475.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.1208, allocations: 98.14 kB / 475.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.121, allocations: 342.8 kB / 475.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.1213, allocations: 221 kB / 475.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.1217, allocations: 357.8 kB / 476.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008032/0.1225, allocations: 0.6278 MB / 476.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1225, allocations: 4 kB / 476.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001265/0.1238, allocations: 0.7201 MB / 477.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1238, allocations: 11.94 kB / 477.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008593/0.1247, allocations: 0.5147 MB / 478.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/0.125, allocations: 73.08 kB / 478.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.1255, allocations: 107.9 kB / 478.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.1274, allocations: 1.73 MB / 480 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.1277, allocations: 35.95 kB / 480 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.1278, allocations: 23.98 kB / 480 MB, free: 0.8281 MB / 350.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.0002692/0.128, allocations: 217.6 kB / 480.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.1282, allocations: 47.53 kB / 480.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009071/0.1291, allocations: 0.5551 MB / 480.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.1291, allocations: 16 kB / 480.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1291, allocations: 0 / 480.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1291, allocations: 3.938 kB / 480.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.1311, allocations: 1.203 MB / 482.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.1311, allocations: 4 kB / 482.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.1315, allocations: 83.88 kB / 482.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.1316, allocations: 4 kB / 482.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.1316, allocations: 8 kB / 482.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1316, allocations: 4 kB / 482.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1316, allocations: 0 / 482.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.1328, allocations: 0.9258 MB / 483.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.1329, allocations: 108.8 kB / 483.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.133, allocations: 12 kB / 483.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.1332, allocations: 23.95 kB / 483.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.1333, allocations: 31.91 kB / 483.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.1333, allocations: 8 kB / 483.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.1335, allocations: 201.9 kB / 483.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1336, allocations: 0 / 483.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005261/0.1341, allocations: 116 kB / 483.6 MB, free: 13.14 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.0002334/0.1343, allocations: 139.5 kB / 483.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.1356, allocations: 0.7809 MB / 484.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1356, allocations: 0 / 484.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.136, allocations: 272.5 kB / 484.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.1365, allocations: 79.28 kB / 484.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1385, allocations: 1.226 MB / 486.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.139, allocations: 0.8743 MB / 487 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.1392, allocations: 39.44 kB / 487 MB, free: 9.652 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1392, allocations: 0 / 487 MB, free: 9.652 MB / 366.1 MB Notification: Performance of Templates: time 0.01045/0.1497, allocations: 6.412 MB / 493.4 MB, free: 3.254 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches