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.001144/0.001144, allocations: 111.8 kB / 17.08 MB, free: 6 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.001107/0.001107, allocations: 192 kB / 18.02 MB, free: 5.082 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04905/0.04905, allocations: 8.09 MB / 300 MB, free: 6.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 363.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2097, allocations: 51.52 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002051/0.2118, allocations: 1.238 MB / 415.9 MB, free: 24.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2129, allocations: 1.251 MB / 417.2 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.213, allocations: 4 kB / 417.2 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.2132, allocations: 83.61 kB / 417.3 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.2134, allocations: 47.62 kB / 417.3 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.214, allocations: 358.5 kB / 417.7 MB, free: 22.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2141, allocations: 119.5 kB / 417.8 MB, free: 22.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2142, allocations: 73.62 kB / 417.9 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.244e-05/0.2143, allocations: 51.86 kB / 417.9 MB, free: 22.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.2144, allocations: 63.7 kB / 418 MB, free: 22.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.2144, allocations: 12 kB / 418 MB, free: 22.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.2146, allocations: 107.9 kB / 418.1 MB, free: 22.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.2146, allocations: 27.86 kB / 418.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.2147, allocations: 63.72 kB / 418.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.2149, allocations: 213.1 kB / 418.4 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2149, allocations: 4 kB / 418.4 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2149, allocations: 0 / 418.4 MB, free: 21.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2149, allocations: 0 / 418.4 MB, free: 21.75 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.0007757/0.2157, allocations: 477.7 kB / 418.9 MB, free: 21.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2157, allocations: 11.89 kB / 418.9 MB, free: 21.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.2158, allocations: 16.75 kB / 418.9 MB, free: 21.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2159, allocations: 192.2 kB / 419.1 MB, free: 20.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2159, allocations: 8.375 kB / 419.1 MB, free: 20.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2159, allocations: 16.31 kB / 419.1 MB, free: 20.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.2161, allocations: 138.1 kB / 419.2 MB, free: 20.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2161, allocations: 8.109 kB / 419.2 MB, free: 20.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.2162, allocations: 11.94 kB / 419.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2162, allocations: 0 / 419.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.2163, allocations: 91.97 kB / 419.3 MB, free: 20.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.2168, allocations: 0.4884 MB / 419.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.2171, allocations: 98.67 kB / 419.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.2172, allocations: 28.84 kB / 419.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.693e-05/0.2173, allocations: 81.11 kB / 420 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.2173, allocations: 42.55 kB / 420.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2173, allocations: 0 / 420.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004706/0.2178, allocations: 223.5 kB / 420.3 MB, free: 19.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.2178, allocations: 51.41 kB / 420.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.2179, allocations: 142.1 kB / 420.5 MB, free: 19.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.2179, allocations: 25.7 kB / 420.5 MB, free: 19.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.218, allocations: 127.6 kB / 420.6 MB, free: 19.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.218, allocations: 27.64 kB / 420.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.218, allocations: 17.72 kB / 420.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.381e-05/0.2181, allocations: 326.8 kB / 421 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.2181, allocations: 27.98 kB / 421 MB, free: 18.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.2181, allocations: 35.92 kB / 421.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.2182, allocations: 61.02 kB / 421.1 MB, free: 18.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2182, allocations: 0 / 421.1 MB, free: 18.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002192/0.2185, allocations: 142.5 kB / 421.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2185, allocations: 8 kB / 421.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2185, allocations: 0 / 421.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.2187, allocations: 36.83 kB / 421.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.2188, allocations: 11.98 kB / 421.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000775/0.2195, allocations: 1.422 MB / 422.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.498e-05/0.2196, allocations: 16.03 kB / 422.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.2196, allocations: 0 / 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 6.94e-05/0.2197, allocations: 133.7 kB / 422.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.2198, allocations: 4 kB / 422.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.22, allocations: 122.8 kB / 423 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.22, allocations: 0 / 423 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.22, allocations: 0 / 423 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-06/0.22, allocations: 4 kB / 423 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.2202, allocations: 225.5 kB / 423.2 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2202, allocations: 4 kB / 423.2 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.2202, allocations: 11.92 kB / 423.2 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.2204, allocations: 32.84 kB / 423.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2204, allocations: 3.984 kB / 423.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006283/0.221, allocations: 1.41 MB / 424.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.221, allocations: 160 / 424.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.2212, allocations: 204.3 kB / 424.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.2213, allocations: 85.05 kB / 425 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.2213, allocations: 0 / 425 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2214, allocations: 11.98 kB / 425 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.2214, allocations: 7.938 kB / 425 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.2214, allocations: 0 / 425 MB, free: 14.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.967e-05/0.2215, allocations: 122.9 kB / 425.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2215, allocations: 0 / 425.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.2218, allocations: 39.84 kB / 425.1 MB, free: 14.32 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.0001286/0.2219, allocations: 103.2 kB / 425.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.2222, allocations: 186.9 kB / 425.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2223, allocations: 0 / 425.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.2224, allocations: 154.5 kB / 425.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.2227, allocations: 16.2 kB / 425.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.2231, allocations: 249.5 kB / 425.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.2232, allocations: 0.704 MB / 426.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.2233, allocations: 12.66 kB / 426.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.2233, allocations: 15.44 kB / 426.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2233, allocations: 0 / 426.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Templates: time 0.003571/0.2269, allocations: 1.501 MB / 428.1 MB, free: 11.31 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 gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)