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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1863/0.1863, allocations: 38.55 MB / 346.3 MB, free: 2.105 MB / 270.1 MB " [Timeout remaining time 180] 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.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: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.88 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4282, allocations: 61.29 MB / 0.533 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005672/0.4339, allocations: 4.562 MB / 0.5375 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.4361, allocations: 1.455 MB / 0.5389 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.4364, allocations: 16.12 kB / 0.5389 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.4375, allocations: 386.4 kB / 0.5393 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005572/0.438, allocations: 260.3 kB / 0.5395 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.4386, allocations: 247.8 kB / 0.5398 GB, free: 440 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.4392, allocations: 0.5626 MB / 0.5403 GB, free: 120 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.4396, allocations: 187.2 kB / 0.5405 GB, free: 8 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.44, allocations: 267.4 kB / 0.5408 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005767/0.4406, allocations: 378.3 kB / 0.5411 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.641e-05/0.4406, allocations: 42.84 kB / 0.5412 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.4411, allocations: 244.1 kB / 0.5414 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.4414, allocations: 242.3 kB / 0.5416 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.4417, allocations: 261.3 kB / 0.5419 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008871/0.4426, allocations: 0.6786 MB / 0.5425 GB, free: 14.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4426, allocations: 0 / 0.5425 GB, free: 14.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4426, allocations: 0 / 0.5425 GB, free: 14.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.4426, allocations: 3.938 kB / 0.5425 GB, free: 14.76 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.001539/0.4442, allocations: 0.7052 MB / 0.5432 GB, free: 14.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4442, allocations: 9.75 kB / 0.5432 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/0.4448, allocations: 87.11 kB / 0.5433 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008049/0.4456, allocations: 365.5 kB / 0.5437 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.4457, allocations: 32.61 kB / 0.5437 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.4458, allocations: 48.03 kB / 0.5437 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4469, allocations: 0.6765 MB / 0.5444 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4469, allocations: 1.125 kB / 0.5444 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.447, allocations: 16.81 kB / 0.5444 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/0.4472, allocations: 53.14 kB / 0.5445 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.4482, allocations: 0.6788 MB / 0.5451 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/0.4529, allocations: 2.445 MB / 0.5475 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.4535, allocations: 312.1 kB / 0.5478 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.4538, allocations: 206.7 kB / 0.548 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.4539, allocations: 7.438 kB / 0.548 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.4539, allocations: 48.73 kB / 0.5481 GB, free: 10.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.4539, allocations: 0 / 0.5481 GB, free: 10.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002427/0.4563, allocations: 1.285 MB / 0.5493 GB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.4564, allocations: 89.36 kB / 0.5494 GB, free: 9.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.4567, allocations: 297.6 kB / 0.5497 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.4568, allocations: 36.7 kB / 0.5497 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.457, allocations: 259.4 kB / 0.55 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.4571, allocations: 161.8 kB / 0.5501 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.4573, allocations: 91.12 kB / 0.5502 GB, free: 9.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.4575, allocations: 348.8 kB / 0.5505 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.4578, allocations: 195.3 kB / 0.5507 GB, free: 8.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/0.4582, allocations: 367 kB / 0.5511 GB, free: 8.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.4591, allocations: 0.6108 MB / 0.5517 GB, free: 8.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4591, allocations: 1.438 kB / 0.5517 GB, free: 8.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009976/0.4601, allocations: 0.6334 MB / 0.5523 GB, free: 7.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4601, allocations: 11.78 kB / 0.5523 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4601, allocations: 4.906 kB / 0.5523 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.4601, allocations: 15.97 kB / 0.5523 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.4606, allocations: 109.7 kB / 0.5524 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.4606, allocations: 15.92 kB / 0.5524 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.4609, allocations: 27.97 kB / 0.5525 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.461, allocations: 20 kB / 0.5525 GB, free: 7.684 MB / 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.0003322/0.4613, allocations: 217.6 kB / 0.5527 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.4614, allocations: 39.7 kB / 0.5527 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000926/0.4623, allocations: 492.7 kB / 0.5532 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-05/0.4624, allocations: 19.97 kB / 0.5532 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.4624, allocations: 0 / 0.5532 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.4624, allocations: 0 / 0.5532 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.4645, allocations: 1.073 MB / 0.5543 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4645, allocations: 8.094 kB / 0.5543 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.4649, allocations: 75.89 kB / 0.5544 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.4649, allocations: 4 kB / 0.5544 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.4649, allocations: 11.98 kB / 0.5544 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4649, allocations: 0 / 0.5544 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4649, allocations: 4 kB / 0.5544 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.4661, allocations: 0.8361 MB / 0.5552 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.4661, allocations: 27.77 kB / 0.5552 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.4662, allocations: 8 kB / 0.5552 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.4664, allocations: 15.98 kB / 0.5552 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.4665, allocations: 27.89 kB / 0.5553 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.4665, allocations: 8 kB / 0.5553 GB, free: 4.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.4668, allocations: 223 kB / 0.5555 GB, free: 4.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4668, allocations: 0 / 0.5555 GB, free: 4.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005785/0.4673, allocations: 107.9 kB / 0.5556 GB, free: 4.406 MB / 398.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.0002773/0.4676, allocations: 139 kB / 0.5557 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000879/0.4685, allocations: 477.3 kB / 0.5562 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4685, allocations: 0 / 0.5562 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.4688, allocations: 195.8 kB / 0.5564 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.4694, allocations: 67 kB / 0.5564 GB, free: 3.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.4715, allocations: 1.136 MB / 0.5575 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.4722, allocations: 0.8704 MB / 0.5584 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003494/0.4725, allocations: 127.1 kB / 0.5585 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.4726, allocations: 31.44 kB / 0.5585 GB, free: 1.316 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4726, allocations: 4 kB / 0.5585 GB, free: 1.312 MB / 398.1 MB Notification: Performance of Templates: time 0.0111/0.4837, allocations: 4.356 MB / 0.5628 GB, free: 12.98 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.mat","/var/lib/jenkins/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: 5.5416230065748096]