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.001252/0.001252, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001063/0.001063, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9144/0.9144, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2178/0.2178, allocations: 29.42 MB / 290.9 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 369.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.988e-05, allocations: 2.312 kB / 369.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.004653/0.004673, allocations: 4.844 MB / 374.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.006567, allocations: 1.359 MB / 375.9 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.006836, allocations: 27.75 kB / 375.9 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.007259, allocations: 123.1 kB / 376 MB, free: 4.543 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005882/0.007847, allocations: 397.8 kB / 376.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.008136, allocations: 151.7 kB / 376.5 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000678/0.008814, allocations: 0.8018 MB / 377.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.009024, allocations: 142.3 kB / 377.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006965/0.00972, allocations: 0.5494 MB / 378 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.01007, allocations: 319 kB / 378.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.01012, allocations: 36 kB / 378.4 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.26e-05/0.01018, allocations: 36 kB / 378.4 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.01033, allocations: 215.4 kB / 378.6 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.01048, allocations: 175.5 kB / 378.8 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.01087, allocations: 414.4 kB / 379.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01087, allocations: 4 kB / 379.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01087, allocations: 0 / 379.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.01088, allocations: 0 / 379.2 MB, free: 1.328 MB / 346.7 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.0008753/0.01176, allocations: 0.92 MB / 380.1 MB, free: 376 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.01179, allocations: 15.98 kB / 380.1 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.0119, allocations: 100.5 kB / 380.2 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007301/0.01263, allocations: 444.8 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.01265, allocations: 29.38 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.0127, allocations: 44.36 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.01315, allocations: 455.2 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01316, allocations: 3.938 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.01319, allocations: 16 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.01322, allocations: 17 kB / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.01349, allocations: 235.4 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.01501, allocations: 1.981 MB / 383.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.01537, allocations: 283.3 kB / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.01555, allocations: 149 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.01557, allocations: 8 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.01582, allocations: 281.5 kB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.412e-06/0.01582, allocations: 0 / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001079/0.0169, allocations: 1.031 MB / 385.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.01696, allocations: 166.2 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.01724, allocations: 434.6 kB / 385.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.01727, allocations: 33.7 kB / 385.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.01741, allocations: 354.9 kB / 386.1 MB, free: 9.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.01748, allocations: 119 kB / 386.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.01756, allocations: 103.8 kB / 386.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01769, allocations: 0.5274 MB / 386.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.01779, allocations: 98.64 kB / 387 MB, free: 9.086 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.01822, allocations: 327.1 kB / 387.3 MB, free: 8.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.01852, allocations: 449.2 kB / 387.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01853, allocations: 4 kB / 387.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004095/0.01894, allocations: 472 kB / 388.2 MB, free: 7.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.01896, allocations: 34.39 kB / 388.2 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01897, allocations: 8 kB / 388.3 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.01899, allocations: 11.94 kB / 388.3 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.01921, allocations: 111.8 kB / 388.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.01922, allocations: 12 kB / 388.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.01934, allocations: 27.98 kB / 388.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.01938, allocations: 35.92 kB / 388.4 MB, free: 7.379 MB / 362.7 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.0001221/0.0195, allocations: 226 kB / 388.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.01955, allocations: 63.67 kB / 388.7 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.01993, allocations: 417.2 kB / 389.1 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01993, allocations: 11.94 kB / 389.1 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01994, allocations: 0 / 389.1 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01994, allocations: 4 kB / 389.2 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007191/0.02066, allocations: 0.8673 MB / 390 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02066, allocations: 0 / 390 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.02082, allocations: 63.91 kB / 390.1 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.02082, allocations: 3.938 kB / 390.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.02084, allocations: 15.98 kB / 390.1 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.02084, allocations: 4.062 kB / 390.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.02085, allocations: 7.984 kB / 390.1 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.02136, allocations: 0.6846 MB / 390.8 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.02144, allocations: 75.56 kB / 390.9 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.02147, allocations: 12 kB / 390.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.02157, allocations: 8 kB / 390.9 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.02162, allocations: 31.89 kB / 390.9 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.02165, allocations: 27.95 kB / 390.9 MB, free: 4.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.0218, allocations: 275.1 kB / 391.2 MB, free: 4.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0218, allocations: 32 / 391.2 MB, free: 4.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.02207, allocations: 104 kB / 391.3 MB, free: 4.359 MB / 362.7 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 8.521e-05/0.02215, allocations: 114.4 kB / 391.4 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.0225, allocations: 380.8 kB / 391.8 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.0225, allocations: 0 / 391.8 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.02265, allocations: 240.8 kB / 392 MB, free: 3.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.02302, allocations: 107.9 kB / 392.1 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.02424, allocations: 0.9292 MB / 393.1 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.883e-05/0.02433, allocations: 145.7 kB / 393.2 MB, free: 2.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.02448, allocations: 84.14 kB / 393.3 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.02455, allocations: 36.5 kB / 393.3 MB, free: 2.219 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02455, allocations: 4 kB / 393.3 MB, free: 2.215 MB / 362.7 MB Notification: Performance of Templates: time 0.006538/0.03108, allocations: 4.577 MB / 397.9 MB, free: 13.73 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1080095982179046]