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.001054/0.001054, allocations: 172.1 kB / 16.8 MB, free: 5.004 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.455/1.455, allocations: 223.3 MB / 240.8 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007918/0.0007918, allocations: 100.8 kB / 292 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03922/0.03922, allocations: 8.094 MB / 351.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 19.98 kB / 414.4 MB, free: 57.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08781/0.0882, allocations: 52.51 MB / 466.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.3824, allocations: 79.28 MB / 0.5334 GB, free: 6.184 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.3827, allocations: 70.22 kB / 0.5334 GB, free: 6.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01971/0.4024, allocations: 7.777 MB / 0.541 GB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4024, allocations: 0 / 0.541 GB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.4025, allocations: 4 kB / 0.541 GB, free: 15.9 MB / 362.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.001589/0.404, allocations: 0.6415 MB / 0.5417 GB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4041, allocations: 8.031 kB / 0.5417 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.4042, allocations: 24.66 kB / 0.5417 GB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.4046, allocations: 263.8 kB / 0.5419 GB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.4046, allocations: 12.31 kB / 0.5419 GB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.4047, allocations: 19.88 kB / 0.542 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.4051, allocations: 259.6 kB / 0.5422 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4051, allocations: 4.188 kB / 0.5422 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.4052, allocations: 11.44 kB / 0.5422 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4052, allocations: 4 kB / 0.5422 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.4055, allocations: 252.8 kB / 0.5425 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.407, allocations: 1.22 MB / 0.5437 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.4074, allocations: 303.3 kB / 0.544 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.4076, allocations: 162.8 kB / 0.5441 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.4078, allocations: 96.62 kB / 0.5442 GB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003446/0.4081, allocations: 215.3 kB / 0.5444 GB, free: 12.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.773e-06/0.4081, allocations: 4 kB / 0.5444 GB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.002589/0.4107, allocations: 0.9037 MB / 0.5453 GB, free: 12.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.4108, allocations: 55.41 kB / 0.5453 GB, free: 12.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.411, allocations: 194 kB / 0.5455 GB, free: 11.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.411, allocations: 36.08 kB / 0.5456 GB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.4111, allocations: 122.2 kB / 0.5457 GB, free: 11.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.4112, allocations: 94.56 kB / 0.5458 GB, free: 11.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.4112, allocations: 7.062 kB / 0.5458 GB, free: 11.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.4113, allocations: 333.2 kB / 0.5461 GB, free: 11.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.4115, allocations: 120.7 kB / 0.5462 GB, free: 11.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.4117, allocations: 160.6 kB / 0.5464 GB, free: 11.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.4121, allocations: 312.8 kB / 0.5467 GB, free: 11.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4121, allocations: 4 kB / 0.5467 GB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001446/0.4135, allocations: 0.5759 MB / 0.5472 GB, free: 10.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4136, allocations: 7.938 kB / 0.5472 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4136, allocations: 0 / 0.5472 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.415, allocations: 312.5 kB / 0.5475 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.4152, allocations: 39.92 kB / 0.5476 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/0.4186, allocations: 2.374 MB / 0.5499 GB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.4188, allocations: 19.88 kB / 0.5499 GB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.4189, allocations: 12 kB / 0.5499 GB, free: 7.605 MB / 362.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.0001473/0.419, allocations: 134.5 kB / 0.55 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.4191, allocations: 27.72 kB / 0.5501 GB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.4208, allocations: 0.6524 MB / 0.5507 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4208, allocations: 0 / 0.5507 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.4208, allocations: 8 kB / 0.5507 GB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.4208, allocations: 7.969 kB / 0.5507 GB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.4213, allocations: 437.1 kB / 0.5511 GB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4213, allocations: 4 kB / 0.5511 GB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.4215, allocations: 35.98 kB / 0.5512 GB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.4228, allocations: 312.4 kB / 0.5515 GB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.4229, allocations: 11.98 kB / 0.5515 GB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/0.4259, allocations: 2.347 MB / 0.5538 GB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4259, allocations: 7.938 kB / 0.5538 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.4274, allocations: 0.6346 MB / 0.5544 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.4275, allocations: 96.86 kB / 0.5545 GB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.4275, allocations: 8 kB / 0.5545 GB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.4277, allocations: 19.98 kB / 0.5545 GB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.685e-05/0.4278, allocations: 31.89 kB / 0.5546 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.4279, allocations: 8 kB / 0.5546 GB, free: 2.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.428, allocations: 147.5 kB / 0.5547 GB, free: 2.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.428, allocations: 0 / 0.5547 GB, free: 2.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.4284, allocations: 95.91 kB / 0.5548 GB, free: 2.359 MB / 362.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.0001837/0.4286, allocations: 119.2 kB / 0.5549 GB, free: 2.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.4297, allocations: 0.5222 MB / 0.5554 GB, free: 1.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4297, allocations: 0 / 0.5554 GB, free: 1.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007349/0.4304, allocations: 378.4 kB / 0.5558 GB, free: 1.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.4307, allocations: 28.61 kB / 0.5558 GB, free: 1.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.4315, allocations: 0.5808 MB / 0.5564 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.4318, allocations: 0.749 MB / 0.5571 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.432, allocations: 25.94 kB / 0.5571 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.432, allocations: 27.42 kB / 0.5572 GB, free: 15.86 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.432, allocations: 0 / 0.5572 GB, free: 15.86 MB / 378.7 MB Notification: Performance of Templates: time 0.009977/0.442, allocations: 5.681 MB / 0.5627 GB, free: 10.19 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)