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.001433/0.001433, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001802/0.001802, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9872/0.9872, allocations: 177.1 MB / 206 MB, free: 4.488 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.1222/0.1222, allocations: 29.43 MB / 292 MB, free: 2.633 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 2.074e-06/2.074e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.894e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005357/0.005386, allocations: 3.904 MB / 374.8 MB, free: 28.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.007046, allocations: 0.896 MB / 375.7 MB, free: 27.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.007251, allocations: 19.81 kB / 375.7 MB, free: 27.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.007461, allocations: 47.56 kB / 375.7 MB, free: 27.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.008048, allocations: 182.8 kB / 375.9 MB, free: 27.26 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.008295, allocations: 95.8 kB / 376 MB, free: 27.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000465/0.00876, allocations: 418.3 kB / 376.4 MB, free: 26.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.008982, allocations: 78.61 kB / 376.5 MB, free: 26.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004904/0.009473, allocations: 283.3 kB / 376.8 MB, free: 26.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.009748, allocations: 147.5 kB / 376.9 MB, free: 26.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.009792, allocations: 16 kB / 376.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.701e-05/0.009839, allocations: 20 kB / 377 MB, free: 26.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.009942, allocations: 99.72 kB / 377.1 MB, free: 26.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.01005, allocations: 91.77 kB / 377.1 MB, free: 26.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.01033, allocations: 211.1 kB / 377.3 MB, free: 25.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.01034, allocations: 0 / 377.3 MB, free: 25.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01034, allocations: 0 / 377.3 MB, free: 25.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.01035, allocations: 0 / 377.3 MB, free: 25.83 MB / 314.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.0007184/0.01106, allocations: 0.6098 MB / 378 MB, free: 25.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.0111, allocations: 8.031 kB / 378 MB, free: 25.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.01119, allocations: 64.64 kB / 378 MB, free: 25.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.01152, allocations: 270.1 kB / 378.3 MB, free: 24.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.01154, allocations: 24.88 kB / 378.3 MB, free: 24.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.01158, allocations: 20.38 kB / 378.3 MB, free: 24.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.01183, allocations: 238.3 kB / 378.6 MB, free: 24.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.01185, allocations: 4 kB / 378.6 MB, free: 24.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.01187, allocations: 4 kB / 378.6 MB, free: 24.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.01188, allocations: 8 kB / 378.6 MB, free: 24.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.012, allocations: 72.94 kB / 378.7 MB, free: 24.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000992/0.01299, allocations: 1.419 MB / 380.1 MB, free: 22.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.01322, allocations: 106.1 kB / 380.2 MB, free: 22.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.01326, allocations: 35.42 kB / 380.2 MB, free: 22.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.01328, allocations: 0 / 380.2 MB, free: 22.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.0133, allocations: 37.39 kB / 380.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.0133, allocations: 0 / 380.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005536/0.01385, allocations: 305.1 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.01388, allocations: 81.05 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.01404, allocations: 300.1 kB / 380.9 MB, free: 21.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.01405, allocations: 25.7 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.01414, allocations: 246.8 kB / 381.2 MB, free: 21.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.01417, allocations: 43.67 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.01424, allocations: 51.3 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.01431, allocations: 0.5079 MB / 381.8 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.585e-05/0.01434, allocations: 16.11 kB / 381.8 MB, free: 21.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.895e-05/0.01443, allocations: 161.6 kB / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.01458, allocations: 199.1 kB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01458, allocations: 0 / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002172/0.0148, allocations: 173.6 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01482, allocations: 8 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01483, allocations: 4 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.01484, allocations: 4 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.01498, allocations: 51.91 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.01498, allocations: 4 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.01508, allocations: 4 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.01509, allocations: 12 kB / 382.4 MB, free: 20.3 MB / 314.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.186e-05/0.01517, allocations: 180.4 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.01522, allocations: 23.86 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.01538, allocations: 111.3 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01539, allocations: 4 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.01539, allocations: 0 / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.0154, allocations: 3.984 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.01573, allocations: 389.5 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01574, allocations: 0 / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.01585, allocations: 24 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01585, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01586, allocations: 3.984 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.01587, allocations: 8 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01587, allocations: 4.031 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.0161, allocations: 290.9 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.01613, allocations: 19.84 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.01615, allocations: 8 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.01625, allocations: 0 / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.01627, allocations: 7.984 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.01628, allocations: 4 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.256e-05/0.01636, allocations: 197.1 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01636, allocations: 0 / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003/0.01666, allocations: 44 kB / 383.7 MB, free: 18.92 MB / 314.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 0.0001196/0.01678, allocations: 111.1 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.01695, allocations: 87.45 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01696, allocations: 0 / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.01701, allocations: 43.59 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.01749, allocations: 55.98 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.01867, allocations: 0.5113 MB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.872e-05/0.01874, allocations: 96.3 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.696e-05/0.01884, allocations: 30.28 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.01897, allocations: 118.2 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01897, allocations: 3.938 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of Templates: time 0.005418/0.02438, allocations: 2.271 MB / 387 MB, free: 15.6 MB / 314.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: 3.1513794432394207]