Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001018/0.001018, allocations: 83.59 kB / 21.18 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.001136/0.001136, allocations: 165 kB / 24.56 MB, free: 12 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.9893/0.9893, allocations: 177.1 MB / 205 MB, free: 5.609 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.239/0.239, allocations: 29.42 MB / 290.9 MB, free: 2.438 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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.636e-05, allocations: 6.312 kB / 369.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004302/0.004328, allocations: 3.935 MB / 373.6 MB, free: 6.988 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.005662, allocations: 0.8491 MB / 374.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.005906, allocations: 15.88 kB / 374.5 MB, free: 6.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.006131, allocations: 51.5 kB / 374.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004853/0.006616, allocations: 167 kB / 374.7 MB, free: 5.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.006821, allocations: 79.83 kB / 374.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005465/0.007368, allocations: 418.4 kB / 375.2 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.00754, allocations: 62.7 kB / 375.2 MB, free: 5.363 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000489/0.008029, allocations: 283.2 kB / 375.5 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.008279, allocations: 143.6 kB / 375.6 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.008312, allocations: 20 kB / 375.7 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.116e-05/0.008343, allocations: 16 kB / 375.7 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.008443, allocations: 95.66 kB / 375.8 MB, free: 4.816 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.413e-05/0.008537, allocations: 99.75 kB / 375.9 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.008944, allocations: 207.2 kB / 376.1 MB, free: 4.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.008948, allocations: 0 / 376.1 MB, free: 4.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.008949, allocations: 0 / 376.1 MB, free: 4.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.008955, allocations: 0 / 376.1 MB, free: 4.516 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.0006455/0.0096, allocations: 0.6138 MB / 376.7 MB, free: 3.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.009638, allocations: 11.98 kB / 376.7 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.009711, allocations: 52.7 kB / 376.7 MB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.01001, allocations: 287.3 kB / 377 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.01003, allocations: 20.88 kB / 377 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.01011, allocations: 28.75 kB / 377.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.01039, allocations: 257.6 kB / 377.3 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.01039, allocations: 0 / 377.3 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.01041, allocations: 8 kB / 377.3 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.01042, allocations: 4 kB / 377.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.01056, allocations: 99.8 kB / 377.4 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009934/0.01155, allocations: 1.468 MB / 378.9 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.01175, allocations: 129.2 kB / 379 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.01179, allocations: 43.11 kB / 379.1 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.01181, allocations: 0 / 379.1 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.01183, allocations: 41.33 kB / 379.1 MB, free: 1.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.01183, allocations: 0 / 379.1 MB, free: 1.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006018/0.01243, allocations: 440.2 kB / 379.5 MB, free: 0.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.01247, allocations: 106.8 kB / 379.6 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.01264, allocations: 296.2 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.01265, allocations: 25.7 kB / 380 MB, free: 288 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.734e-05/0.01275, allocations: 242.9 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.01279, allocations: 47.67 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.01284, allocations: 51.28 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.01296, allocations: 0.504 MB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.01301, allocations: 24.22 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.0131, allocations: 158.3 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.01325, allocations: 207 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.01325, allocations: 0 / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002486/0.0135, allocations: 212.8 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01352, allocations: 8.406 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01352, allocations: 8 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.234e-05/0.0136, allocations: 27.61 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.01377, allocations: 59.95 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01378, allocations: 7.938 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.01384, allocations: 4 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.01385, allocations: 15.98 kB / 381.5 MB, free: 14.57 MB / 362.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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.563e-05/0.01393, allocations: 168.5 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.01397, allocations: 27.86 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.01412, allocations: 127.3 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01413, allocations: 4 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.01413, allocations: 7.984 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01413, allocations: 0 / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.01434, allocations: 212.4 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01434, allocations: 0 / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.01442, allocations: 31.92 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01443, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.01444, allocations: 7.984 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.01444, allocations: 4 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01444, allocations: 4 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.0147, allocations: 430.5 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.01472, allocations: 23.8 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.01474, allocations: 8 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.01481, allocations: 0 / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.01483, allocations: 15.97 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01484, allocations: 4 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.534e-05/0.01494, allocations: 197.1 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01494, allocations: 0 / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.01515, allocations: 48 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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 9.5e-05/0.01525, allocations: 99.22 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.01545, allocations: 119.6 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01545, allocations: 0 / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.0155, allocations: 51.59 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.01581, allocations: 56.83 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009085/0.01672, allocations: 0.556 MB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.556e-05/0.01678, allocations: 92.3 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.574e-05/0.01684, allocations: 30.3 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.01689, allocations: 24.48 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01689, allocations: 0 / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Templates: time 0.0039/0.02079, allocations: 2.399 MB / 386.2 MB, free: 9.758 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.899162882938981]