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.001327/0.001327, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001091/0.001091, allocations: 172.3 kB / 24.82 MB, free: 9.305 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.082/1.082, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2534/0.2534, allocations: 29.42 MB / 291.2 MB, free: 2.414 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.513e-06/1.513e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.592e-05, allocations: 6.25 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.01513/0.01516, allocations: 4.82 MB / 374.9 MB, free: 5.859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005583/0.02074, allocations: 1.344 MB / 376.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.02117, allocations: 27.75 kB / 376.3 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.02165, allocations: 123.1 kB / 376.4 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008142/0.02246, allocations: 397.8 kB / 376.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.02581, allocations: 151.7 kB / 377 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008015/0.02661, allocations: 0.794 MB / 377.7 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.02686, allocations: 146.3 kB / 377.9 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009308/0.02779, allocations: 0.5494 MB / 378.4 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.02825, allocations: 315.1 kB / 378.7 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.137e-05/0.02831, allocations: 36 kB / 378.8 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.322e-05/0.0284, allocations: 36 kB / 378.8 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.02857, allocations: 223.3 kB / 379 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003195/0.03177, allocations: 179.5 kB / 379.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.03226, allocations: 410.4 kB / 379.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.03227, allocations: 4 kB / 379.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.03227, allocations: 4 kB / 379.6 MB, free: 1.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.03228, allocations: 0 / 379.6 MB, free: 1.145 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.00102/0.0333, allocations: 0.9004 MB / 380.5 MB, free: 208 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.03334, allocations: 11.98 kB / 380.5 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.03346, allocations: 100.5 kB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.034, allocations: 432.8 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.03403, allocations: 29.38 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.03408, allocations: 40.38 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.03454, allocations: 427.1 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.03455, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003046/0.0376, allocations: 16 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.03763, allocations: 24.98 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.03789, allocations: 184.4 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.03961, allocations: 1.981 MB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.03993, allocations: 260 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.04008, allocations: 121.1 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.04011, allocations: 8 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.04035, allocations: 277.4 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.953e-06/0.04035, allocations: 0 / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.004058/0.04441, allocations: 0.8132 MB / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.04447, allocations: 170.2 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.04479, allocations: 434.3 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.04482, allocations: 33.7 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.04501, allocations: 354.8 kB / 386.2 MB, free: 10.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.0451, allocations: 123 kB / 386.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.04521, allocations: 103.8 kB / 386.4 MB, free: 9.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.04538, allocations: 0.5431 MB / 386.9 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.912e-05/0.04547, allocations: 74.66 kB / 387 MB, free: 9.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.04568, allocations: 311.1 kB / 387.3 MB, free: 8.871 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.04602, allocations: 433.1 kB / 387.7 MB, free: 8.336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.04603, allocations: 3.938 kB / 387.7 MB, free: 8.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004907/0.04652, allocations: 440.6 kB / 388.2 MB, free: 7.883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.04655, allocations: 33.7 kB / 388.2 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.04656, allocations: 8 kB / 388.2 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.04658, allocations: 11.94 kB / 388.2 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.04687, allocations: 107.8 kB / 388.3 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.04688, allocations: 15.92 kB / 388.3 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.04705, allocations: 19.95 kB / 388.4 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.04709, allocations: 27.98 kB / 388.4 MB, free: 7.656 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.0001581/0.04725, allocations: 226.1 kB / 388.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.04731, allocations: 59.72 kB / 388.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.04773, allocations: 389.1 kB / 389 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.04774, allocations: 7.938 kB / 389.1 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.04774, allocations: 0 / 389.1 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.04774, allocations: 3.984 kB / 389.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007787/0.04852, allocations: 0.759 MB / 389.8 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.04852, allocations: 4 kB / 389.8 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.04871, allocations: 59.97 kB / 389.9 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.04871, allocations: 7.938 kB / 389.9 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.04873, allocations: 8 kB / 389.9 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.04874, allocations: 7.984 kB / 389.9 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.04874, allocations: 0 / 389.9 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.0493, allocations: 0.6416 MB / 390.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.04939, allocations: 59.67 kB / 390.6 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.04943, allocations: 19.92 kB / 390.6 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.04956, allocations: 8 kB / 390.6 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.04962, allocations: 23.95 kB / 390.7 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.543e-05/0.04966, allocations: 40.06 kB / 390.7 MB, free: 5.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.04982, allocations: 259 kB / 390.9 MB, free: 4.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04982, allocations: 0 / 390.9 MB, free: 4.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.05021, allocations: 100 kB / 391 MB, free: 4.863 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.0001118/0.05032, allocations: 111.2 kB / 391.2 MB, free: 4.746 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.05067, allocations: 352 kB / 391.5 MB, free: 4.375 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.05067, allocations: 0 / 391.5 MB, free: 4.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.05084, allocations: 212.8 kB / 391.7 MB, free: 4.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.05131, allocations: 104.1 kB / 391.8 MB, free: 4.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.05279, allocations: 0.9291 MB / 392.7 MB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.0529, allocations: 145.7 kB / 392.9 MB, free: 2.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.05307, allocations: 60.23 kB / 392.9 MB, free: 2.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.0533, allocations: 182.1 kB / 393.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0533, allocations: 0 / 393.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of Templates: time 0.008643/0.06194, allocations: 4.692 MB / 397.8 MB, free: 14.09 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.150709186680615]