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.001183/0.001182, allocations: 114.1 kB / 17.09 MB, free: 5.777 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.001338/0.001338, allocations: 196 kB / 18.02 MB, free: 4.953 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.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05204/0.05204, allocations: 8.094 MB / 300 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.88 kB / 363.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2396, allocations: 51.52 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002533/0.2422, allocations: 1.253 MB / 415.9 MB, free: 24.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2434, allocations: 1.251 MB / 417.2 MB, free: 22.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.2435, allocations: 4 kB / 417.2 MB, free: 22.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.2437, allocations: 71.64 kB / 417.3 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.2439, allocations: 55.61 kB / 417.3 MB, free: 22.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.2445, allocations: 358.5 kB / 417.7 MB, free: 22.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.2446, allocations: 123.4 kB / 417.8 MB, free: 22.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2447, allocations: 69.66 kB / 417.9 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.2448, allocations: 47.84 kB / 417.9 MB, free: 22.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.245, allocations: 71.75 kB / 418 MB, free: 22.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.245, allocations: 12 kB / 418 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2452, allocations: 107.8 kB / 418.1 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.2452, allocations: 23.92 kB / 418.1 MB, free: 22.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.2452, allocations: 67.59 kB / 418.2 MB, free: 21.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.2455, allocations: 217.1 kB / 418.4 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2455, allocations: 0 / 418.4 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2455, allocations: 0 / 418.4 MB, free: 21.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.2455, allocations: 0 / 418.4 MB, free: 21.73 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.0008156/0.2463, allocations: 482.9 kB / 418.9 MB, free: 21.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2464, allocations: 11.89 kB / 418.9 MB, free: 21.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.2464, allocations: 16.75 kB / 418.9 MB, free: 21.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.2466, allocations: 184.2 kB / 419.1 MB, free: 20.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2466, allocations: 8.375 kB / 419.1 MB, free: 20.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.2467, allocations: 16.31 kB / 419.1 MB, free: 20.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.2469, allocations: 134.2 kB / 419.2 MB, free: 20.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2469, allocations: 192 / 419.2 MB, free: 20.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.2469, allocations: 7.938 kB / 419.2 MB, free: 20.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2469, allocations: 4 kB / 419.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2471, allocations: 99.89 kB / 419.3 MB, free: 20.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.2477, allocations: 496.2 kB / 419.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.248, allocations: 98.61 kB / 419.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.248, allocations: 28.84 kB / 419.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.2481, allocations: 85.11 kB / 420 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.2481, allocations: 38.55 kB / 420.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2482, allocations: 4 kB / 420.1 MB, free: 19.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004888/0.2486, allocations: 219.5 kB / 420.3 MB, free: 19.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.2487, allocations: 55.41 kB / 420.3 MB, free: 19.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2488, allocations: 134.1 kB / 420.5 MB, free: 19.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.2488, allocations: 25.7 kB / 420.5 MB, free: 19.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.2489, allocations: 131.8 kB / 420.6 MB, free: 19.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.2489, allocations: 27.66 kB / 420.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.249, allocations: 25.7 kB / 420.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.249, allocations: 322.8 kB / 421 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.545e-05/0.2491, allocations: 24 kB / 421 MB, free: 18.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.2492, allocations: 31.98 kB / 421 MB, free: 18.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.443e-05/0.2493, allocations: 72.91 kB / 421.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2493, allocations: 0 / 421.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002239/0.2495, allocations: 138.4 kB / 421.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2495, allocations: 8 kB / 421.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2495, allocations: 0 / 421.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/0.2498, allocations: 28.83 kB / 421.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.2498, allocations: 12 kB / 421.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008228/0.2507, allocations: 1.422 MB / 422.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.577e-05/0.2508, allocations: 11.88 kB / 422.7 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.2508, allocations: 12.14 kB / 422.7 MB, free: 16.96 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 9.805e-05/0.2509, allocations: 125.8 kB / 422.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.2509, allocations: 4 kB / 422.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.2512, allocations: 118.7 kB / 423 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2512, allocations: 0 / 423 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.2512, allocations: 3.938 kB / 423 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2512, allocations: 0 / 423 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.2514, allocations: 229.5 kB / 423.2 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2514, allocations: 0 / 423.2 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.2514, allocations: 8 kB / 423.2 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.2515, allocations: 36.83 kB / 423.3 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2516, allocations: 0 / 423.3 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006751/0.2522, allocations: 1.414 MB / 424.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2523, allocations: 4.031 kB / 424.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.2525, allocations: 204.8 kB / 424.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.2525, allocations: 93.03 kB / 425 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.2525, allocations: 0 / 425 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2526, allocations: 4 kB / 425 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.2527, allocations: 7.984 kB / 425 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.2527, allocations: 4 kB / 425 MB, free: 14.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.554e-05/0.2528, allocations: 115.4 kB / 425.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2528, allocations: 3.938 kB / 425.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.2531, allocations: 39.84 kB / 425.1 MB, free: 14.31 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.0001411/0.2532, allocations: 111.2 kB / 425.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.2535, allocations: 194.8 kB / 425.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2535, allocations: 0 / 425.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.2537, allocations: 146.6 kB / 425.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.254, allocations: 19.3 kB / 425.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.2545, allocations: 249.5 kB / 425.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.2546, allocations: 0.7002 MB / 426.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.15e-05/0.2547, allocations: 12.66 kB / 426.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.2547, allocations: 15.42 kB / 426.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2547, allocations: 0 / 426.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Templates: time 0.003975/0.2587, allocations: 1.511 MB / 428.1 MB, free: 11.3 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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)