Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") translateModel(PowerSysPro.Examples.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008218/0.0008217, allocations: 89.72 kB / 16.71 MB, free: 6.617 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.0008417/0.0008418, allocations: 179 kB / 17.62 MB, free: 6.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.35/1.35, allocations: 223.3 MB / 241.7 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04134/0.04134, allocations: 8.091 MB / 300.9 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 12 kB / 364.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2274, allocations: 52.5 MB / 416.6 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.00128/0.2288, allocations: 0.9509 MB / 417.6 MB, free: 23.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.23, allocations: 1.232 MB / 418.8 MB, free: 22.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.2301, allocations: 4 kB / 418.8 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.2303, allocations: 63.77 kB / 418.9 MB, free: 22.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.2305, allocations: 43.75 kB / 418.9 MB, free: 22.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.231, allocations: 346.2 kB / 419.3 MB, free: 22.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.979e-05/0.2311, allocations: 115.5 kB / 419.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2313, allocations: 57.27 kB / 419.4 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.2313, allocations: 47.78 kB / 419.5 MB, free: 22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.2314, allocations: 59.7 kB / 419.6 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2315, allocations: 8 kB / 419.6 MB, free: 21.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.2316, allocations: 99.89 kB / 419.7 MB, free: 21.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.2317, allocations: 11.92 kB / 419.7 MB, free: 21.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.2317, allocations: 89.36 kB / 419.8 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.2319, allocations: 153.5 kB / 419.9 MB, free: 21.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2319, allocations: 0 / 419.9 MB, free: 21.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2319, allocations: 0 / 419.9 MB, free: 21.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.2319, allocations: 0 / 419.9 MB, free: 21.59 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007344/0.2326, allocations: 458.9 kB / 420.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2327, allocations: 15.97 kB / 420.4 MB, free: 21.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.2327, allocations: 8.844 kB / 420.4 MB, free: 21.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2329, allocations: 188.2 kB / 420.6 MB, free: 20.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2329, allocations: 12.38 kB / 420.6 MB, free: 20.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.2329, allocations: 12.38 kB / 420.6 MB, free: 20.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2331, allocations: 138.2 kB / 420.7 MB, free: 20.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2331, allocations: 192 / 420.7 MB, free: 20.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.2332, allocations: 7.938 kB / 420.7 MB, free: 20.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2332, allocations: 4 kB / 420.7 MB, free: 20.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2333, allocations: 99.95 kB / 420.8 MB, free: 20.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.2339, allocations: 496.1 kB / 421.3 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.2341, allocations: 102.7 kB / 421.4 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.2342, allocations: 28.95 kB / 421.4 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.422e-05/0.2343, allocations: 89.08 kB / 421.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.2343, allocations: 34.56 kB / 421.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.2343, allocations: 0 / 421.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004972/0.2348, allocations: 219.5 kB / 421.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.2348, allocations: 55.34 kB / 421.8 MB, free: 19.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.235, allocations: 138.1 kB / 422 MB, free: 19.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.235, allocations: 29.7 kB / 422 MB, free: 19.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.235, allocations: 123.6 kB / 422.1 MB, free: 19.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.235, allocations: 23.66 kB / 422.1 MB, free: 19.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.2351, allocations: 17.72 kB / 422.2 MB, free: 19.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.2351, allocations: 322.8 kB / 422.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.215e-05/0.2352, allocations: 31.98 kB / 422.5 MB, free: 18.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.2352, allocations: 24 kB / 422.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.286e-05/0.2353, allocations: 68.97 kB / 422.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2353, allocations: 0 / 422.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002215/0.2356, allocations: 134.5 kB / 422.7 MB, free: 18.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2356, allocations: 4 kB / 422.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2356, allocations: 4 kB / 422.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.2358, allocations: 40.77 kB / 422.8 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.2359, allocations: 11.98 kB / 422.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007808/0.2367, allocations: 1.319 MB / 424.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.2368, allocations: 11.78 kB / 424.1 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.2368, allocations: 16 kB / 424.1 MB, free: 16.94 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 (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.456e-05/0.2369, allocations: 121.8 kB / 424.3 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.2369, allocations: 7.844 kB / 424.3 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.2371, allocations: 130.9 kB / 424.4 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2371, allocations: 0 / 424.4 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.2372, allocations: 0 / 424.4 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2372, allocations: 0 / 424.4 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.2373, allocations: 221.5 kB / 424.6 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2373, allocations: 0 / 424.6 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.685e-05/0.2374, allocations: 8 kB / 424.6 MB, free: 16.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.2375, allocations: 40.83 kB / 424.7 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2375, allocations: 0 / 424.7 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000662/0.2382, allocations: 1.311 MB / 426 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2382, allocations: 0 / 426 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.2384, allocations: 208.2 kB / 426.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.2385, allocations: 85.02 kB / 426.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2385, allocations: 7.984 kB / 426.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2386, allocations: 8.094 kB / 426.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.2386, allocations: 15.92 kB / 426.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.2387, allocations: 0 / 426.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.695e-05/0.2387, allocations: 111.3 kB / 426.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2387, allocations: 96 / 426.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.239, allocations: 39.78 kB / 426.4 MB, free: 14.4 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): 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001532/0.2392, allocations: 115.2 kB / 426.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.2395, allocations: 182.9 kB / 426.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2395, allocations: 0 / 426.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.2397, allocations: 146.7 kB / 426.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.24, allocations: 15.98 kB / 426.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.2405, allocations: 347.8 kB / 427.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.2406, allocations: 0.708 MB / 427.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.2407, allocations: 11.44 kB / 427.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2407, allocations: 0 / 427.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Templates: time 0.003546/0.2442, allocations: 2.13 MB / 430.1 MB, free: 10.68 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)