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.0006559/0.0006559, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009246/0.001581, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006898/0.0006898, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009426/0.001632, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8779/0.8779, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07654/0.9544, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.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.1314/0.1314, allocations: 29.43 MB / 273.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/0.2356, allocations: 9.53 MB / 283.1 MB, free: 12.83 MB / 282.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.122e-06/1.122e-06, allocations: 3.938 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.664e-06/8.786e-06, allocations: 2.312 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.003641/0.003649, allocations: 4.018 MB / 288.4 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009359/0.004585, allocations: 0.8806 MB / 289.3 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.004703, allocations: 14.47 kB / 289.3 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.004806, allocations: 40.02 kB / 289.4 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.005043, allocations: 168.1 kB / 289.5 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.005177, allocations: 93.42 kB / 289.6 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.005476, allocations: 406.7 kB / 290 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.005608, allocations: 79.19 kB / 290.1 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.005912, allocations: 283.3 kB / 290.4 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.006082, allocations: 141.4 kB / 290.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.00611, allocations: 19.25 kB / 290.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.245e-05/0.006143, allocations: 20.62 kB / 290.6 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.006207, allocations: 79.66 kB / 290.6 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.702e-05/0.006274, allocations: 73.88 kB / 290.7 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.006469, allocations: 188.6 kB / 290.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.006478, allocations: 0 / 290.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006479, allocations: 0 / 290.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.006488, allocations: 3.984 kB / 290.9 MB, free: 7.059 MB / 282.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.0006359/0.007124, allocations: 0.5553 MB / 291.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.007157, allocations: 9.031 kB / 291.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.007237, allocations: 35.44 kB / 291.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.007619, allocations: 259.6 kB / 291.8 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.00764, allocations: 17.84 kB / 291.8 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.007764, allocations: 34.88 kB / 291.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.008054, allocations: 220.4 kB / 292 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.008067, allocations: 3.938 kB / 292 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.008088, allocations: 7.062 kB / 292 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.0081, allocations: 6.562 kB / 292 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.008196, allocations: 79.66 kB / 292.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007644/0.00896, allocations: 1.057 MB / 293.2 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.009105, allocations: 103.9 kB / 293.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.009136, allocations: 28.94 kB / 293.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.009149, allocations: 7.25 kB / 293.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.00917, allocations: 36.16 kB / 293.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.009171, allocations: 0 / 293.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004341/0.009605, allocations: 280.3 kB / 293.6 MB, free: 4.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.00964, allocations: 117.5 kB / 293.7 MB, free: 4.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.009763, allocations: 239 kB / 294 MB, free: 4.496 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.009773, allocations: 27.48 kB / 294 MB, free: 4.465 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.009838, allocations: 177.5 kB / 294.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.009862, allocations: 45.06 kB / 294.2 MB, free: 4.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.009905, allocations: 44.69 kB / 294.3 MB, free: 4.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.009974, allocations: 336.4 kB / 294.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.009997, allocations: 17.7 kB / 294.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.01006, allocations: 107.6 kB / 294.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.01017, allocations: 164.7 kB / 294.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01017, allocations: 5.094 kB / 294.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001851/0.01036, allocations: 166.3 kB / 295 MB, free: 3.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.01037, allocations: 8.312 kB / 295 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01037, allocations: 2.25 kB / 295 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-05/0.01043, allocations: 20.91 kB / 295.1 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.01066, allocations: 79.39 kB / 295.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.01066, allocations: 3.625 kB / 295.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/0.01072, allocations: 16.2 kB / 295.2 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.01073, allocations: 12 kB / 295.2 MB, free: 3.465 MB / 282.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 7.061e-05/0.0108, allocations: 128.8 kB / 295.3 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.01083, allocations: 13.98 kB / 295.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.01095, allocations: 101.6 kB / 295.4 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.01095, allocations: 6.188 kB / 295.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01095, allocations: 10.97 kB / 295.4 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01095, allocations: 0 / 295.4 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.01111, allocations: 140.3 kB / 295.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01111, allocations: 0 / 295.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.01121, allocations: 31.97 kB / 295.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.01123, allocations: 19.86 kB / 295.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01123, allocations: 0 / 295.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.01124, allocations: 4 kB / 295.6 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01124, allocations: 3.984 kB / 295.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01124, allocations: 0 / 295.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.0114, allocations: 294.2 kB / 295.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.01142, allocations: 4 kB / 295.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.01149, allocations: 4 kB / 295.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.01151, allocations: 11.97 kB / 295.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.01151, allocations: 4 kB / 295.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.01e-05/0.01156, allocations: 78.77 kB / 296 MB, free: 2.652 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01156, allocations: 3.938 kB / 296 MB, free: 2.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.01175, allocations: 48 kB / 296.1 MB, free: 2.602 MB / 282.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 5.959e-05/0.01181, allocations: 84.34 kB / 296.1 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.01195, allocations: 107.2 kB / 296.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.01196, allocations: 4 kB / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.01201, allocations: 48.72 kB / 296.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.0124, allocations: 496.8 kB / 296.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.01582, allocations: 0.5507 MB / 297.3 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.162e-05/0.01587, allocations: 96.3 kB / 297.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.567e-05/0.01594, allocations: 30.28 kB / 297.5 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.01605, allocations: 99.28 kB / 297.6 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01605, allocations: 0 / 297.6 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of Templates: time 0.003978/0.02003, allocations: 2.655 MB / 300.2 MB, free: 14.36 MB / 298.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.423556479625404]