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.001045/0.001045, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001209/0.001209, allocations: 161 kB / 24.56 MB, free: 16 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 0.9666/0.9666, allocations: 177.1 MB / 205 MB, free: 5.625 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.243/0.243, allocations: 29.41 MB / 290.9 MB, free: 2.52 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.423e-06/1.423e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.061e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005079/0.00511, allocations: 4.863 MB / 374.5 MB, free: 6.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.006733, allocations: 1.348 MB / 375.8 MB, free: 4.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.006946, allocations: 27.75 kB / 375.9 MB, free: 4.742 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.007359, allocations: 123.1 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005569/0.007916, allocations: 401.8 kB / 376.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.008111, allocations: 147.7 kB / 376.5 MB, free: 4.082 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005589/0.00867, allocations: 0.8018 MB / 377.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.008876, allocations: 142.3 kB / 377.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.009309, allocations: 466.6 kB / 377.9 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.009702, allocations: 379 kB / 378.3 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.009754, allocations: 40 kB / 378.3 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.874e-05/0.009813, allocations: 40 kB / 378.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.009962, allocations: 227.3 kB / 378.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.01012, allocations: 183.5 kB / 378.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000722/0.01084, allocations: 426.4 kB / 379.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01084, allocations: 0 / 379.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01085, allocations: 0 / 379.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.01086, allocations: 0 / 379.2 MB, free: 1.406 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.001538/0.0124, allocations: 0.9395 MB / 380.1 MB, free: 436 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.01244, allocations: 11.98 kB / 380.1 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.0126, allocations: 100.5 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.01327, allocations: 467.2 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.0133, allocations: 29.38 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.626e-05/0.01338, allocations: 40.38 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.0139, allocations: 455.1 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.01392, allocations: 7.922 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.01395, allocations: 20 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.01398, allocations: 17 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.01429, allocations: 231.4 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.01606, allocations: 1.974 MB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.01645, allocations: 284 kB / 383.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.01665, allocations: 160.5 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.01667, allocations: 4 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.01694, allocations: 289.5 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.01694, allocations: 8 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001374/0.01831, allocations: 1.019 MB / 385.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.355e-05/0.01841, allocations: 170.2 kB / 385.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.01871, allocations: 434.6 kB / 385.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.01874, allocations: 33.7 kB / 385.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.0189, allocations: 347 kB / 386.2 MB, free: 9.996 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.01905, allocations: 123 kB / 386.3 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.01917, allocations: 99.8 kB / 386.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.01931, allocations: 0.5313 MB / 386.9 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.01942, allocations: 98.78 kB / 387 MB, free: 9.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.01962, allocations: 327.1 kB / 387.3 MB, free: 8.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.01996, allocations: 449.2 kB / 387.8 MB, free: 8.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01996, allocations: 4 kB / 387.8 MB, free: 8.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005595/0.02052, allocations: 472.7 kB / 388.2 MB, free: 7.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.02056, allocations: 37.69 kB / 388.3 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.02057, allocations: 8.062 kB / 388.3 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.02059, allocations: 15.94 kB / 388.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.02091, allocations: 111.8 kB / 388.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.02093, allocations: 8 kB / 388.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.0211, allocations: 19.95 kB / 388.4 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.02114, allocations: 39.91 kB / 388.5 MB, free: 7.418 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.0001502/0.02129, allocations: 222.1 kB / 388.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.02135, allocations: 63.72 kB / 388.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.02178, allocations: 409.5 kB / 389.1 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.02179, allocations: 7.938 kB / 389.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.02179, allocations: 0 / 389.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.0218, allocations: 3.984 kB / 389.2 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009824/0.02278, allocations: 0.8717 MB / 390 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.02278, allocations: 4 kB / 390 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.02297, allocations: 63.91 kB / 390.1 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.02298, allocations: 8 kB / 390.1 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.023, allocations: 8 kB / 390.1 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.023, allocations: 4 kB / 390.1 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.023, allocations: 3.984 kB / 390.1 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/0.02361, allocations: 0.7 MB / 390.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.02373, allocations: 63.62 kB / 390.9 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.02376, allocations: 11.94 kB / 390.9 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.02387, allocations: 19.92 kB / 390.9 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.02394, allocations: 23.95 kB / 390.9 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.02398, allocations: 36 kB / 391 MB, free: 4.766 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.02416, allocations: 271.1 kB / 391.2 MB, free: 4.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02416, allocations: 0 / 391.2 MB, free: 4.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004756/0.02464, allocations: 100 kB / 391.3 MB, free: 4.406 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.0003233/0.02496, allocations: 115.2 kB / 391.4 MB, free: 4.285 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004533/0.02541, allocations: 380.2 kB / 391.8 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.02542, allocations: 0 / 391.8 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.0256, allocations: 236.8 kB / 392.1 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.02604, allocations: 104.5 kB / 392.2 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.0277, allocations: 0.9332 MB / 393.1 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.0278, allocations: 153.7 kB / 393.2 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002/0.028, allocations: 80.31 kB / 393.3 MB, free: 2.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.02808, allocations: 36.48 kB / 393.4 MB, free: 2.258 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02808, allocations: 4 kB / 393.4 MB, free: 2.254 MB / 362.7 MB Notification: Performance of Templates: time 0.00746/0.03554, allocations: 4.365 MB / 397.7 MB, free: 13.98 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.123783614952117]