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.0009501/0.0009501, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001042/0.001042, allocations: 169.9 kB / 24.99 MB, free: 8.289 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2352/0.2352, allocations: 29.42 MB / 291.2 MB, free: 2.516 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.793e-06/1.793e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.728e-05, allocations: 2.312 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005112/0.005139, allocations: 5.627 MB / 375.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.0067, allocations: 1.344 MB / 376.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.006947, allocations: 27.75 kB / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.007369, allocations: 135 kB / 376.7 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005709/0.00794, allocations: 397.7 kB / 377.1 MB, free: 3.789 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.008127, allocations: 155.7 kB / 377.3 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000515/0.008642, allocations: 0.7979 MB / 378.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.008849, allocations: 146.1 kB / 378.2 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.009293, allocations: 474.5 kB / 378.7 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.009703, allocations: 383 kB / 379.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.009749, allocations: 36 kB / 379.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.637e-05/0.009806, allocations: 44 kB / 379.1 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.00995, allocations: 219.3 kB / 379.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.0101, allocations: 183.5 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.01049, allocations: 434.4 kB / 380 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.01049, allocations: 0 / 380 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01049, allocations: 0 / 380 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.0105, allocations: 3.938 kB / 380 MB, free: 0.9453 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.0009479/0.01144, allocations: 0.9355 MB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.01148, allocations: 15.98 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.01159, allocations: 100.5 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.01211, allocations: 467.1 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.01214, allocations: 33.38 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.01219, allocations: 44.36 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.01264, allocations: 455.2 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01265, allocations: 0 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.01268, allocations: 16 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.01271, allocations: 17 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.01299, allocations: 231.4 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.01452, allocations: 1.977 MB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.01487, allocations: 276.1 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.01505, allocations: 152.2 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.01508, allocations: 8 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.01533, allocations: 289.4 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.635e-06/0.01533, allocations: 4 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001133/0.01647, allocations: 1.023 MB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.01653, allocations: 170.1 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.01681, allocations: 442.5 kB / 386.6 MB, free: 9.922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.01683, allocations: 29.7 kB / 386.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.01698, allocations: 347 kB / 386.9 MB, free: 9.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.01704, allocations: 127 kB / 387.1 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/0.01713, allocations: 95.8 kB / 387.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.01726, allocations: 0.5352 MB / 387.7 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.01736, allocations: 94.78 kB / 387.8 MB, free: 8.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.01755, allocations: 327.1 kB / 388.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.01787, allocations: 453.1 kB / 388.5 MB, free: 7.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01787, allocations: 8 kB / 388.5 MB, free: 7.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004158/0.01829, allocations: 460.8 kB / 389 MB, free: 7.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.01832, allocations: 41.69 kB / 389 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01833, allocations: 4.062 kB / 389 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.01835, allocations: 19.92 kB / 389.1 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.01858, allocations: 111.8 kB / 389.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.01859, allocations: 11.94 kB / 389.2 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.01872, allocations: 27.94 kB / 389.2 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.01875, allocations: 31.98 kB / 389.2 MB, free: 6.961 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.0001337/0.01889, allocations: 222.1 kB / 389.5 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.01894, allocations: 63.72 kB / 389.5 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.01934, allocations: 409.4 kB / 389.9 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01934, allocations: 7.938 kB / 389.9 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01935, allocations: 0 / 389.9 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01935, allocations: 11.92 kB / 389.9 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007582/0.02011, allocations: 0.8756 MB / 390.8 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02011, allocations: 0 / 390.8 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.02027, allocations: 63.84 kB / 390.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.02027, allocations: 4.062 kB / 390.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.02029, allocations: 16 kB / 390.9 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.02029, allocations: 3.984 kB / 390.9 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0203, allocations: 4 kB / 390.9 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.02086, allocations: 0.696 MB / 391.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.02094, allocations: 63.62 kB / 391.7 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.02098, allocations: 12 kB / 391.7 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/0.02107, allocations: 11.98 kB / 391.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.02113, allocations: 27.95 kB / 391.7 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.02116, allocations: 27.97 kB / 391.7 MB, free: 4.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.02132, allocations: 279.1 kB / 392 MB, free: 4.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02132, allocations: 3.938 kB / 392 MB, free: 4.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.02159, allocations: 100 kB / 392.1 MB, free: 3.941 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.0001089/0.0217, allocations: 110.1 kB / 392.2 MB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.02207, allocations: 380.3 kB / 392.6 MB, free: 3.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.02207, allocations: 4.062 kB / 392.6 MB, free: 3.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.02224, allocations: 232.8 kB / 392.8 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.02261, allocations: 101.6 kB / 392.9 MB, free: 3.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.02395, allocations: 0.9407 MB / 393.9 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.178e-05/0.02404, allocations: 145.7 kB / 394 MB, free: 1.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.02419, allocations: 80.31 kB / 394.1 MB, free: 1.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.02426, allocations: 40.48 kB / 394.1 MB, free: 1.797 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02426, allocations: 4 kB / 394.1 MB, free: 1.793 MB / 362.7 MB Notification: Performance of Templates: time 0.006443/0.0307, allocations: 4.366 MB / 398.5 MB, free: 13.52 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1594453738071024]