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.001379/0.001379, allocations: 75.7 kB / 21.69 MB, free: 2.848 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.001193/0.001193, allocations: 166.3 kB / 24.99 MB, free: 9.328 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.242 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.2241/0.2241, allocations: 29.41 MB / 291.2 MB, free: 2.469 MB / 266.7 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.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.593e-06/1.593e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.735e-05, allocations: 5.406 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.004976/0.004993, allocations: 5.624 MB / 375.2 MB, free: 5.656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.007179, allocations: 1.348 MB / 376.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.007481, allocations: 27.75 kB / 376.6 MB, free: 4.277 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.007899, allocations: 135 kB / 376.8 MB, free: 4.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007142/0.008613, allocations: 397.7 kB / 377.1 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.008929, allocations: 155.7 kB / 377.3 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007494/0.009678, allocations: 0.7979 MB / 378.1 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.009898, allocations: 146.1 kB / 378.2 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005697/0.01047, allocations: 478.6 kB / 378.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004781/0.01095, allocations: 379 kB / 379.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/0.011, allocations: 40 kB / 379.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.01107, allocations: 40 kB / 379.2 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.01132, allocations: 219.4 kB / 379.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.01149, allocations: 183.5 kB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.01193, allocations: 430.4 kB / 380 MB, free: 0.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.01193, allocations: 4 kB / 380 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01193, allocations: 0 / 380 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.01194, allocations: 3.938 kB / 380 MB, free: 0.9102 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.0009533/0.01289, allocations: 0.9317 MB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.01293, allocations: 11.98 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.01305, allocations: 100.5 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.0136, allocations: 467 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.01363, allocations: 29.38 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.01368, allocations: 48.36 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.01415, allocations: 451.2 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.01416, allocations: 3.938 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.01419, allocations: 20 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.01423, allocations: 20.94 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.01452, allocations: 231.4 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.01625, allocations: 1.974 MB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.0166, allocations: 280 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.01677, allocations: 149.1 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.01679, allocations: 7.938 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.01703, allocations: 285.5 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.263e-06/0.01703, allocations: 4 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00111/0.01814, allocations: 1.031 MB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.0182, allocations: 162.2 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.01848, allocations: 438.5 kB / 386.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.0185, allocations: 33.7 kB / 386.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.01865, allocations: 351 kB / 386.9 MB, free: 9.508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.01872, allocations: 127 kB / 387.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.01881, allocations: 99.78 kB / 387.2 MB, free: 9.277 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.01894, allocations: 0.5274 MB / 387.7 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.01904, allocations: 94.77 kB / 387.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.01924, allocations: 331.1 kB / 388.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.01956, allocations: 457.2 kB / 388.5 MB, free: 7.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01956, allocations: 0 / 388.5 MB, free: 7.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004246/0.01999, allocations: 472.6 kB / 389 MB, free: 7.168 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.02001, allocations: 37.83 kB / 389 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.02002, allocations: 8 kB / 389.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.02004, allocations: 11.94 kB / 389.1 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.02027, allocations: 111.8 kB / 389.2 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.02028, allocations: 8 kB / 389.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.0204, allocations: 23.94 kB / 389.2 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.02043, allocations: 31.98 kB / 389.2 MB, free: 6.934 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.0001277/0.02056, allocations: 230 kB / 389.5 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.02061, allocations: 63.72 kB / 389.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.021, allocations: 413.2 kB / 389.9 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.021, allocations: 7.938 kB / 389.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.02101, allocations: 0 / 389.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.02101, allocations: 0 / 389.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009926/0.022, allocations: 0.8712 MB / 390.8 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.02201, allocations: 7.938 kB / 390.8 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.02216, allocations: 55.91 kB / 390.9 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.02216, allocations: 8.062 kB / 390.9 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.02218, allocations: 19.92 kB / 390.9 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.02219, allocations: 7.938 kB / 390.9 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02219, allocations: 0 / 390.9 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.02272, allocations: 0.6924 MB / 391.6 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.02279, allocations: 67.61 kB / 391.7 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.02283, allocations: 8 kB / 391.7 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.02293, allocations: 15.98 kB / 391.7 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.02299, allocations: 23.91 kB / 391.7 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.02302, allocations: 47.98 kB / 391.8 MB, free: 4.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.02318, allocations: 275.1 kB / 392 MB, free: 4 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02318, allocations: 0 / 392 MB, free: 4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.02346, allocations: 104 kB / 392.1 MB, free: 3.898 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.931e-05/0.02355, allocations: 107.2 kB / 392.2 MB, free: 3.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.02391, allocations: 381 kB / 392.6 MB, free: 3.387 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02391, allocations: 4.125 kB / 392.6 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.02409, allocations: 236.6 kB / 392.8 MB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.02446, allocations: 99.02 kB / 392.9 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.02579, allocations: 0.9326 MB / 393.9 MB, free: 2.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.02588, allocations: 149.7 kB / 394 MB, free: 1.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.02607, allocations: 76.31 kB / 394.1 MB, free: 1.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.02614, allocations: 32.5 kB / 394.1 MB, free: 1.773 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02614, allocations: 0 / 394.1 MB, free: 1.773 MB / 362.7 MB Notification: Performance of Templates: time 0.008923/0.03506, allocations: 4.384 MB / 398.5 MB, free: 13.49 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.226350330049172]