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-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.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.001059/0.001059, allocations: 93.45 kB / 16.71 MB, free: 6.637 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.0008027/0.0008029, allocations: 180.3 kB / 17.62 MB, free: 6.16 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.306/1.306, allocations: 223.3 MB / 241.7 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04232/0.04232, allocations: 8.09 MB / 300.9 MB, free: 6.516 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 15.98 kB / 364.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2085, allocations: 52.51 MB / 416.7 MB, free: 24.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.001163/0.2097, allocations: 1.093 MB / 417.8 MB, free: 23.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.211, allocations: 1.489 MB / 419.2 MB, free: 22.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.2111, allocations: 4 kB / 419.2 MB, free: 22.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.2114, allocations: 99.59 kB / 419.3 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.2115, allocations: 87.5 kB / 419.4 MB, free: 22.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.2127, allocations: 0.8483 MB / 420.3 MB, free: 21.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.2129, allocations: 183.1 kB / 420.5 MB, free: 21.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.213, allocations: 53.64 kB / 420.5 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.2131, allocations: 67.66 kB / 420.6 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.2132, allocations: 99.59 kB / 420.7 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.2133, allocations: 8 kB / 420.7 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.2135, allocations: 195.8 kB / 420.9 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.2136, allocations: 27.86 kB / 420.9 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.2137, allocations: 113.2 kB / 421 MB, free: 20.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.2139, allocations: 241.4 kB / 421.2 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2139, allocations: 4 kB / 421.2 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2139, allocations: 0 / 421.2 MB, free: 20.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.2139, allocations: 0 / 421.2 MB, free: 20.21 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.001509/0.2154, allocations: 0.6512 MB / 421.9 MB, free: 19.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2155, allocations: 11.97 kB / 421.9 MB, free: 19.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.2155, allocations: 24.66 kB / 421.9 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.2157, allocations: 236 kB / 422.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2157, allocations: 12.64 kB / 422.2 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.2158, allocations: 16.38 kB / 422.2 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.2161, allocations: 204.4 kB / 422.4 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2161, allocations: 8.188 kB / 422.4 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.2161, allocations: 7.938 kB / 422.4 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2161, allocations: 4 kB / 422.4 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.2164, allocations: 208.7 kB / 422.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009383/0.2173, allocations: 0.8501 MB / 423.5 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.2179, allocations: 379.4 kB / 423.8 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.2181, allocations: 132.8 kB / 424 MB, free: 17.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.2182, allocations: 7.984 kB / 424 MB, free: 17.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.2182, allocations: 42.56 kB / 424 MB, free: 17.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.422e-06/0.2182, allocations: 0 / 424 MB, free: 17.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.00192/0.2201, allocations: 0.7261 MB / 424.7 MB, free: 16.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.2201, allocations: 51.41 kB / 424.8 MB, free: 16.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.2203, allocations: 190.3 kB / 425 MB, free: 16.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.2203, allocations: 33.7 kB / 425 MB, free: 16.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.2204, allocations: 112.4 kB / 425.1 MB, free: 16.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.2204, allocations: 82.84 kB / 425.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.2205, allocations: 33.7 kB / 425.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.2205, allocations: 330.8 kB / 425.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.2207, allocations: 123.9 kB / 425.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.2208, allocations: 124.4 kB / 425.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.2211, allocations: 273.3 kB / 426.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2211, allocations: 4 kB / 426.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008814/0.222, allocations: 485.9 kB / 426.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.222, allocations: 7.938 kB / 426.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.2221, allocations: 0 / 426.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007181/0.2228, allocations: 176.7 kB / 426.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2229, allocations: 39.92 kB / 426.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.2252, allocations: 2.187 MB / 428.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.2253, allocations: 23.69 kB / 429 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.2254, allocations: 4 kB / 429 MB, free: 12.03 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 8.997e-05/0.2255, allocations: 135.5 kB / 429.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.2255, allocations: 19.8 kB / 429.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009047/0.2264, allocations: 473.4 kB / 429.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2264, allocations: 0 / 429.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.2265, allocations: 0 / 429.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2265, allocations: 0 / 429.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.2276, allocations: 0.8579 MB / 430.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2276, allocations: 0 / 430.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/0.2277, allocations: 27.98 kB / 430.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006616/0.2284, allocations: 188.8 kB / 430.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2284, allocations: 0 / 430.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.2305, allocations: 2.152 MB / 432.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2305, allocations: 4 kB / 432.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.2313, allocations: 0.5114 MB / 433.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.2314, allocations: 100.9 kB / 433.4 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.2314, allocations: 8 kB / 433.4 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.2316, allocations: 19.92 kB / 433.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.2317, allocations: 23.84 kB / 433.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.2317, allocations: 8 kB / 433.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.2318, allocations: 135.2 kB / 433.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2318, allocations: 0 / 433.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003508/0.2321, allocations: 80 kB / 433.7 MB, free: 7.062 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.0001469/0.2323, allocations: 111.5 kB / 433.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008312/0.2331, allocations: 0.4945 MB / 434.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2331, allocations: 0 / 434.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005483/0.2337, allocations: 334.5 kB / 434.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.234, allocations: 30.38 kB / 434.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.2346, allocations: 0.5262 MB / 435.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.2348, allocations: 0.7369 MB / 435.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.2348, allocations: 23.42 kB / 435.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2348, allocations: 0 / 435.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of Templates: time 0.004466/0.2393, allocations: 3.578 MB / 439.5 MB, free: 1.152 MB / 302.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)