Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1842/0.1842, allocations: 38.55 MB / 353.2 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.ReferenceSynchron") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 75.88 kB / 493.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3528, allocations: 62.46 MB / 0.5431 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.00849/0.3613, allocations: 4.321 MB / 0.5474 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.3646, allocations: 1.387 MB / 0.5487 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.3649, allocations: 21.16 kB / 0.5487 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.366, allocations: 363.9 kB / 0.5491 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006181/0.3666, allocations: 256.6 kB / 0.5493 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007374/0.3674, allocations: 249.2 kB / 0.5496 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006759/0.368, allocations: 0.5617 MB / 0.5501 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.3684, allocations: 219.6 kB / 0.5503 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.3689, allocations: 275 kB / 0.5506 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.3694, allocations: 369.7 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.3695, allocations: 39.19 kB / 0.551 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.3699, allocations: 230.5 kB / 0.5512 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.3702, allocations: 241.6 kB / 0.5514 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.3705, allocations: 220.9 kB / 0.5516 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008415/0.3713, allocations: 0.6834 MB / 0.5523 GB, free: 9.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3713, allocations: 0 / 0.5523 GB, free: 9.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3713, allocations: 0 / 0.5523 GB, free: 9.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3713, allocations: 0 / 0.5523 GB, free: 9.773 MB / 398.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.001654/0.373, allocations: 0.7137 MB / 0.553 GB, free: 9.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.514e-05/0.373, allocations: 13.11 kB / 0.553 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009327/0.374, allocations: 119.4 kB / 0.5531 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.3749, allocations: 361.7 kB / 0.5535 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.3749, allocations: 36.41 kB / 0.5535 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.3751, allocations: 52.7 kB / 0.5536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.3764, allocations: 0.6747 MB / 0.5542 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.3764, allocations: 9.109 kB / 0.5542 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.3765, allocations: 16.7 kB / 0.5542 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000184/0.3767, allocations: 49.34 kB / 0.5543 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.3778, allocations: 0.6662 MB / 0.5549 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.3814, allocations: 2.283 MB / 0.5572 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.382, allocations: 313 kB / 0.5575 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.3823, allocations: 205.6 kB / 0.5577 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.3823, allocations: 11.98 kB / 0.5577 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3824, allocations: 34.56 kB / 0.5577 GB, free: 5.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.615e-06/0.3824, allocations: 0 / 0.5577 GB, free: 5.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002232/0.3846, allocations: 1.286 MB / 0.559 GB, free: 3.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.3847, allocations: 89.17 kB / 0.5591 GB, free: 3.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.385, allocations: 300.1 kB / 0.5593 GB, free: 3.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.385, allocations: 33.69 kB / 0.5594 GB, free: 3.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.3852, allocations: 260.1 kB / 0.5596 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.3854, allocations: 154.7 kB / 0.5598 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.3855, allocations: 94.14 kB / 0.5599 GB, free: 2.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3857, allocations: 346.8 kB / 0.5602 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.386, allocations: 205 kB / 0.5604 GB, free: 2.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.3864, allocations: 365.5 kB / 0.5607 GB, free: 1.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008054/0.3872, allocations: 0.5982 MB / 0.5613 GB, free: 1.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3872, allocations: 4 kB / 0.5613 GB, free: 1.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009815/0.3882, allocations: 0.6265 MB / 0.5619 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3883, allocations: 11.94 kB / 0.5619 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.3883, allocations: 4 kB / 0.5619 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3883, allocations: 8.688 kB / 0.562 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.3887, allocations: 115.8 kB / 0.5621 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.3887, allocations: 11.94 kB / 0.5621 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.389, allocations: 27.97 kB / 0.5621 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.389, allocations: 24 kB / 0.5621 GB, free: 344 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002646/0.3893, allocations: 217.6 kB / 0.5623 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.3894, allocations: 39.7 kB / 0.5624 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008262/0.3902, allocations: 496.4 kB / 0.5628 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.3902, allocations: 12 kB / 0.5629 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.3902, allocations: 0 / 0.5629 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3903, allocations: 11.98 kB / 0.5629 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.392, allocations: 0.9754 MB / 0.5638 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.392, allocations: 0 / 0.5638 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.3924, allocations: 71.89 kB / 0.5639 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3924, allocations: 4 kB / 0.5639 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.3924, allocations: 8 kB / 0.5639 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3924, allocations: 0 / 0.5639 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.3924, allocations: 8.094 kB / 0.5639 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.3936, allocations: 0.8284 MB / 0.5647 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.3936, allocations: 35.7 kB / 0.5648 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.3937, allocations: 16.03 kB / 0.5648 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3939, allocations: 15.98 kB / 0.5648 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.394, allocations: 15.97 kB / 0.5648 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.394, allocations: 15.98 kB / 0.5648 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.3942, allocations: 203.1 kB / 0.565 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3942, allocations: 0 / 0.565 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005199/0.3947, allocations: 111.9 kB / 0.5651 GB, free: 13.18 MB / 414.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 (33): * Single equations (assignments): 30 * 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.0002507/0.395, allocations: 139.2 kB / 0.5652 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007648/0.3958, allocations: 473.4 kB / 0.5657 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3958, allocations: 0 / 0.5657 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.3961, allocations: 200.8 kB / 0.5659 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.3966, allocations: 75.23 kB / 0.566 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.3984, allocations: 1.173 MB / 0.5671 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.3987, allocations: 274.2 kB / 0.5674 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3988, allocations: 39.44 kB / 0.5674 GB, free: 10.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3988, allocations: 0 / 0.5674 GB, free: 10.77 MB / 414.1 MB Notification: Performance of Templates: time 0.009532/0.4084, allocations: 5.826 MB / 0.5731 GB, free: 4.945 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.279651611112058]