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.0007926/0.0007926, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003138/0.003138, allocations: 159.6 kB / 24.7 MB, free: 8.887 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.8749/0.8749, allocations: 177.1 MB / 205 MB, free: 5.738 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.2219/0.2219, allocations: 29.41 MB / 290.8 MB, free: 2.414 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=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.038e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004175/0.004205, allocations: 4.007 MB / 435.5 MB, free: 9.066 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.005475, allocations: 0.8374 MB / 436.3 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.005669, allocations: 15.88 kB / 436.3 MB, free: 8.211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.005865, allocations: 51.5 kB / 436.4 MB, free: 8.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.006359, allocations: 170.8 kB / 436.6 MB, free: 7.992 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.006564, allocations: 87.81 kB / 436.6 MB, free: 7.906 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.006951, allocations: 418.3 kB / 437.1 MB, free: 7.496 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.007136, allocations: 66.69 kB / 437.1 MB, free: 7.426 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.007511, allocations: 251.2 kB / 437.4 MB, free: 7.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.00776, allocations: 155.5 kB / 437.5 MB, free: 7.027 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.007792, allocations: 27.94 kB / 437.5 MB, free: 7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.19e-05/0.007824, allocations: 20 kB / 437.6 MB, free: 6.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-05/0.00792, allocations: 99.64 kB / 437.7 MB, free: 6.883 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.487e-05/0.008015, allocations: 95.75 kB / 437.8 MB, free: 6.789 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.008301, allocations: 283.1 kB / 438 MB, free: 6.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.008305, allocations: 0 / 438 MB, free: 6.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.008306, allocations: 0 / 438 MB, free: 6.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.008314, allocations: 0 / 438 MB, free: 6.512 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007702/0.009084, allocations: 0.5255 MB / 438.6 MB, free: 5.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.009125, allocations: 19.92 kB / 438.6 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.009183, allocations: 32.75 kB / 438.6 MB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.009566, allocations: 277.1 kB / 438.9 MB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.009581, allocations: 12.88 kB / 438.9 MB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.892e-05/0.00967, allocations: 36.73 kB / 438.9 MB, free: 5.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.009991, allocations: 295 kB / 439.2 MB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01, allocations: 0 / 439.2 MB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.01002, allocations: 4 kB / 439.2 MB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.01003, allocations: 8 kB / 439.2 MB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.01024, allocations: 191.5 kB / 439.4 MB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.01129, allocations: 1.153 MB / 440.6 MB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.01154, allocations: 115.8 kB / 440.7 MB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.01159, allocations: 46.64 kB / 440.7 MB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.01161, allocations: 7.984 kB / 440.7 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.01164, allocations: 46.5 kB / 440.8 MB, free: 3.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.01164, allocations: 0 / 440.8 MB, free: 3.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000858/0.0125, allocations: 472.1 kB / 441.2 MB, free: 3.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.01256, allocations: 106.8 kB / 441.3 MB, free: 2.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.01275, allocations: 245.8 kB / 441.6 MB, free: 2.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.01276, allocations: 29.7 kB / 441.6 MB, free: 2.652 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.01287, allocations: 196.1 kB / 441.8 MB, free: 2.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.0129, allocations: 35.95 kB / 441.8 MB, free: 2.422 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.01295, allocations: 53.64 kB / 441.9 MB, free: 2.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.01304, allocations: 334.8 kB / 442.2 MB, free: 2.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.304e-05/0.0131, allocations: 39.97 kB / 442.3 MB, free: 1.988 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-05/0.01319, allocations: 128 kB / 442.4 MB, free: 1.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.01336, allocations: 187.8 kB / 442.6 MB, free: 1.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01336, allocations: 0 / 442.6 MB, free: 1.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003191/0.01368, allocations: 238.2 kB / 442.8 MB, free: 1.352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.0137, allocations: 8 kB / 442.8 MB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.01371, allocations: 4 kB / 442.8 MB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.01383, allocations: 28.83 kB / 442.8 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.01401, allocations: 59.89 kB / 442.9 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.01403, allocations: 4 kB / 442.9 MB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-05/0.01411, allocations: 11.94 kB / 442.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.01412, allocations: 11.94 kB / 442.9 MB, free: 1.223 MB / 410.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 0.0001288/0.01425, allocations: 158 kB / 443.1 MB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.01429, allocations: 23.84 kB / 443.1 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.0145, allocations: 147.2 kB / 443.2 MB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.0145, allocations: 0 / 443.2 MB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01451, allocations: 4 kB / 443.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01451, allocations: 0 / 443.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.01474, allocations: 209.2 kB / 443.5 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01474, allocations: 0 / 443.5 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.429e-05/0.01483, allocations: 23.98 kB / 443.5 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01484, allocations: 8 kB / 443.5 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.01485, allocations: 4 kB / 443.5 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.01485, allocations: 8.016 kB / 443.5 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.01486, allocations: 3.984 kB / 443.5 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.01515, allocations: 363.4 kB / 443.9 MB, free: 220 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.01517, allocations: 23.88 kB / 443.9 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.01519, allocations: 0 / 443.9 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.01527, allocations: 8 kB / 443.9 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.01529, allocations: 7.984 kB / 443.9 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.0153, allocations: 4 kB / 443.9 MB, free: 176 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.01542, allocations: 173.3 kB / 444.1 MB, free: 4 kB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01542, allocations: 4.094 kB / 444.1 MB, free: 0 / 410.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.01581, allocations: 45.36 kB / 444.1 MB, free: 54.26 MB / 410.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 0.0001615/0.01597, allocations: 103 kB / 444.2 MB, free: 54.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.01634, allocations: 122.2 kB / 444.3 MB, free: 54.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01634, allocations: 2.062 kB / 444.3 MB, free: 54.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.0164, allocations: 47.42 kB / 444.4 MB, free: 54.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.01681, allocations: 62.16 kB / 444.4 MB, free: 54.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.01757, allocations: 0.5627 MB / 445 MB, free: 53.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.01767, allocations: 166.3 kB / 445.2 MB, free: 53.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.01771, allocations: 26.69 kB / 445.2 MB, free: 53.8 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01772, allocations: 0 / 445.2 MB, free: 53.8 MB / 410.7 MB Notification: Performance of Templates: time 0.003507/0.02122, allocations: 3.647 MB / 448.8 MB, free: 53.58 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0261757941916585] Failed to read output from testmodel.py, exit status != 0: 0.2096455069258809 0.219070647 0.20875268900000002 Calling exit ...