Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008137/0.0008136, allocations: 102.6 kB / 16.07 MB, free: 32 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.001131/0.001131, allocations: 181 kB / 16.96 MB, free: 6.902 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.472/1.472, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1971/0.1971, allocations: 8.079 MB / 300.2 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003202, allocations: 8.281 kB / 363.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 52.52 MB / 416 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002241/0.1385, allocations: 1.405 MB / 417.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.1413, allocations: 1.329 MB / 418.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.1416, allocations: 8 kB / 418.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.142, allocations: 79.67 kB / 418.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004164/0.1424, allocations: 83.5 kB / 418.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1434, allocations: 434.6 kB / 419.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.1438, allocations: 207 kB / 419.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.144, allocations: 91 kB / 419.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1442, allocations: 87.59 kB / 419.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.1444, allocations: 131.5 kB / 419.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.1445, allocations: 15.94 kB / 419.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.1448, allocations: 107.9 kB / 420 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.1449, allocations: 39.78 kB / 420 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.145, allocations: 141 kB / 420.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.1455, allocations: 307.3 kB / 420.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1455, allocations: 0 / 420.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1455, allocations: 3.938 kB / 420.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1455, allocations: 0 / 420.4 MB, free: 3.938 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001776/0.1473, allocations: 0.6201 MB / 421.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1473, allocations: 8.031 kB / 421.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1475, allocations: 24.66 kB / 421.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1477, allocations: 204 kB / 421.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.1478, allocations: 16.94 kB / 421.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.1478, allocations: 24.38 kB / 421.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.1483, allocations: 292.1 kB / 421.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1484, allocations: 4.125 kB / 421.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.1484, allocations: 15.94 kB / 421.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1484, allocations: 4 kB / 421.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.1488, allocations: 241.3 kB / 421.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.1503, allocations: 0.9722 MB / 422.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.151, allocations: 370.5 kB / 423.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.1512, allocations: 97.69 kB / 423.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.364e-05/0.1512, allocations: 4 kB / 423.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1513, allocations: 34.56 kB / 423.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.1513, allocations: 0 / 423.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001185/0.1525, allocations: 0.5247 MB / 423.9 MB, free: 248 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.1525, allocations: 85.11 kB / 423.9 MB, free: 144 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2711/0.4237, allocations: 187.8 kB / 424.1 MB, free: 42.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.4238, allocations: 30.2 kB / 424.2 MB, free: 42.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.251e-05/0.4239, allocations: 151.8 kB / 424.3 MB, free: 42.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.424, allocations: 76.38 kB / 424.4 MB, free: 42.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.424, allocations: 25.42 kB / 424.4 MB, free: 42.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.4241, allocations: 331.4 kB / 424.7 MB, free: 41.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.4242, allocations: 82.61 kB / 424.8 MB, free: 41.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.4244, allocations: 123.7 kB / 424.9 MB, free: 41.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.4247, allocations: 212.2 kB / 425.1 MB, free: 41.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4247, allocations: 2.406 kB / 425.1 MB, free: 41.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006718/0.4254, allocations: 342.1 kB / 425.5 MB, free: 41.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4254, allocations: 4.062 kB / 425.5 MB, free: 41.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4254, allocations: 2.938 kB / 425.5 MB, free: 41.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.4258, allocations: 79.14 kB / 425.6 MB, free: 41.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.426, allocations: 43.08 kB / 425.6 MB, free: 41.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.4279, allocations: 2.676 MB / 428.3 MB, free: 39.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.4281, allocations: 31.47 kB / 428.3 MB, free: 39.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.4282, allocations: 10.14 kB / 428.3 MB, free: 39.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.4283, allocations: 134.9 kB / 428.5 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.4284, allocations: 19.08 kB / 428.5 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005844/0.429, allocations: 293.1 kB / 428.8 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.429, allocations: 4.812 kB / 428.8 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.429, allocations: 3.188 kB / 428.8 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.429, allocations: 0.75 kB / 428.8 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/0.4297, allocations: 0.5508 MB / 429.3 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4297, allocations: 8.031 kB / 429.3 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-05/0.4298, allocations: 31.98 kB / 429.4 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.4301, allocations: 70.02 kB / 429.4 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.4302, allocations: 6.5 kB / 429.4 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.4317, allocations: 2.681 MB / 432.1 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4317, allocations: 0.6094 kB / 432.1 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.4322, allocations: 434.2 kB / 432.5 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.4323, allocations: 97.67 kB / 432.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.4323, allocations: 3.25 kB / 432.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.4325, allocations: 26.19 kB / 432.7 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.4326, allocations: 13.47 kB / 432.7 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.4326, allocations: 13.94 kB / 432.7 MB, free: 35.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.4327, allocations: 152.7 kB / 432.8 MB, free: 35.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4327, allocations: 0 / 432.8 MB, free: 35.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000443/0.4332, allocations: 74.41 kB / 432.9 MB, free: 35.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0002082/0.4334, allocations: 115.4 kB / 433 MB, free: 35.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000694/0.4341, allocations: 455.1 kB / 433.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4341, allocations: 4 kB / 433.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.4345, allocations: 332.1 kB / 433.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.435, allocations: 26.45 kB / 433.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007932/0.4358, allocations: 0.5259 MB / 434.3 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.436, allocations: 0.74 MB / 435.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.4362, allocations: 27.17 kB / 435.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.4362, allocations: 26.62 kB / 435.1 MB, free: 34.04 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.4362, allocations: 0 / 435.1 MB, free: 34.04 MB / 350.1 MB Notification: Performance of Templates: time 0.006415/0.4426, allocations: 2.912 MB / 438 MB, free: 33.87 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1) Environment - environmentSimulation: