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.00129/0.00129, allocations: 108.9 kB / 16.68 MB, free: 6.277 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.001098/0.001098, allocations: 196.1 kB / 17.61 MB, free: 5.734 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.377/1.377, allocations: 222.9 MB / 241.3 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04741/0.04741, allocations: 8.109 MB / 299.5 MB, free: 6.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 361.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2074, allocations: 51.52 MB / 413.4 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002096/0.2096, allocations: 1.444 MB / 414.8 MB, free: 24.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2109, allocations: 1.501 MB / 416.3 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.211, allocations: 4 kB / 416.3 MB, free: 22.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.2113, allocations: 99.59 kB / 416.4 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.2115, allocations: 79.58 kB / 416.5 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2126, allocations: 0.8444 MB / 417.4 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.2128, allocations: 191.1 kB / 417.5 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.213, allocations: 65.64 kB / 417.6 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.725e-05/0.213, allocations: 83.64 kB / 417.7 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2131, allocations: 103.6 kB / 417.8 MB, free: 21.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.2132, allocations: 16 kB / 417.8 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.2134, allocations: 199.8 kB / 418 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.2135, allocations: 39.84 kB / 418 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.2135, allocations: 99.45 kB / 418.1 MB, free: 21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.2138, allocations: 249.5 kB / 418.4 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2138, allocations: 0 / 418.4 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2138, allocations: 0 / 418.4 MB, free: 20.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.2138, allocations: 0 / 418.4 MB, free: 20.76 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.001542/0.2154, allocations: 0.6746 MB / 419.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2154, allocations: 11.89 kB / 419.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.2155, allocations: 24.66 kB / 419.1 MB, free: 20 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.2157, allocations: 236 kB / 419.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2157, allocations: 8.656 kB / 419.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.2157, allocations: 20.38 kB / 419.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.216, allocations: 212.3 kB / 419.6 MB, free: 19.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.216, allocations: 192 / 419.6 MB, free: 19.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.216, allocations: 11.94 kB / 419.6 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2161, allocations: 7.984 kB / 419.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.2163, allocations: 200.8 kB / 419.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008938/0.2172, allocations: 0.8539 MB / 420.6 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.2178, allocations: 379.3 kB / 421 MB, free: 17.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.2179, allocations: 140.8 kB / 421.1 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.218, allocations: 7.938 kB / 421.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.218, allocations: 38.56 kB / 421.2 MB, free: 17.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.218, allocations: 0 / 421.2 MB, free: 17.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001881/0.2199, allocations: 0.7253 MB / 421.9 MB, free: 16.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.22, allocations: 55.41 kB / 422 MB, free: 16.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2201, allocations: 180.1 kB / 422.1 MB, free: 16.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2201, allocations: 29.7 kB / 422.2 MB, free: 16.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.2202, allocations: 128.3 kB / 422.3 MB, free: 16.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.2202, allocations: 78.84 kB / 422.4 MB, free: 16.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.2203, allocations: 61.62 kB / 422.4 MB, free: 16.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.2204, allocations: 326.8 kB / 422.8 MB, free: 16.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.2205, allocations: 127.9 kB / 422.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.2207, allocations: 120.5 kB / 423 MB, free: 15.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.221, allocations: 277.3 kB / 423.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.221, allocations: 0 / 423.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008381/0.2218, allocations: 481.9 kB / 423.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2218, allocations: 11.88 kB / 423.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2219, allocations: 0 / 423.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007235/0.2226, allocations: 184.7 kB / 423.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.2227, allocations: 39.92 kB / 424 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.2252, allocations: 2.344 MB / 426.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.2254, allocations: 23.72 kB / 426.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.2254, allocations: 12 kB / 426.3 MB, free: 12.36 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 0.0001038/0.2255, allocations: 137.7 kB / 426.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.2256, allocations: 15.81 kB / 426.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008941/0.2265, allocations: 477.4 kB / 427 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2265, allocations: 0 / 427 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2265, allocations: 0 / 427 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2265, allocations: 4 kB / 427 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.2276, allocations: 0.8501 MB / 427.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2277, allocations: 8 kB / 427.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.2277, allocations: 19.98 kB / 427.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006718/0.2284, allocations: 184.6 kB / 428 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2284, allocations: 4 kB / 428 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.2306, allocations: 2.329 MB / 430.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2306, allocations: 0 / 430.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007925/0.2314, allocations: 0.5231 MB / 430.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.2314, allocations: 92.86 kB / 431 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.2315, allocations: 11.94 kB / 431 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.2316, allocations: 15.98 kB / 431 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.2317, allocations: 23.91 kB / 431 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2317, allocations: 4 kB / 431 MB, free: 7.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.2318, allocations: 139.5 kB / 431.2 MB, free: 7.281 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2318, allocations: 0 / 431.2 MB, free: 7.281 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00038/0.2322, allocations: 83.89 kB / 431.2 MB, free: 7.199 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.0001608/0.2324, allocations: 111.5 kB / 431.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008674/0.2333, allocations: 0.4984 MB / 431.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2333, allocations: 0 / 431.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000516/0.2338, allocations: 346.5 kB / 432.2 MB, free: 6.219 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.2341, allocations: 23.88 kB / 432.2 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.2347, allocations: 0.4973 MB / 432.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.2349, allocations: 0.7404 MB / 433.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.2349, allocations: 19.44 kB / 433.5 MB, free: 4.879 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.235, allocations: 0 / 433.5 MB, free: 4.879 MB / 302.1 MB Notification: Performance of Templates: time 0.00464/0.2396, allocations: 3.618 MB / 437.1 MB, free: 1.258 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)