Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 180.7 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 239.7 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000823/0.000823, allocations: 104.2 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04077/0.04077, allocations: 8.107 MB / 350.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003515, allocations: 7.5 kB / 413.1 MB, free: 89.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1028, allocations: 52.53 MB / 465.6 MB, free: 42.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3136/0.4165, allocations: 79.26 MB / 0.5321 GB, free: 16.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.4167, allocations: 62.94 kB / 0.5322 GB, free: 16.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01886/0.4356, allocations: 7.765 MB / 0.5397 GB, free: 31.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4356, allocations: 0 / 0.5397 GB, free: 31.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4356, allocations: 3.875 kB / 0.5397 GB, free: 31.88 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001473/0.4371, allocations: 0.6354 MB / 0.5404 GB, free: 31.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4371, allocations: 7.75 kB / 0.5404 GB, free: 31.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.4372, allocations: 31.3 kB / 0.5404 GB, free: 31.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.4375, allocations: 258.2 kB / 0.5407 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.4375, allocations: 7.625 kB / 0.5407 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.4376, allocations: 23.56 kB / 0.5407 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.438, allocations: 269.2 kB / 0.5409 GB, free: 31.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.438, allocations: 0 / 0.5409 GB, free: 31.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.438, allocations: 11.56 kB / 0.5409 GB, free: 31.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.438, allocations: 7.812 kB / 0.541 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.4383, allocations: 249.7 kB / 0.5412 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.4397, allocations: 1.217 MB / 0.5424 GB, free: 30.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.44, allocations: 305.2 kB / 0.5427 GB, free: 30.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.4401, allocations: 82.84 kB / 0.5428 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.4404, allocations: 227.8 kB / 0.543 GB, free: 30.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.4405, allocations: 3.844 kB / 0.543 GB, free: 30.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002416/0.4429, allocations: 0.895 MB / 0.5438 GB, free: 30.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.4429, allocations: 55.34 kB / 0.5439 GB, free: 29.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.4431, allocations: 173.2 kB / 0.5441 GB, free: 29.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.4431, allocations: 32.58 kB / 0.5441 GB, free: 29.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.4432, allocations: 124.4 kB / 0.5442 GB, free: 29.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.4432, allocations: 98.5 kB / 0.5443 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.4432, allocations: 3.438 kB / 0.5443 GB, free: 29.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.4433, allocations: 338.7 kB / 0.5446 GB, free: 29.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.4435, allocations: 120.8 kB / 0.5448 GB, free: 29.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.4436, allocations: 160.2 kB / 0.5449 GB, free: 29.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.4438, allocations: 142.8 kB / 0.545 GB, free: 29.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4438, allocations: 0 / 0.545 GB, free: 29.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001368/0.4452, allocations: 0.5786 MB / 0.5456 GB, free: 29.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4452, allocations: 10.09 kB / 0.5456 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4452, allocations: 7.922 kB / 0.5456 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.4466, allocations: 307.5 kB / 0.5459 GB, free: 29.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.4468, allocations: 35.38 kB / 0.546 GB, free: 29.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.4498, allocations: 2.44 MB / 0.5483 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.45, allocations: 15.28 kB / 0.5483 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.45, allocations: 17.72 kB / 0.5484 GB, free: 27.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.4502, allocations: 135.9 kB / 0.5485 GB, free: 27.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.4502, allocations: 23.34 kB / 0.5485 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.4518, allocations: 0.6525 MB / 0.5492 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.4518, allocations: 7.844 kB / 0.5492 GB, free: 27.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.4518, allocations: 4 kB / 0.5492 GB, free: 27.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4518, allocations: 2.203 kB / 0.5492 GB, free: 27.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.4522, allocations: 440.2 kB / 0.5496 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4522, allocations: 0 / 0.5496 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.4523, allocations: 48.55 kB / 0.5496 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.4536, allocations: 301.8 kB / 0.5499 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.4536, allocations: 9.062 kB / 0.5499 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/0.4564, allocations: 2.413 MB / 0.5523 GB, free: 26.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.4564, allocations: 11.89 kB / 0.5523 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.4577, allocations: 0.6414 MB / 0.5529 GB, free: 26.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.4578, allocations: 98.48 kB / 0.553 GB, free: 25.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.4578, allocations: 4.953 kB / 0.553 GB, free: 25.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.458, allocations: 22.27 kB / 0.553 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.4581, allocations: 24.78 kB / 0.5531 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.4581, allocations: 9.609 kB / 0.5531 GB, free: 25.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.4582, allocations: 140.4 kB / 0.5532 GB, free: 25.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4583, allocations: 0 / 0.5532 GB, free: 25.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003717/0.4586, allocations: 99.02 kB / 0.5533 GB, free: 25.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002029/0.4588, allocations: 131.5 kB / 0.5534 GB, free: 25.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.4599, allocations: 0.5193 MB / 0.5539 GB, free: 25.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4599, allocations: 0 / 0.5539 GB, free: 25.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006772/0.4606, allocations: 371.8 kB / 0.5543 GB, free: 25.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.4608, allocations: 28.81 kB / 0.5543 GB, free: 25.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000813/0.4617, allocations: 0.5671 MB / 0.5549 GB, free: 25.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.4619, allocations: 0.7516 MB / 0.5556 GB, free: 24.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.4621, allocations: 35.73 kB / 0.5556 GB, free: 24.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.4621, allocations: 26.22 kB / 0.5557 GB, free: 24.5 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4621, allocations: 0 / 0.5557 GB, free: 24.5 MB / 378.7 MB Notification: Performance of Templates: time 0.009571/0.4717, allocations: 5.631 MB / 0.5612 GB, free: 24.12 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)