Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.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.Tests.OneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneBank") translateModel(PowerSysPro.Tests.OneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 109.5 kB / 17.07 MB, free: 6.062 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.001306/0.001306, allocations: 194.9 kB / 18.01 MB, free: 5.152 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.348/1.348, 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.04807/0.04807, allocations: 8.103 MB / 300 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.89 kB / 363.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2142, allocations: 51.52 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.001934/0.2162, allocations: 0.96 MB / 415.6 MB, free: 24.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2173, allocations: 1.119 MB / 416.8 MB, free: 23.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.2174, allocations: 0 / 416.8 MB, free: 23.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.2176, allocations: 71.62 kB / 416.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.2178, allocations: 39.83 kB / 416.9 MB, free: 23.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.2183, allocations: 314.6 kB / 417.2 MB, free: 22.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.2184, allocations: 55.78 kB / 417.2 MB, free: 22.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2185, allocations: 28.17 kB / 417.3 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.2186, allocations: 27.81 kB / 417.3 MB, free: 22.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.526e-05/0.2186, allocations: 35.89 kB / 417.3 MB, free: 22.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.2187, allocations: 4 kB / 417.3 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.2188, allocations: 71.86 kB / 417.4 MB, free: 22.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.2188, allocations: 15.98 kB / 417.4 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.2189, allocations: 27.81 kB / 417.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.2191, allocations: 125.3 kB / 417.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2191, allocations: 4 kB / 417.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2191, allocations: 3.938 kB / 417.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2191, allocations: 0 / 417.6 MB, free: 22.54 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.0005041/0.2196, allocations: 391.3 kB / 418 MB, free: 22.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2197, allocations: 11.89 kB / 418 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.2197, allocations: 8.938 kB / 418 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.377e-05/0.2198, allocations: 172.2 kB / 418.1 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2198, allocations: 8.375 kB / 418.1 MB, free: 21.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.2199, allocations: 4.375 kB / 418.2 MB, free: 21.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.22, allocations: 82.17 kB / 418.2 MB, free: 21.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.22, allocations: 3.938 kB / 418.2 MB, free: 21.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.22, allocations: 8 kB / 418.2 MB, free: 21.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2201, allocations: 3.938 kB / 418.2 MB, free: 21.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.187e-05/0.2201, allocations: 55.97 kB / 418.3 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.2206, allocations: 364.5 kB / 418.7 MB, free: 21.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.2207, allocations: 42.58 kB / 418.7 MB, free: 21.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.2207, allocations: 12.98 kB / 418.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.2208, allocations: 85.09 kB / 418.8 MB, free: 21.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2209, allocations: 34.56 kB / 418.8 MB, free: 21.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 2.294e-06/0.2209, allocations: 4 kB / 418.8 MB, free: 21.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002037/0.2211, allocations: 81.66 kB / 418.9 MB, free: 21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.2211, allocations: 51.41 kB / 419 MB, free: 20.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.2212, allocations: 117.7 kB / 419.1 MB, free: 20.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.2212, allocations: 25.7 kB / 419.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.2213, allocations: 104 kB / 419.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.2213, allocations: 11.81 kB / 419.2 MB, free: 20.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.2213, allocations: 21.7 kB / 419.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.2214, allocations: 322.8 kB / 419.6 MB, free: 20.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.2214, allocations: 12.06 kB / 419.6 MB, free: 20.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.2215, allocations: 19.98 kB / 419.6 MB, free: 20.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.002e-05/0.2215, allocations: 36.86 kB / 419.6 MB, free: 20.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2215, allocations: 0 / 419.6 MB, free: 20.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.859e-05/0.2216, allocations: 81.52 kB / 419.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2217, allocations: 4 kB / 419.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2217, allocations: 0 / 419.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2217, allocations: 0 / 419.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.2218, allocations: 12 kB / 419.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2218, allocations: 16.47 kB / 419.7 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.2218, allocations: 3.938 kB / 419.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2218, allocations: 0 / 419.7 MB, free: 20.12 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 (7): * Single equations (assignments): 7 * 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.709e-05/0.2219, allocations: 113.8 kB / 419.8 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.2219, allocations: 7.906 kB / 419.9 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.2221, allocations: 73.59 kB / 419.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2221, allocations: 3.984 kB / 419.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2221, allocations: 3.938 kB / 419.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2221, allocations: 8 kB / 419.9 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.2222, allocations: 173.7 kB / 420.1 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2222, allocations: 0 / 420.1 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.2223, allocations: 15.98 kB / 420.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2223, allocations: 4 kB / 420.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2223, allocations: 0 / 420.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2223, allocations: 0 / 420.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2223, allocations: 3.938 kB / 420.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.87e-05/0.2224, allocations: 167.5 kB / 420.3 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.2225, allocations: 85.02 kB / 420.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2225, allocations: 0 / 420.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.2225, allocations: 7.938 kB / 420.4 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.2226, allocations: 7.922 kB / 420.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.2226, allocations: 0 / 420.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.574e-05/0.2226, allocations: 91.27 kB / 420.5 MB, free: 19.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2226, allocations: 0 / 420.5 MB, free: 19.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.2228, allocations: 16 kB / 420.5 MB, free: 19.25 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): 6 * 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.0001159/0.223, allocations: 123.2 kB / 420.6 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.984e-05/0.2231, allocations: 39.92 kB / 420.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2231, allocations: 7.938 kB / 420.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.2231, allocations: 16 kB / 420.7 MB, free: 19.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.2233, allocations: 6.5 kB / 420.7 MB, free: 19.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.2236, allocations: 183 kB / 420.9 MB, free: 18.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.2237, allocations: 0.6885 MB / 421.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.154e-05/0.2238, allocations: 7.984 kB / 421.6 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.2238, allocations: 15.38 kB / 421.6 MB, free: 18.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2238, allocations: 0 / 421.6 MB, free: 18.11 MB / 302.1 MB Notification: Performance of Templates: time 0.002602/0.2264, allocations: 0.6919 MB / 422.3 MB, free: 17.42 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneBank.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & ./PowerSysPro_PowerSysPro.Tests.OneBank -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1)