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.0007936/0.0007936, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.00315/0.00315, allocations: 159.9 kB / 24.7 MB, free: 9.434 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.8732/0.8732, allocations: 177.1 MB / 205 MB, free: 5.719 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.2252/0.2252, allocations: 29.41 MB / 290.8 MB, free: 2.426 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=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.724e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.003406/0.003433, allocations: 3.859 MB / 435.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.004586, allocations: 0.8647 MB / 436.2 MB, free: 8.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.004716, allocations: 15.88 kB / 436.2 MB, free: 8.324 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.004875, allocations: 43.58 kB / 436.3 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.005252, allocations: 167 kB / 436.4 MB, free: 8.117 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.005385, allocations: 87.75 kB / 436.5 MB, free: 8.031 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.005666, allocations: 386.5 kB / 436.9 MB, free: 7.652 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.005823, allocations: 60.73 kB / 436.9 MB, free: 7.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.006098, allocations: 239.2 kB / 437.2 MB, free: 7.355 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.006293, allocations: 139.6 kB / 437.3 MB, free: 7.219 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.00632, allocations: 19.98 kB / 437.3 MB, free: 7.199 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.702e-05/0.006347, allocations: 20 kB / 437.4 MB, free: 7.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.657e-05/0.006424, allocations: 87.72 kB / 437.4 MB, free: 7.094 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.6e-05/0.0065, allocations: 83.77 kB / 437.5 MB, free: 7.012 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.006725, allocations: 247.2 kB / 437.8 MB, free: 6.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.006727, allocations: 4 kB / 437.8 MB, free: 6.766 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006727, allocations: 0 / 437.8 MB, free: 6.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006732, allocations: 0 / 437.8 MB, free: 6.766 MB / 410.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.0005895/0.007322, allocations: 0.4983 MB / 438.3 MB, free: 6.234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.007354, allocations: 11.98 kB / 438.3 MB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.007403, allocations: 32.75 kB / 438.3 MB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.007711, allocations: 252.3 kB / 438.6 MB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.007728, allocations: 16.88 kB / 438.6 MB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.007757, allocations: 20.38 kB / 438.6 MB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.008015, allocations: 282.6 kB / 438.9 MB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.008024, allocations: 0 / 438.9 MB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.00804, allocations: 4 kB / 438.9 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.008047, allocations: 8 kB / 438.9 MB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.008219, allocations: 167.8 kB / 439 MB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.00897, allocations: 1.052 MB / 440.1 MB, free: 4.277 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.009073, allocations: 81.05 kB / 440.2 MB, free: 4.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.00911, allocations: 37.8 kB / 440.2 MB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.009121, allocations: 0 / 440.2 MB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.009143, allocations: 34.56 kB / 440.2 MB, free: 4.094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.009144, allocations: 4 kB / 440.2 MB, free: 4.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004823/0.009626, allocations: 340.2 kB / 440.6 MB, free: 3.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.009661, allocations: 77.11 kB / 440.7 MB, free: 3.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.009799, allocations: 241.9 kB / 440.9 MB, free: 3.383 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.009811, allocations: 33.7 kB / 440.9 MB, free: 3.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.009893, allocations: 187.9 kB / 441.1 MB, free: 3.156 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.855e-05/0.009912, allocations: 35.67 kB / 441.1 MB, free: 3.121 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.009952, allocations: 33.72 kB / 441.2 MB, free: 3.082 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.01003, allocations: 342.8 kB / 441.5 MB, free: 2.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.01006, allocations: 19.98 kB / 441.5 MB, free: 2.719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.01014, allocations: 120.9 kB / 441.6 MB, free: 2.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.01026, allocations: 180.7 kB / 441.8 MB, free: 2.332 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.01026, allocations: 0 / 441.8 MB, free: 2.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001573/0.01042, allocations: 181.2 kB / 442 MB, free: 2.148 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.01043, allocations: 8 kB / 442 MB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01044, allocations: 4 kB / 442 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01045, allocations: 4 kB / 442 MB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.01054, allocations: 44.36 kB / 442.1 MB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.01055, allocations: 11.98 kB / 442.1 MB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.0106, allocations: 7.938 kB / 442.1 MB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.01061, allocations: 12 kB / 442.1 MB, free: 2.059 MB / 410.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 (22): * Single equations (assignments): 22 * 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.398e-05/0.0107, allocations: 145.7 kB / 442.2 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.01072, allocations: 23.86 kB / 442.3 MB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.01083, allocations: 91.45 kB / 442.3 MB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01083, allocations: 0 / 442.3 MB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.01083, allocations: 7.984 kB / 442.4 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01084, allocations: 7.875 kB / 442.4 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.01109, allocations: 343 kB / 442.7 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01109, allocations: 4 kB / 442.7 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.326e-05/0.01115, allocations: 15.94 kB / 442.7 MB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.01115, allocations: 3.938 kB / 442.7 MB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.01116, allocations: 4 kB / 442.7 MB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01116, allocations: 3.938 kB / 442.7 MB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01116, allocations: 0 / 442.7 MB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.01159, allocations: 225 kB / 442.9 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.01161, allocations: 24.31 kB / 443 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.01162, allocations: 4 kB / 443 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.385e-05/0.01167, allocations: 8.031 kB / 443 MB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.01168, allocations: 11.98 kB / 443 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.01169, allocations: 4 kB / 443 MB, free: 1.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.585e-05/0.01177, allocations: 165.3 kB / 443.2 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01177, allocations: 3.938 kB / 443.2 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001839/0.01196, allocations: 40 kB / 443.2 MB, free: 0.8672 MB / 410.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 (9): * Single equations (assignments): 8 * 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.177e-05/0.01203, allocations: 95.19 kB / 443.3 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.01215, allocations: 88.52 kB / 443.4 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01215, allocations: 0 / 443.4 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.01219, allocations: 31.92 kB / 443.4 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.01247, allocations: 47.39 kB / 443.5 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.01303, allocations: 498 kB / 443.9 MB, free: 84 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1506/0.1636, allocations: 145 kB / 444.1 MB, free: 54.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.1637, allocations: 24.16 kB / 444.1 MB, free: 54.59 MB / 410.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1637, allocations: 3.156 kB / 444.1 MB, free: 54.59 MB / 410.7 MB Notification: Performance of Templates: time 0.002688/0.1664, allocations: 2.746 MB / 446.9 MB, free: 54.47 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.589107014238834] Failed to read output from testmodel.py, exit status != 0: 0.17151864245533943 0.177647101 0.16957750100000002 Calling exit ...