Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.0009423/0.0009423, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009834/0.0009834, allocations: 165 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 1.006/1.006, allocations: 177.2 MB / 205 MB, free: 5.297 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.2682/0.2682, allocations: 29.41 MB / 290.9 MB, free: 2.383 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.098e-05, allocations: 9.406 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.003836/0.003857, allocations: 3.916 MB / 373.6 MB, free: 7.039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.005063, allocations: 0.9117 MB / 374.5 MB, free: 6.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.005221, allocations: 15.81 kB / 374.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.005386, allocations: 43.62 kB / 374.5 MB, free: 6.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.005819, allocations: 186.8 kB / 374.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.005998, allocations: 99.75 kB / 374.8 MB, free: 5.785 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004922/0.00649, allocations: 410.3 kB / 375.2 MB, free: 5.383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.006662, allocations: 74.64 kB / 375.3 MB, free: 5.316 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.007043, allocations: 287.2 kB / 375.6 MB, free: 5.035 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.007223, allocations: 143.6 kB / 375.7 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.007254, allocations: 20 kB / 375.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.15e-05/0.007286, allocations: 20 kB / 375.7 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.007363, allocations: 95.67 kB / 375.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/0.00746, allocations: 95.75 kB / 375.9 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.007675, allocations: 211.2 kB / 376.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.007677, allocations: 0 / 376.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007678, allocations: 3.938 kB / 376.1 MB, free: 4.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.007683, allocations: 0 / 376.1 MB, free: 4.457 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006139/0.008297, allocations: 0.6099 MB / 376.8 MB, free: 3.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.008332, allocations: 15.98 kB / 376.8 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.00841, allocations: 56.7 kB / 376.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.008699, allocations: 286 kB / 377.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.008714, allocations: 12.88 kB / 377.1 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.008748, allocations: 20.38 kB / 377.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.009014, allocations: 246.4 kB / 377.4 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.009023, allocations: 0 / 377.4 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.009044, allocations: 19.92 kB / 377.4 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.009055, allocations: 8 kB / 377.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.009185, allocations: 84.94 kB / 377.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009863/0.01017, allocations: 1.415 MB / 378.9 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.01039, allocations: 106.2 kB / 379 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.01044, allocations: 39.36 kB / 379 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.01045, allocations: 4 kB / 379.1 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.01048, allocations: 33.39 kB / 379.1 MB, free: 1.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.01048, allocations: 0 / 379.1 MB, free: 1.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.000569/0.01105, allocations: 385.1 kB / 379.5 MB, free: 0.875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.01108, allocations: 85.03 kB / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.01125, allocations: 296.2 kB / 379.8 MB, free: 480 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.01127, allocations: 29.7 kB / 379.9 MB, free: 444 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01138, allocations: 242.9 kB / 380.1 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.0114, allocations: 47.58 kB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.01145, allocations: 47.36 kB / 380.2 MB, free: 88 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.01157, allocations: 0.504 MB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/0.01161, allocations: 19.98 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.964e-05/0.0117, allocations: 162.2 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.01185, allocations: 211 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01186, allocations: 0 / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001878/0.01204, allocations: 185.5 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01206, allocations: 8.094 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01206, allocations: 4 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.01207, allocations: 4 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.01217, allocations: 51.91 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.01218, allocations: 4 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.01224, allocations: 4 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.01226, allocations: 16 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 8.556e-05/0.01235, allocations: 168.5 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.01238, allocations: 35.8 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.01252, allocations: 122.6 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.01253, allocations: 0 / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01253, allocations: 4 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01253, allocations: 4 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.01307, allocations: 436.9 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01307, allocations: 0 / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.01314, allocations: 23.94 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01315, allocations: 0 / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01316, allocations: 11.98 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01316, allocations: 0 / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01316, allocations: 0 / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.01337, allocations: 303.1 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.01339, allocations: 23.84 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01341, allocations: 4 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.01346, allocations: 0 / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.01349, allocations: 11.98 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.01349, allocations: 4 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.184e-05/0.01359, allocations: 201.1 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01359, allocations: 0 / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.01379, allocations: 44 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.177e-05/0.01387, allocations: 103.3 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.01402, allocations: 94.7 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01402, allocations: 4 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.724e-05/0.01407, allocations: 43.55 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.01438, allocations: 57.67 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.01534, allocations: 0.521 MB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.428e-05/0.01539, allocations: 96.3 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.443e-05/0.01547, allocations: 34.27 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.01551, allocations: 20.5 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01551, allocations: 0 / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Templates: time 0.003954/0.01946, allocations: 2.176 MB / 385.9 MB, free: 10.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.903823566157371]