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.001112/0.001112, allocations: 104.5 kB / 16.56 MB, free: 6.719 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.001128/0.001128, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.298/1.298, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04442/0.04442, allocations: 8.103 MB / 299.4 MB, free: 6.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 361.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.252, allocations: 51.52 MB / 413.2 MB, free: 25.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002168/0.2542, allocations: 1.294 MB / 414.5 MB, free: 24.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2555, allocations: 1.244 MB / 415.7 MB, free: 23.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.2556, allocations: 0 / 415.7 MB, free: 23.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.2558, allocations: 71.75 kB / 415.8 MB, free: 23.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.256, allocations: 39.75 kB / 415.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.2566, allocations: 354.7 kB / 416.2 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.604e-05/0.2567, allocations: 119.4 kB / 416.3 MB, free: 22.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2568, allocations: 57.28 kB / 416.4 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.2569, allocations: 51.78 kB / 416.4 MB, free: 22.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.257, allocations: 63.75 kB / 416.5 MB, free: 22.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.257, allocations: 12 kB / 416.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.2572, allocations: 95.89 kB / 416.6 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.2572, allocations: 23.92 kB / 416.6 MB, free: 22.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.2573, allocations: 71.59 kB / 416.7 MB, free: 22.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.2575, allocations: 145.7 kB / 416.8 MB, free: 22.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2575, allocations: 0 / 416.8 MB, free: 22.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2575, allocations: 0 / 416.8 MB, free: 22.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2575, allocations: 4 kB / 416.8 MB, free: 22.18 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.0008362/0.2583, allocations: 481.7 kB / 417.3 MB, free: 21.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2584, allocations: 11.97 kB / 417.3 MB, free: 21.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.2585, allocations: 24.69 kB / 417.3 MB, free: 21.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2586, allocations: 184.2 kB / 417.5 MB, free: 21.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.2586, allocations: 8.375 kB / 417.5 MB, free: 21.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.2586, allocations: 8.375 kB / 417.5 MB, free: 21.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.2589, allocations: 146.1 kB / 417.7 MB, free: 21.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2589, allocations: 192 / 417.7 MB, free: 21.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.2589, allocations: 11.94 kB / 417.7 MB, free: 21.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2589, allocations: 4 kB / 417.7 MB, free: 21.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.259, allocations: 95.95 kB / 417.8 MB, free: 21.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.2596, allocations: 492.2 kB / 418.3 MB, free: 20.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.2599, allocations: 102.6 kB / 418.4 MB, free: 20.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.26, allocations: 28.86 kB / 418.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.765e-05/0.2601, allocations: 85.09 kB / 418.5 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2601, allocations: 38.56 kB / 418.5 MB, free: 20.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.2601, allocations: 3.984 kB / 418.5 MB, free: 20.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005054/0.2606, allocations: 227.4 kB / 418.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.2607, allocations: 51.41 kB / 418.8 MB, free: 20 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2608, allocations: 138.1 kB / 418.9 MB, free: 19.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.2608, allocations: 29.7 kB / 419 MB, free: 19.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.2608, allocations: 127.6 kB / 419.1 MB, free: 19.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.2609, allocations: 19.81 kB / 419.1 MB, free: 19.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.2609, allocations: 25.7 kB / 419.1 MB, free: 19.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.102e-05/0.261, allocations: 322.8 kB / 419.4 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.261, allocations: 27.98 kB / 419.5 MB, free: 19.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.2611, allocations: 31.92 kB / 419.5 MB, free: 19.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.176e-05/0.2611, allocations: 68.83 kB / 419.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2612, allocations: 4 kB / 419.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000221/0.2614, allocations: 134.4 kB / 419.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2614, allocations: 4 kB / 419.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2614, allocations: 4 kB / 419.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/0.2617, allocations: 32.83 kB / 419.7 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/0.2617, allocations: 12 kB / 419.8 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007889/0.2625, allocations: 1.319 MB / 421.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.2626, allocations: 7.969 kB / 421.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2626, allocations: 8.156 kB / 421.1 MB, free: 17.51 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.293e-05/0.2627, allocations: 117.8 kB / 421.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.2627, allocations: 20 kB / 421.2 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.263, allocations: 118.9 kB / 421.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.263, allocations: 4 kB / 421.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.263, allocations: 3.938 kB / 421.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.263, allocations: 0 / 421.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.2632, allocations: 229.5 kB / 421.6 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2632, allocations: 0 / 421.6 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.2632, allocations: 15.92 kB / 421.6 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.2634, allocations: 28.83 kB / 421.6 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.2634, allocations: 4 kB / 421.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006583/0.2641, allocations: 1.304 MB / 422.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2641, allocations: 3.938 kB / 422.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.2643, allocations: 208.5 kB / 423.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.2643, allocations: 85.02 kB / 423.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.2644, allocations: 0 / 423.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2645, allocations: 11.98 kB / 423.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.2645, allocations: 7.938 kB / 423.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.2645, allocations: 0 / 423.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.716e-05/0.2646, allocations: 117.9 kB / 423.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.012e-06/0.2646, allocations: 0 / 423.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.2649, allocations: 47.78 kB / 423.4 MB, free: 14.96 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.0001426/0.265, allocations: 103.2 kB / 423.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.2654, allocations: 186.9 kB / 423.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2654, allocations: 4 kB / 423.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2655, allocations: 146.6 kB / 423.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.2659, allocations: 11.19 kB / 423.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.2663, allocations: 337.9 kB / 424.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.2665, allocations: 0.7042 MB / 424.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.2665, allocations: 19.42 kB / 424.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2665, allocations: 4 kB / 424.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of Templates: time 0.003203/0.2697, allocations: 2.13 MB / 427 MB, free: 11.25 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)