Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.002164/0.002164, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.003015/0.003015, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.58/1.58, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2063/0.2063, allocations: 38.55 MB / 352.5 MB, free: 12.41 MB / 286.1 MB " [Timeout remaining time 179] 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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [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.002128/0.002128, allocations: 74.39 kB / 493 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4112, allocations: 62.46 MB / 0.5424 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.008117/0.4193, allocations: 5.321 MB / 0.5476 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.4225, allocations: 1.309 MB / 0.5489 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.4229, allocations: 26.78 kB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.4234, allocations: 129.7 kB / 0.5491 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.4245, allocations: 397.4 kB / 0.5494 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.425, allocations: 146 kB / 0.5496 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.426, allocations: 0.7812 MB / 0.5503 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.4263, allocations: 141.2 kB / 0.5505 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006427/0.4269, allocations: 361.7 kB / 0.5508 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007145/0.4276, allocations: 400.6 kB / 0.5512 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.116e-05/0.4277, allocations: 40.09 kB / 0.5512 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.4278, allocations: 44.34 kB / 0.5513 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.4281, allocations: 209.2 kB / 0.5515 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.4284, allocations: 232.6 kB / 0.5517 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007813/0.4292, allocations: 0.5873 MB / 0.5523 GB, free: 9.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4292, allocations: 1.188 kB / 0.5523 GB, free: 9.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4292, allocations: 0 / 0.5523 GB, free: 9.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.4292, allocations: 0 / 0.5523 GB, free: 9.191 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001629/0.4308, allocations: 0.8329 MB / 0.5531 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4309, allocations: 13.8 kB / 0.5531 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.431, allocations: 61.94 kB / 0.5532 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009718/0.4319, allocations: 454.6 kB / 0.5536 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.432, allocations: 37.25 kB / 0.5536 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/0.4321, allocations: 39.25 kB / 0.5537 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009336/0.433, allocations: 0.5716 MB / 0.5542 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.433, allocations: 1.062 kB / 0.5542 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.4331, allocations: 16.38 kB / 0.5542 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.4331, allocations: 19.06 kB / 0.5543 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006855/0.4338, allocations: 420.8 kB / 0.5547 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.4365, allocations: 1.695 MB / 0.5563 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.4372, allocations: 339 kB / 0.5566 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.4375, allocations: 195.4 kB / 0.5568 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.4375, allocations: 4.25 kB / 0.5568 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004694/0.438, allocations: 318.5 kB / 0.5571 GB, free: 4.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.863e-06/0.438, allocations: 0 / 0.5571 GB, free: 4.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002167/0.4402, allocations: 1.202 MB / 0.5583 GB, free: 3.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4403, allocations: 162.2 kB / 0.5585 GB, free: 3.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.4408, allocations: 405.8 kB / 0.5588 GB, free: 3.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.4408, allocations: 33.83 kB / 0.5589 GB, free: 2.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.4411, allocations: 300.2 kB / 0.5592 GB, free: 2.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.4412, allocations: 123 kB / 0.5593 GB, free: 2.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.4413, allocations: 98.12 kB / 0.5594 GB, free: 2.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4415, allocations: 354.8 kB / 0.5597 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.4418, allocations: 146.6 kB / 0.5599 GB, free: 1.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.4421, allocations: 319.2 kB / 0.5602 GB, free: 1.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.4428, allocations: 481.3 kB / 0.5606 GB, free: 1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4428, allocations: 4 kB / 0.5606 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008802/0.4437, allocations: 0.5468 MB / 0.5612 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.4437, allocations: 37.64 kB / 0.5612 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.4437, allocations: 11.94 kB / 0.5612 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.4438, allocations: 8 kB / 0.5612 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.4442, allocations: 108.5 kB / 0.5613 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.4442, allocations: 12 kB / 0.5613 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.4445, allocations: 27.92 kB / 0.5614 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.4445, allocations: 31.92 kB / 0.5614 GB, free: 196 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0003087/0.4448, allocations: 255.4 kB / 0.5616 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.4449, allocations: 47.66 kB / 0.5617 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007528/0.4456, allocations: 485.2 kB / 0.5621 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4457, allocations: 4 kB / 0.5621 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4457, allocations: 0 / 0.5621 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4457, allocations: 0 / 0.5621 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.4471, allocations: 0.8977 MB / 0.563 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4471, allocations: 0 / 0.563 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.4474, allocations: 59.97 kB / 0.5631 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4474, allocations: 3.938 kB / 0.5631 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.4474, allocations: 15.98 kB / 0.5631 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4474, allocations: 4.062 kB / 0.5631 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4474, allocations: 4 kB / 0.5631 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.4485, allocations: 0.7735 MB / 0.5639 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.4487, allocations: 63.66 kB / 0.5639 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.4487, allocations: 15.98 kB / 0.5639 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.449, allocations: 12 kB / 0.5639 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.449, allocations: 27.89 kB / 0.564 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/0.4491, allocations: 35.95 kB / 0.564 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003173/0.4494, allocations: 267.1 kB / 0.5643 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4494, allocations: 0 / 0.5643 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004646/0.4499, allocations: 100 kB / 0.5644 GB, free: 13.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0001585/0.45, allocations: 115.2 kB / 0.5645 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006753/0.4507, allocations: 462 kB / 0.5649 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4507, allocations: 0 / 0.5649 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.4511, allocations: 266.2 kB / 0.5652 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.4517, allocations: 110.9 kB / 0.5653 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.4535, allocations: 1.002 MB / 0.5662 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.4539, allocations: 288 kB / 0.5665 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002732/0.4541, allocations: 88.31 kB / 0.5666 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.916e-05/0.4542, allocations: 35.44 kB / 0.5666 GB, free: 10.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4542, allocations: 0 / 0.5666 GB, free: 10.56 MB / 414.1 MB Notification: Performance of Templates: time 0.01071/0.4649, allocations: 4.972 MB / 0.5715 GB, free: 5.672 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.757381146773696]