Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.0009672/0.0009672, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001095/0.001095, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2337/0.2337, allocations: 29.41 MB / 291.2 MB, free: 2.422 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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.959e-05, allocations: 2.969 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.003985/0.004004, allocations: 3.822 MB / 320.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.005348, allocations: 0.8927 MB / 321.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.005505, allocations: 19.81 kB / 321.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.005663, allocations: 39.69 kB / 321.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.006072, allocations: 167 kB / 321.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.006242, allocations: 83.7 kB / 321.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.00659, allocations: 386.5 kB / 322.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.006728, allocations: 62.69 kB / 322.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004653/0.007193, allocations: 275.2 kB / 322.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.007415, allocations: 123.6 kB / 322.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.007449, allocations: 16 kB / 322.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.232e-05/0.007482, allocations: 16 kB / 322.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.293e-05/0.007575, allocations: 87.73 kB / 322.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.362e-05/0.007658, allocations: 87.77 kB / 322.9 MB, free: 9.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.007878, allocations: 163.4 kB / 323.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.00788, allocations: 4 kB / 323.1 MB, free: 9.738 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.007881, allocations: 0 / 323.1 MB, free: 9.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.007887, allocations: 0 / 323.1 MB, free: 9.738 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000514/0.008401, allocations: 476.4 kB / 323.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.008435, allocations: 15.98 kB / 323.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.008485, allocations: 36.91 kB / 323.6 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.00877, allocations: 245.2 kB / 323.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.008792, allocations: 20.88 kB / 323.9 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.008825, allocations: 24.38 kB / 323.9 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.009034, allocations: 198.8 kB / 324.1 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.009045, allocations: 4 kB / 324.1 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.00906, allocations: 8 kB / 324.1 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.009069, allocations: 4 kB / 324.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/0.009153, allocations: 63.62 kB / 324.2 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/0.009923, allocations: 0.9904 MB / 325.2 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.213e-05/0.01002, allocations: 53.08 kB / 325.2 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.01004, allocations: 29.7 kB / 325.2 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.01006, allocations: 4 kB / 325.2 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.01009, allocations: 34.56 kB / 325.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/0.01009, allocations: 0 / 325.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002148/0.0103, allocations: 97.55 kB / 325.4 MB, free: 7.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.01034, allocations: 77.11 kB / 325.4 MB, free: 7.184 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.01047, allocations: 229 kB / 325.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.01047, allocations: 25.7 kB / 325.7 MB, free: 6.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.01054, allocations: 183.8 kB / 325.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.01057, allocations: 27.78 kB / 325.9 MB, free: 6.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.01061, allocations: 45.64 kB / 325.9 MB, free: 6.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.0107, allocations: 330.8 kB / 326.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.01072, allocations: 19.92 kB / 326.3 MB, free: 6.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.01078, allocations: 99.94 kB / 326.4 MB, free: 6.156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.01088, allocations: 135.8 kB / 326.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01088, allocations: 0 / 326.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001326/0.01101, allocations: 145.3 kB / 326.7 MB, free: 5.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01103, allocations: 8 kB / 326.7 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01103, allocations: 0 / 326.7 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.01105, allocations: 7.938 kB / 326.7 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.01119, allocations: 43.92 kB / 326.7 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.0112, allocations: 8.391 kB / 326.7 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.01125, allocations: 27.83 kB / 326.8 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.01126, allocations: 4 kB / 326.8 MB, free: 5.734 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (21): * Single equations (assignments): 21 * 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 7.28e-05/0.01133, allocations: 120.6 kB / 326.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.01136, allocations: 15.97 kB / 326.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.1e-05/0.01145, allocations: 75.39 kB / 327 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01145, allocations: 0 / 327 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.01145, allocations: 0 / 327 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01146, allocations: 0 / 327 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.01158, allocations: 129.7 kB / 327.1 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01158, allocations: 4 kB / 327.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/0.01166, allocations: 18.91 kB / 327.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01167, allocations: 4 kB / 327.1 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.01167, allocations: 4 kB / 327.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01168, allocations: 0 / 327.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01168, allocations: 0 / 327.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.01181, allocations: 188.2 kB / 327.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.01183, allocations: 15.91 kB / 327.3 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.01184, allocations: 0 / 327.3 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.259e-05/0.01189, allocations: 4 kB / 327.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.0119, allocations: 7.984 kB / 327.3 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.01191, allocations: 4.031 kB / 327.3 MB, free: 5.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.075e-05/0.01196, allocations: 70.78 kB / 327.4 MB, free: 5.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01196, allocations: 0 / 327.4 MB, free: 5.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001821/0.01214, allocations: 51.89 kB / 327.5 MB, free: 4.984 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * 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 7.761e-05/0.01222, allocations: 80.34 kB / 327.5 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.01232, allocations: 69.2 kB / 327.6 MB, free: 4.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.01232, allocations: 256 / 327.6 MB, free: 4.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.01235, allocations: 28.84 kB / 327.6 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.01259, allocations: 49.11 kB / 327.7 MB, free: 4.754 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/0.01348, allocations: 485.4 kB / 328.2 MB, free: 4.246 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.565e-05/0.01355, allocations: 92.31 kB / 328.2 MB, free: 4.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.551e-05/0.01362, allocations: 25.92 kB / 328.3 MB, free: 4.109 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.01371, allocations: 95.28 kB / 328.4 MB, free: 4.016 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01371, allocations: 0 / 328.4 MB, free: 4.016 MB / 298.7 MB Notification: Performance of Templates: time 0.004012/0.01773, allocations: 1.968 MB / 330.3 MB, free: 2.102 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8126943218521774]