Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 104.6 kB / 16.31 MB, free: 5.879 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.3 kB / 17.24 MB, free: 5.539 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04789/0.04789, allocations: 8.106 MB / 299.2 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 59.91 kB / 361.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.258, allocations: 51.51 MB / 413.2 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.00247/0.2605, allocations: 0.9289 MB / 414.2 MB, free: 24.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2619, allocations: 1.154 MB / 415.3 MB, free: 23.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.2619, allocations: 4 kB / 415.3 MB, free: 23.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.2622, allocations: 59.69 kB / 415.4 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.2624, allocations: 31.84 kB / 415.4 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.28e-05/0.2625, allocations: 27.86 kB / 415.4 MB, free: 23.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.46e-05/0.2626, allocations: 51.8 kB / 415.5 MB, free: 23.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.2627, allocations: 35.95 kB / 415.5 MB, free: 23.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.2628, allocations: 19.94 kB / 415.5 MB, free: 23.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.2628, allocations: 27.84 kB / 415.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.2629, allocations: 4 kB / 415.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.263, allocations: 67.91 kB / 415.6 MB, free: 23.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.263, allocations: 7.938 kB / 415.7 MB, free: 23.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.2631, allocations: 27.86 kB / 415.7 MB, free: 23.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.2632, allocations: 117.6 kB / 415.8 MB, free: 23.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2633, allocations: 4 kB / 415.8 MB, free: 23.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2633, allocations: 0 / 415.8 MB, free: 23.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.2633, allocations: 3.938 kB / 415.8 MB, free: 23.01 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005166/0.2638, allocations: 375.4 kB / 416.2 MB, free: 22.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2638, allocations: 8.031 kB / 416.2 MB, free: 22.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.2639, allocations: 8.844 kB / 416.2 MB, free: 22.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.264, allocations: 168.3 kB / 416.3 MB, free: 22.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.264, allocations: 8.375 kB / 416.4 MB, free: 22.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.264, allocations: 4.375 kB / 416.4 MB, free: 22.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.2642, allocations: 86.22 kB / 416.4 MB, free: 22.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2642, allocations: 192 / 416.4 MB, free: 22.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2642, allocations: 3.938 kB / 416.5 MB, free: 22.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2642, allocations: 0 / 416.5 MB, free: 22.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/0.2643, allocations: 44.69 kB / 416.5 MB, free: 22.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.2647, allocations: 352.5 kB / 416.8 MB, free: 21.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.2648, allocations: 22.58 kB / 416.9 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.2648, allocations: 12.92 kB / 416.9 MB, free: 21.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-05/0.2649, allocations: 85.09 kB / 417 MB, free: 21.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2649, allocations: 34.5 kB / 417 MB, free: 21.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.2649, allocations: 0 / 417 MB, free: 21.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001459/0.2651, allocations: 41.7 kB / 417 MB, free: 21.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.2651, allocations: 59.47 kB / 417.1 MB, free: 21.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.2652, allocations: 125.8 kB / 417.2 MB, free: 21.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.2652, allocations: 25.7 kB / 417.2 MB, free: 21.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.2652, allocations: 115.8 kB / 417.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.2653, allocations: 11.91 kB / 417.4 MB, free: 21.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.2653, allocations: 13.72 kB / 417.4 MB, free: 21.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.417e-05/0.2653, allocations: 318.8 kB / 417.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.2654, allocations: 12 kB / 417.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.906e-05/0.2654, allocations: 15.94 kB / 417.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.2654, allocations: 28.84 kB / 417.7 MB, free: 20.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2654, allocations: 0 / 417.7 MB, free: 20.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.855e-05/0.2655, allocations: 61.69 kB / 417.8 MB, free: 20.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2656, allocations: 8 kB / 417.8 MB, free: 20.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2656, allocations: 0 / 417.8 MB, free: 20.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2656, allocations: 0 / 417.8 MB, free: 20.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.2657, allocations: 20.11 kB / 417.8 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2657, allocations: 0 / 417.8 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.2657, allocations: 7.906 kB / 417.8 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2657, allocations: 4 kB / 417.8 MB, free: 20.72 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 (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.2658, allocations: 121.8 kB / 418 MB, free: 20.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.2658, allocations: 4 kB / 418 MB, free: 20.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.9e-05/0.2659, allocations: 53.16 kB / 418 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2659, allocations: 3.938 kB / 418 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2659, allocations: 3.938 kB / 418 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2659, allocations: 0 / 418 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.2661, allocations: 169.7 kB / 418.2 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2661, allocations: 0 / 418.2 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.2661, allocations: 8.031 kB / 418.2 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2661, allocations: 3.984 kB / 418.2 MB, free: 20.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.2661, allocations: 4 kB / 418.2 MB, free: 20.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2661, allocations: 3.938 kB / 418.2 MB, free: 20.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2661, allocations: 3.938 kB / 418.2 MB, free: 20.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.945e-05/0.2662, allocations: 131.6 kB / 418.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.2662, allocations: 85 kB / 418.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.2663, allocations: 4.031 kB / 418.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.2663, allocations: 3.938 kB / 418.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.2663, allocations: 4 kB / 418.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.2664, allocations: 3.938 kB / 418.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.351e-05/0.2664, allocations: 95.27 kB / 418.5 MB, free: 19.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2664, allocations: 0 / 418.5 MB, free: 19.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.2667, allocations: 19.94 kB / 418.6 MB, free: 19.91 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.2668, allocations: 107.2 kB / 418.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.797e-05/0.2669, allocations: 27.92 kB / 418.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2669, allocations: 0 / 418.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.2669, allocations: 8 kB / 418.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.2671, allocations: 2.188 kB / 418.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.2674, allocations: 151.2 kB / 418.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.2676, allocations: 0.6884 MB / 419.5 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.693e-05/0.2676, allocations: 0 / 419.5 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.2676, allocations: 15.42 kB / 419.5 MB, free: 18.85 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2676, allocations: 0 / 419.5 MB, free: 18.85 MB / 302.1 MB Notification: Performance of Templates: time 0.002613/0.2702, allocations: 0.5676 MB / 420.1 MB, free: 18.29 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)