Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001377/0.001377, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002507/0.002507, allocations: 169.3 kB / 24.27 MB, free: 144 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 1.488/1.488, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3315/0.3315, allocations: 29.41 MB / 290.5 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.131e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007959/0.00799, allocations: 5.308 MB / 374.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.01082, allocations: 1.301 MB / 375.5 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.01109, allocations: 27.75 kB / 375.5 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.01161, allocations: 134.9 kB / 375.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009742/0.01259, allocations: 401.8 kB / 376 MB, free: 4.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.01293, allocations: 155.7 kB / 376.2 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009594/0.01389, allocations: 0.794 MB / 377 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.01419, allocations: 142.1 kB / 377.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007391/0.01493, allocations: 482.5 kB / 377.6 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.01555, allocations: 371 kB / 378 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.837e-05/0.01563, allocations: 40 kB / 378 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.93e-05/0.01573, allocations: 40 kB / 378 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.01601, allocations: 215.3 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.01629, allocations: 191.5 kB / 378.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000902/0.01719, allocations: 0.5801 MB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.01719, allocations: 0 / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01719, allocations: 0 / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.0172, allocations: 0 / 379 MB, free: 1.121 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.001777/0.01898, allocations: 0.8317 MB / 379.9 MB, free: 260 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.01904, allocations: 11.98 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.01925, allocations: 96.52 kB / 380 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009737/0.02022, allocations: 467 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.02027, allocations: 37.31 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-05/0.02035, allocations: 44.38 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.02139, allocations: 0.568 MB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.02141, allocations: 3.984 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.02146, allocations: 16 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.02151, allocations: 20.98 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/0.02222, allocations: 417.3 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.0249, allocations: 1.703 MB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/0.02559, allocations: 335 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.02598, allocations: 194.6 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.02601, allocations: 4.25 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000493/0.0265, allocations: 318 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.02651, allocations: 0 / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002312/0.02882, allocations: 1.206 MB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.02895, allocations: 162.2 kB / 385.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/0.02948, allocations: 405.8 kB / 385.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.02951, allocations: 29.7 kB / 385.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.02981, allocations: 316.2 kB / 386.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.02993, allocations: 119 kB / 386.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.03009, allocations: 94.14 kB / 386.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.03031, allocations: 358.8 kB / 386.7 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.03057, allocations: 146.6 kB / 386.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.031, allocations: 311.2 kB / 387.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.0317, allocations: 485.3 kB / 387.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.0317, allocations: 0 / 387.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009269/0.03263, allocations: 0.5627 MB / 388.2 MB, free: 7.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.03268, allocations: 37.69 kB / 388.2 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.03269, allocations: 8 kB / 388.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/0.03273, allocations: 11.94 kB / 388.2 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.03316, allocations: 103.8 kB / 388.3 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.03318, allocations: 16.42 kB / 388.4 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.03345, allocations: 32.05 kB / 388.4 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/0.03352, allocations: 31.98 kB / 388.4 MB, free: 7.125 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.0003339/0.03386, allocations: 251.2 kB / 388.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.03395, allocations: 63.67 kB / 388.7 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008498/0.0348, allocations: 489.4 kB / 389.2 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.03481, allocations: 7.938 kB / 389.2 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.03482, allocations: 3.984 kB / 389.2 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.03483, allocations: 3.984 kB / 389.2 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.03648, allocations: 0.8904 MB / 390.1 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.03648, allocations: 7.938 kB / 390.1 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.0368, allocations: 63.84 kB / 390.2 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.03681, allocations: 4 kB / 390.2 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.03684, allocations: 8 kB / 390.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.03684, allocations: 7.984 kB / 390.2 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.03685, allocations: 0 / 390.2 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.03807, allocations: 0.7811 MB / 391 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.03822, allocations: 67.73 kB / 391.1 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.03828, allocations: 16 kB / 391.1 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.03851, allocations: 19.98 kB / 391.1 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.0386, allocations: 19.95 kB / 391.1 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-05/0.03866, allocations: 35.91 kB / 391.1 MB, free: 4.273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003398/0.039, allocations: 267.1 kB / 391.4 MB, free: 4.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.039, allocations: 0 / 391.4 MB, free: 4.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005196/0.03952, allocations: 104 kB / 391.5 MB, free: 3.91 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 0.0001736/0.0397, allocations: 115.1 kB / 391.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007445/0.04044, allocations: 450.3 kB / 392.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.04044, allocations: 0 / 392.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.04081, allocations: 257.1 kB / 392.3 MB, free: 3.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006763/0.04148, allocations: 116.9 kB / 392.4 MB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.04338, allocations: 0.9892 MB / 393.4 MB, free: 1.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.04373, allocations: 276.2 kB / 393.7 MB, free: 1.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.04401, allocations: 92.31 kB / 393.8 MB, free: 1.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.04412, allocations: 36.5 kB / 393.8 MB, free: 1.488 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.04412, allocations: 4 kB / 393.8 MB, free: 1.484 MB / 362.7 MB Notification: Performance of Templates: time 0.01084/0.05496, allocations: 4.331 MB / 398.1 MB, free: 13.25 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.792327406001277]