Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") translateModel(PowerSysPro.Examples.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 112.8 kB / 16.69 MB, free: 6.285 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.001662/0.001663, allocations: 195.3 kB / 17.61 MB, free: 5.734 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.328/1.328, allocations: 222.9 MB / 241.3 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04872/0.04872, allocations: 8.096 MB / 299.5 MB, free: 6.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 361.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.225, allocations: 51.52 MB / 413.4 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002326/0.2274, allocations: 1.291 MB / 414.7 MB, free: 24.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2287, allocations: 1.244 MB / 415.9 MB, free: 23.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.2288, allocations: 4 kB / 415.9 MB, free: 23.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.2291, allocations: 67.75 kB / 416 MB, free: 23.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.2293, allocations: 43.75 kB / 416 MB, free: 23.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.2299, allocations: 334.8 kB / 416.4 MB, free: 22.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.23, allocations: 123.5 kB / 416.5 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.2301, allocations: 65.7 kB / 416.6 MB, free: 22.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.2302, allocations: 51.8 kB / 416.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.2303, allocations: 71.69 kB / 416.7 MB, free: 22.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2303, allocations: 12 kB / 416.7 MB, free: 22.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.2305, allocations: 111.9 kB / 416.8 MB, free: 22.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.2305, allocations: 23.92 kB / 416.8 MB, free: 22.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.2306, allocations: 63.67 kB / 416.9 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.2308, allocations: 153.6 kB / 417 MB, free: 22.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2308, allocations: 4 kB / 417 MB, free: 22.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2308, allocations: 0 / 417 MB, free: 22.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2308, allocations: 0 / 417 MB, free: 22.11 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007858/0.2316, allocations: 482.9 kB / 417.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2316, allocations: 11.89 kB / 417.5 MB, free: 21.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.2317, allocations: 20.73 kB / 417.5 MB, free: 21.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2318, allocations: 180.2 kB / 417.7 MB, free: 21.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2319, allocations: 8.375 kB / 417.7 MB, free: 21.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.2319, allocations: 16.38 kB / 417.7 MB, free: 21.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.2321, allocations: 138.2 kB / 417.9 MB, free: 21.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2321, allocations: 192 / 417.9 MB, free: 21.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.2321, allocations: 7.938 kB / 417.9 MB, free: 21.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2321, allocations: 4 kB / 417.9 MB, free: 21.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.2323, allocations: 95.95 kB / 418 MB, free: 21.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.2328, allocations: 0.4923 MB / 418.5 MB, free: 20.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.2331, allocations: 98.67 kB / 418.6 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.2332, allocations: 28.8 kB / 418.6 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.947e-05/0.2333, allocations: 93.09 kB / 418.7 MB, free: 20.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2333, allocations: 30.56 kB / 418.7 MB, free: 20.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2333, allocations: 0 / 418.7 MB, free: 20.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005028/0.2338, allocations: 219.7 kB / 418.9 MB, free: 20 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.2338, allocations: 55.41 kB / 419 MB, free: 19.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.234, allocations: 146 kB / 419.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.234, allocations: 25.7 kB / 419.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.234, allocations: 119.6 kB / 419.3 MB, free: 19.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.2341, allocations: 27.64 kB / 419.3 MB, free: 19.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.2341, allocations: 29.7 kB / 419.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.802e-05/0.2342, allocations: 314.8 kB / 419.6 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.214e-05/0.2342, allocations: 31.98 kB / 419.7 MB, free: 19.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.2342, allocations: 31.98 kB / 419.7 MB, free: 19.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.966e-05/0.2343, allocations: 60.86 kB / 419.8 MB, free: 19.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2343, allocations: 192 / 419.8 MB, free: 19.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000217/0.2346, allocations: 142.3 kB / 419.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2346, allocations: 7.984 kB / 419.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2346, allocations: 0 / 419.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.2349, allocations: 32.78 kB / 419.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.2349, allocations: 15.98 kB / 419.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008278/0.2358, allocations: 1.426 MB / 421.4 MB, free: 17.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.253e-05/0.2359, allocations: 7.844 kB / 421.4 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.2359, allocations: 11.94 kB / 421.4 MB, free: 17.33 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 (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.349e-05/0.236, allocations: 117.8 kB / 421.5 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.236, allocations: 8 kB / 421.5 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.2362, allocations: 130.8 kB / 421.6 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.2362, allocations: 4 kB / 421.6 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.2363, allocations: 0 / 421.6 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2363, allocations: 0 / 421.6 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.2364, allocations: 225.5 kB / 421.9 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2364, allocations: 0 / 421.9 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.2365, allocations: 8 kB / 421.9 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.2366, allocations: 36.83 kB / 421.9 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.2366, allocations: 0 / 421.9 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006755/0.2373, allocations: 1.406 MB / 423.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2373, allocations: 0 / 423.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.2375, allocations: 204.2 kB / 423.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.2376, allocations: 85.05 kB / 423.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2376, allocations: 8 kB / 423.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2377, allocations: 12.05 kB / 423.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.2377, allocations: 0 / 423.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2378, allocations: 7.984 kB / 423.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.309e-05/0.2378, allocations: 107.3 kB / 423.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2378, allocations: 4 kB / 423.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000289/0.2381, allocations: 43.84 kB / 423.8 MB, free: 14.69 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 (6): * Single equations (assignments): 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001461/0.2383, allocations: 111.2 kB / 423.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003458/0.2386, allocations: 186.9 kB / 424.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2387, allocations: 0 / 424.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.2388, allocations: 150.6 kB / 424.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.2392, allocations: 27.23 kB / 424.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.2396, allocations: 328.1 kB / 424.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.2397, allocations: 0.7041 MB / 425.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.2398, allocations: 11.44 kB / 425.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2398, allocations: 0 / 425.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of Templates: time 0.003447/0.2432, allocations: 2.141 MB / 427.4 MB, free: 10.96 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)