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.001049/0.001049, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001015/0.001015, allocations: 168.9 kB / 24.91 MB, free: 8.723 MB / 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.9788/0.9788, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1198/0.1198, allocations: 29.43 MB / 291.2 MB, free: 2.691 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.713e-06/1.713e-06, allocations: 0 / 316.8 MB, free: 9.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.121e-05, allocations: 6.312 kB / 316.8 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.008197/0.008229, allocations: 4.854 MB / 321.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00438/0.01261, allocations: 1.375 MB / 323.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003817/0.01299, allocations: 27.75 kB / 323.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.01346, allocations: 131 kB / 323.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008469/0.01431, allocations: 397.8 kB / 323.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.01465, allocations: 147.7 kB / 323.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006776/0.01532, allocations: 0.798 MB / 324.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.01556, allocations: 139 kB / 324.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.01626, allocations: 0.561 MB / 325.3 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.0166, allocations: 299.1 kB / 325.6 MB, free: 304 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.966e-05/0.01665, allocations: 36 kB / 325.6 MB, free: 268 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.01671, allocations: 36 kB / 325.6 MB, free: 232 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.01686, allocations: 211.4 kB / 325.8 MB, free: 20 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.01703, allocations: 187.6 kB / 326 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.01743, allocations: 406.4 kB / 326.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01743, allocations: 4 kB / 326.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.01743, allocations: 0 / 326.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.01744, allocations: 3.938 kB / 326.4 MB, free: 15.43 MB / 314.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.01832, allocations: 0.7601 MB / 327.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.01835, allocations: 12.02 kB / 327.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.461e-05/0.01845, allocations: 76.88 kB / 327.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.01897, allocations: 407.5 kB / 327.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.01899, allocations: 33.38 kB / 327.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.01904, allocations: 36.38 kB / 327.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.01941, allocations: 412.4 kB / 328.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.01942, allocations: 0 / 328.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.01944, allocations: 16 kB / 328.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.01947, allocations: 24.98 kB / 328.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.01964, allocations: 164.5 kB / 328.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.02092, allocations: 1.482 MB / 329.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.0212, allocations: 225.5 kB / 330 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.02133, allocations: 123.4 kB / 330.2 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.02135, allocations: 4 kB / 330.2 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.02157, allocations: 266.2 kB / 330.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 3.236e-06/0.02158, allocations: 3.984 kB / 330.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005206/0.0221, allocations: 480 kB / 330.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.02216, allocations: 170.2 kB / 331.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.02237, allocations: 359.1 kB / 331.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.02239, allocations: 29.7 kB / 331.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.0225, allocations: 261.1 kB / 331.7 MB, free: 9.805 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.02256, allocations: 119 kB / 331.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.02264, allocations: 90.09 kB / 331.9 MB, free: 9.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.02274, allocations: 362.8 kB / 332.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.594e-05/0.02281, allocations: 77.5 kB / 332.3 MB, free: 9.148 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.02295, allocations: 242.2 kB / 332.6 MB, free: 8.832 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.02319, allocations: 349.1 kB / 332.9 MB, free: 8.406 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.02319, allocations: 4 kB / 332.9 MB, free: 8.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002825/0.02348, allocations: 339.8 kB / 333.2 MB, free: 8.051 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.0235, allocations: 37.8 kB / 333.3 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.02351, allocations: 8 kB / 333.3 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.02353, allocations: 8 kB / 333.3 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.02374, allocations: 111.9 kB / 333.4 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.02375, allocations: 19.86 kB / 333.4 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.02387, allocations: 43.73 kB / 333.5 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.0239, allocations: 31.97 kB / 333.5 MB, free: 7.789 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (59): * Single equations (assignments): 58 * 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.0001209/0.02402, allocations: 180.4 kB / 333.7 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.02406, allocations: 39.97 kB / 333.7 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.02431, allocations: 297.1 kB / 334 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.02431, allocations: 0 / 334 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.02432, allocations: 7.938 kB / 334 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.02432, allocations: 3.984 kB / 334 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.02484, allocations: 0.5863 MB / 334.6 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.02484, allocations: 0 / 334.6 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.02498, allocations: 59.91 kB / 334.7 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.02499, allocations: 4 kB / 334.7 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.025, allocations: 12.03 kB / 334.7 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.025, allocations: 3.938 kB / 334.7 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.02501, allocations: 4 kB / 334.7 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.02536, allocations: 494.2 kB / 335.2 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.02543, allocations: 51.64 kB / 335.2 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.02546, allocations: 12 kB / 335.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.02555, allocations: 15.92 kB / 335.2 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.0256, allocations: 23.91 kB / 335.3 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.02563, allocations: 27.95 kB / 335.3 MB, free: 5.871 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.02573, allocations: 136.7 kB / 335.4 MB, free: 5.738 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02573, allocations: 4.031 kB / 335.4 MB, free: 5.734 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.02598, allocations: 123.8 kB / 335.6 MB, free: 5.613 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 30 * 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.0001031/0.02608, allocations: 92.34 kB / 335.6 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.02636, allocations: 321.3 kB / 336 MB, free: 5.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/0.02637, allocations: 4 kB / 336 MB, free: 5.172 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.0265, allocations: 198.6 kB / 336.2 MB, free: 4.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.0268, allocations: 102.4 kB / 336.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.02811, allocations: 0.9259 MB / 337.2 MB, free: 3.898 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.02821, allocations: 149.7 kB / 337.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.02835, allocations: 60.23 kB / 337.4 MB, free: 3.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.02854, allocations: 143.3 kB / 337.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02854, allocations: 0 / 337.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of Templates: time 0.006798/0.03534, allocations: 4.715 MB / 342.2 MB, free: 14.91 MB / 330.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.454275014344603]