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.0008683/0.0008683, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 185 kB / 16.96 MB, free: 6.914 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.433/1.433, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2485/0.2485, allocations: 8.083 MB / 300.2 MB, free: 2.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003899, allocations: 8 kB / 363.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1275, allocations: 52.51 MB / 416 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.001866/0.1294, allocations: 1.092 MB / 417.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.1318, allocations: 1.493 MB / 418.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.132, allocations: 4 kB / 418.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.1326, allocations: 103.6 kB / 418.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.133, allocations: 79.52 kB / 418.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.1349, allocations: 0.8602 MB / 419.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.1353, allocations: 179.1 kB / 419.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.1355, allocations: 57.62 kB / 419.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.1357, allocations: 71.72 kB / 419.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.1359, allocations: 91.53 kB / 420 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.136, allocations: 12 kB / 420 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.1365, allocations: 187.8 kB / 420.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.1366, allocations: 35.8 kB / 420.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.1368, allocations: 109.2 kB / 420.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009934/0.1378, allocations: 331.3 kB / 420.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.1378, allocations: 7.938 kB / 420.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1378, allocations: 0 / 420.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.1378, allocations: 0 / 420.7 MB, free: 3.676 MB / 350.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.002691/0.1405, allocations: 0.6512 MB / 421.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.166e-05/0.1406, allocations: 12.03 kB / 421.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.1408, allocations: 20.66 kB / 421.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.1413, allocations: 228.1 kB / 421.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1413, allocations: 12.66 kB / 421.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.1414, allocations: 16.38 kB / 421.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.1418, allocations: 212.3 kB / 421.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1418, allocations: 8.172 kB / 421.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.1419, allocations: 11.94 kB / 421.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1419, allocations: 0 / 421.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.1422, allocations: 208.7 kB / 422 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.1437, allocations: 0.8462 MB / 422.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/0.1445, allocations: 375.5 kB / 423.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.1447, allocations: 136.8 kB / 423.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-05/0.1448, allocations: 7.984 kB / 423.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.1448, allocations: 42.56 kB / 423.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.254e-06/0.1448, allocations: 0 / 423.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.2518/0.3966, allocations: 0.7195 MB / 424.2 MB, free: 41.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3967, allocations: 51.41 kB / 424.2 MB, free: 41.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.397, allocations: 190.2 kB / 424.4 MB, free: 41.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.397, allocations: 29.52 kB / 424.4 MB, free: 41.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.3971, allocations: 118.6 kB / 424.5 MB, free: 41.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.3972, allocations: 75.88 kB / 424.6 MB, free: 41.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.3972, allocations: 36.88 kB / 424.7 MB, free: 41.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.3973, allocations: 326.1 kB / 425 MB, free: 41.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.3975, allocations: 124.9 kB / 425.1 MB, free: 41.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.3977, allocations: 128.2 kB / 425.2 MB, free: 41.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.3981, allocations: 271.6 kB / 425.5 MB, free: 41.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3981, allocations: 0 / 425.5 MB, free: 41.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009609/0.399, allocations: 489.7 kB / 426 MB, free: 41.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3991, allocations: 5.531 kB / 426 MB, free: 41.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3991, allocations: 0 / 426 MB, free: 41.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007531/0.3998, allocations: 175.5 kB / 426.1 MB, free: 41.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.4, allocations: 39.73 kB / 426.2 MB, free: 41.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.4028, allocations: 2.184 MB / 428.4 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.4029, allocations: 22.12 kB / 428.4 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.403, allocations: 9.875 kB / 428.4 MB, free: 39.88 MB / 350.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.0001182/0.4031, allocations: 137.3 kB / 428.5 MB, free: 39.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.4031, allocations: 21.23 kB / 428.5 MB, free: 39.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.4042, allocations: 459.5 kB / 429 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.4042, allocations: 7.344 kB / 429 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.4042, allocations: 0 / 429 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4042, allocations: 5.531 kB / 429 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.4055, allocations: 0.8486 MB / 429.9 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4055, allocations: 4.562 kB / 429.9 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.4056, allocations: 27.88 kB / 429.9 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006257/0.4062, allocations: 174 kB / 430.1 MB, free: 39.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.4062, allocations: 7.922 kB / 430.1 MB, free: 39.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.4087, allocations: 2.162 MB / 432.2 MB, free: 38.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4087, allocations: 0.625 kB / 432.2 MB, free: 38.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008335/0.4095, allocations: 0.5227 MB / 432.8 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.4096, allocations: 95.2 kB / 432.8 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.4096, allocations: 8.719 kB / 432.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.4098, allocations: 10.11 kB / 432.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.4098, allocations: 23.03 kB / 432.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.4099, allocations: 9.312 kB / 432.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.41, allocations: 134.6 kB / 433 MB, free: 37.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.41, allocations: 0 / 433 MB, free: 37.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004105/0.4104, allocations: 84.89 kB / 433.1 MB, free: 37.71 MB / 350.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.0001831/0.4106, allocations: 119.6 kB / 433.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009641/0.4116, allocations: 494.7 kB / 433.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4116, allocations: 0 / 433.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006099/0.4122, allocations: 334.5 kB / 434 MB, free: 37.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.4125, allocations: 18.77 kB / 434.1 MB, free: 37.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007147/0.4133, allocations: 0.5008 MB / 434.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.4135, allocations: 0.7304 MB / 435.3 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.392e-05/0.4136, allocations: 28.38 kB / 435.3 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.4136, allocations: 22.62 kB / 435.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4136, allocations: 0.6562 kB / 435.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of Templates: time 0.00718/0.4208, allocations: 4.378 MB / 439.7 MB, free: 36.14 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: