Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009831, allocations: 102.1 kB / 16.31 MB, free: 6.391 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.001133/0.001133, allocations: 188.5 kB / 17.24 MB, free: 5.922 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05142/0.05142, allocations: 8.094 MB / 299.2 MB, free: 6.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.89 kB / 361.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2042, allocations: 51.5 MB / 413.2 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002178/0.2064, allocations: 1.396 MB / 414.6 MB, free: 24.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2078, allocations: 1.504 MB / 416.1 MB, free: 22.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.2079, allocations: 4 kB / 416.1 MB, free: 22.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.2082, allocations: 123.3 kB / 416.3 MB, free: 22.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.2084, allocations: 91.38 kB / 416.4 MB, free: 22.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.2096, allocations: 0.8908 MB / 417.2 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.2098, allocations: 183.1 kB / 417.4 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.21, allocations: 69.66 kB / 417.5 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.067e-05/0.21, allocations: 83.64 kB / 417.6 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2102, allocations: 103.6 kB / 417.7 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.2102, allocations: 16 kB / 417.7 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.2105, allocations: 203.8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.2105, allocations: 39.84 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.813e-05/0.2106, allocations: 91.47 kB / 418 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.211, allocations: 345.1 kB / 418.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.211, allocations: 3.938 kB / 418.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.211, allocations: 0 / 418.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.211, allocations: 0 / 418.4 MB, free: 20.46 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001629/0.2126, allocations: 0.6746 MB / 419 MB, free: 19.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2127, allocations: 8.031 kB / 419 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.2127, allocations: 28.64 kB / 419.1 MB, free: 19.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.2129, allocations: 232 kB / 419.3 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.213, allocations: 12.66 kB / 419.3 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.213, allocations: 12.38 kB / 419.3 MB, free: 19.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.2133, allocations: 217.2 kB / 419.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2133, allocations: 192 / 419.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.2133, allocations: 7.938 kB / 419.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2133, allocations: 4 kB / 419.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.2136, allocations: 208.7 kB / 419.7 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008835/0.2145, allocations: 0.85 MB / 420.6 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/0.215, allocations: 380.9 kB / 421 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.2152, allocations: 136.8 kB / 421.1 MB, free: 17.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.2152, allocations: 11.98 kB / 421.1 MB, free: 17.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.2153, allocations: 34.56 kB / 421.1 MB, free: 17.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.2153, allocations: 0 / 421.1 MB, free: 17.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001906/0.2172, allocations: 0.7315 MB / 421.9 MB, free: 16.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.2172, allocations: 51.41 kB / 421.9 MB, free: 16.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2174, allocations: 178.4 kB / 422.1 MB, free: 16.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2174, allocations: 33.7 kB / 422.1 MB, free: 16.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.2174, allocations: 116.3 kB / 422.2 MB, free: 16.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.2175, allocations: 86.84 kB / 422.3 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/0.2176, allocations: 53.69 kB / 422.4 MB, free: 16.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.2176, allocations: 326.8 kB / 422.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.2178, allocations: 127.9 kB / 422.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.2179, allocations: 127.9 kB / 423 MB, free: 15.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.2182, allocations: 264.8 kB / 423.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2182, allocations: 3.984 kB / 423.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008327/0.2191, allocations: 486.5 kB / 423.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2191, allocations: 11.94 kB / 423.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2191, allocations: 0 / 423.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007028/0.2198, allocations: 188.6 kB / 423.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.2199, allocations: 35.98 kB / 423.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.2223, allocations: 2.353 MB / 426.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.2225, allocations: 19.78 kB / 426.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.2225, allocations: 12 kB / 426.3 MB, free: 12.05 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 (23): * Single equations (assignments): 22 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 9.517e-05/0.2226, allocations: 141.7 kB / 426.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.2227, allocations: 15.81 kB / 426.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008645/0.2235, allocations: 469.3 kB / 426.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2236, allocations: 4 kB / 426.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.2236, allocations: 288 / 426.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2236, allocations: 0 / 426.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.2247, allocations: 0.8502 MB / 427.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2247, allocations: 7.938 kB / 427.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.2248, allocations: 27.92 kB / 427.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006163/0.2254, allocations: 180.6 kB / 428 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2254, allocations: 4 kB / 428 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.2275, allocations: 2.332 MB / 430.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2275, allocations: 0 / 430.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008268/0.2284, allocations: 0.5192 MB / 430.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.2284, allocations: 92.86 kB / 430.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.2285, allocations: 8 kB / 430.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.2287, allocations: 19.08 kB / 431 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.2287, allocations: 19.91 kB / 431 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.2287, allocations: 12 kB / 431 MB, free: 7.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.2289, allocations: 137 kB / 431.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2289, allocations: 0 / 431.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003932/0.2293, allocations: 87.91 kB / 431.2 MB, free: 6.898 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 (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001795/0.2295, allocations: 119.1 kB / 431.3 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009496/0.2304, allocations: 0.4983 MB / 431.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2304, allocations: 0 / 431.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005611/0.231, allocations: 342.5 kB / 432.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.2313, allocations: 23.88 kB / 432.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006659/0.232, allocations: 425 kB / 432.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.2322, allocations: 0.7366 MB / 433.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.008e-05/0.2322, allocations: 25.61 kB / 433.4 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.2323, allocations: 23.44 kB / 433.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2323, allocations: 0 / 433.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of Templates: time 0.0073/0.2396, allocations: 4.763 MB / 438.1 MB, free: 15.9 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)