Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 108.7 kB / 16.68 MB, free: 6.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 186 kB / 17.61 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.3 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04688/0.04688, allocations: 8.099 MB / 299.5 MB, free: 6.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 361.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2275, allocations: 51.52 MB / 413.4 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002515/0.23, allocations: 1.615 MB / 415 MB, free: 24.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.2318, allocations: 1.536 MB / 416.5 MB, free: 22.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.2319, allocations: 4 kB / 416.5 MB, free: 22.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.2322, allocations: 103.6 kB / 416.6 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.2325, allocations: 95.44 kB / 416.7 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.2337, allocations: 0.8562 MB / 417.6 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.234, allocations: 246.8 kB / 417.8 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.2341, allocations: 72.23 kB / 417.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.2342, allocations: 91.64 kB / 418 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.2344, allocations: 131.4 kB / 418.1 MB, free: 21.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.2344, allocations: 20 kB / 418.1 MB, free: 21.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003244/0.2347, allocations: 207.8 kB / 418.3 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.2348, allocations: 43.86 kB / 418.4 MB, free: 20.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.248e-05/0.2349, allocations: 119.3 kB / 418.5 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.2351, allocations: 285.3 kB / 418.8 MB, free: 20.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2351, allocations: 0 / 418.8 MB, free: 20.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2351, allocations: 0 / 418.8 MB, free: 20.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2352, allocations: 0 / 418.8 MB, free: 20.37 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002178/0.2373, allocations: 0.8188 MB / 419.6 MB, free: 19.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2374, allocations: 11.89 kB / 419.6 MB, free: 19.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.2375, allocations: 24.66 kB / 419.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.2377, allocations: 244.5 kB / 419.9 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2377, allocations: 16.7 kB / 419.9 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.2378, allocations: 16.38 kB / 419.9 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.2381, allocations: 264 kB / 420.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2382, allocations: 192 / 420.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.2382, allocations: 19.92 kB / 420.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2382, allocations: 4 kB / 420.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.2385, allocations: 247.8 kB / 420.4 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2398, allocations: 1.121 MB / 421.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.2403, allocations: 310.4 kB / 421.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.2405, allocations: 156.8 kB / 422 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.857e-05/0.2406, allocations: 7.984 kB / 422 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.2406, allocations: 34.56 kB / 422.1 MB, free: 16.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.2406, allocations: 0 / 422.1 MB, free: 16.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002891/0.2435, allocations: 0.9768 MB / 423 MB, free: 15.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.2436, allocations: 51.41 kB / 423.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.2437, allocations: 194.4 kB / 423.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.2438, allocations: 33.7 kB / 423.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.2438, allocations: 132.4 kB / 423.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.2439, allocations: 78.75 kB / 423.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.244, allocations: 69.59 kB / 423.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.244, allocations: 334.8 kB / 423.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.2442, allocations: 152 kB / 424.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.2444, allocations: 157.1 kB / 424.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.2448, allocations: 350.3 kB / 424.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2448, allocations: 0 / 424.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001317/0.2462, allocations: 0.6382 MB / 425.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2462, allocations: 4 kB / 425.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2462, allocations: 4 kB / 425.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.2475, allocations: 328.5 kB / 425.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.2477, allocations: 59.91 kB / 425.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/0.2513, allocations: 2.742 MB / 428.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.2515, allocations: 31.69 kB / 428.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2516, allocations: 8 kB / 428.4 MB, free: 10.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.2517, allocations: 137.7 kB / 428.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.2518, allocations: 19.81 kB / 428.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.2532, allocations: 0.6286 MB / 429.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2532, allocations: 7.938 kB / 429.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2532, allocations: 3.938 kB / 429.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2532, allocations: 0 / 429.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.2535, allocations: 389.2 kB / 429.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2535, allocations: 0 / 429.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.2536, allocations: 31.92 kB / 429.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.2549, allocations: 312.5 kB / 429.9 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.2549, allocations: 8 kB / 429.9 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003041/0.258, allocations: 2.731 MB / 432.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.258, allocations: 3.938 kB / 432.6 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.2593, allocations: 0.6805 MB / 433.3 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.2593, allocations: 100.8 kB / 433.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.2594, allocations: 4 kB / 433.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.2596, allocations: 15.98 kB / 433.4 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.2597, allocations: 19.97 kB / 433.4 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.2597, allocations: 8 kB / 433.4 MB, free: 5.004 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.2598, allocations: 147.1 kB / 433.6 MB, free: 4.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2598, allocations: 0 / 433.6 MB, free: 4.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000469/0.2603, allocations: 99.94 kB / 433.7 MB, free: 4.762 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000205/0.2605, allocations: 119.2 kB / 433.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.2619, allocations: 0.639 MB / 434.4 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2619, allocations: 0 / 434.4 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009081/0.2628, allocations: 438.4 kB / 434.9 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.2632, allocations: 27.92 kB / 434.9 MB, free: 3.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/0.264, allocations: 0.6004 MB / 435.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.2642, allocations: 0.7446 MB / 436.2 MB, free: 2.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.2642, allocations: 27.42 kB / 436.3 MB, free: 2.09 MB / 302.1 MB Notification: Performance of SimCode: time 5.62e-07/0.2643, allocations: 0 / 436.3 MB, free: 2.09 MB / 302.1 MB Notification: Performance of Templates: time 0.006544/0.2708, allocations: 4.516 MB / 440.8 MB, free: 13.57 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)