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.0009674/0.0009675, allocations: 182.4 kB / 13.23 MB, free: 2.086 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.209/1.209, allocations: 221.4 MB / 235.1 MB, free: 14.44 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.0008681/0.0008681, allocations: 89.02 kB / 286.1 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03806/0.03806, allocations: 8.11 MB / 345.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.771e-05, allocations: 4 kB / 405.5 MB, free: 61.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07214/0.07219, allocations: 52.51 MB / 458 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2984/0.3706, allocations: 79.45 MB / 0.5248 GB, free: 6.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.3709, allocations: 63.02 kB / 0.5249 GB, free: 6.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02004/0.3909, allocations: 7.751 MB / 0.5325 GB, free: 300 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.391, allocations: 0 / 0.5325 GB, free: 300 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.391, allocations: 4 kB / 0.5325 GB, free: 296 kB / 346.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.0014/0.3924, allocations: 0.5958 MB / 0.533 GB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3924, allocations: 8.031 kB / 0.5331 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.3925, allocations: 27.67 kB / 0.5331 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.3929, allocations: 263.1 kB / 0.5333 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3929, allocations: 7.5 kB / 0.5333 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.3929, allocations: 18.5 kB / 0.5334 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.3933, allocations: 263.1 kB / 0.5336 GB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3934, allocations: 7.922 kB / 0.5336 GB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.3934, allocations: 11.31 kB / 0.5336 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3934, allocations: 4 kB / 0.5336 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.3937, allocations: 246.2 kB / 0.5339 GB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.3952, allocations: 1.215 MB / 0.5351 GB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.3956, allocations: 292.7 kB / 0.5353 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.3959, allocations: 169.2 kB / 0.5355 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.396, allocations: 85.55 kB / 0.5356 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.3964, allocations: 219.6 kB / 0.5358 GB, free: 13.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.3964, allocations: 3.938 kB / 0.5358 GB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001552/0.3979, allocations: 0.5627 MB / 0.5363 GB, free: 12.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.398, allocations: 59.41 kB / 0.5364 GB, free: 12.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3982, allocations: 170.9 kB / 0.5366 GB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.3982, allocations: 33.08 kB / 0.5366 GB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.3983, allocations: 122.4 kB / 0.5367 GB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.3984, allocations: 95.42 kB / 0.5368 GB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.3984, allocations: 7.5 kB / 0.5368 GB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3985, allocations: 337 kB / 0.5371 GB, free: 12.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.3987, allocations: 120.2 kB / 0.5372 GB, free: 12.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.3989, allocations: 155.7 kB / 0.5374 GB, free: 12.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.3991, allocations: 138.2 kB / 0.5375 GB, free: 11.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3991, allocations: 0 / 0.5375 GB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001468/0.4006, allocations: 0.574 MB / 0.5381 GB, free: 11.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4006, allocations: 7.953 kB / 0.5381 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4007, allocations: 4.031 kB / 0.5381 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.4021, allocations: 309.1 kB / 0.5384 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.4023, allocations: 39.97 kB / 0.5384 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/0.4055, allocations: 2.36 MB / 0.5407 GB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.4058, allocations: 26.91 kB / 0.5408 GB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.4058, allocations: 7.25 kB / 0.5408 GB, free: 9.273 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 () * 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.0001547/0.406, allocations: 118.9 kB / 0.5409 GB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.4061, allocations: 23.77 kB / 0.5409 GB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.4077, allocations: 0.653 MB / 0.5415 GB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4077, allocations: 4 kB / 0.5415 GB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.4077, allocations: 0 / 0.5415 GB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4077, allocations: 3.953 kB / 0.5415 GB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.4081, allocations: 440.7 kB / 0.542 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4082, allocations: 0 / 0.542 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.4083, allocations: 43.92 kB / 0.542 GB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.4097, allocations: 304.8 kB / 0.5423 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.4097, allocations: 15.31 kB / 0.5423 GB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/0.4127, allocations: 2.341 MB / 0.5446 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4127, allocations: 3.953 kB / 0.5446 GB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.4142, allocations: 0.6201 MB / 0.5452 GB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.4143, allocations: 100.8 kB / 0.5453 GB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.4143, allocations: 10.88 kB / 0.5453 GB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.4146, allocations: 14.83 kB / 0.5453 GB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.784e-05/0.4147, allocations: 35.19 kB / 0.5454 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.4147, allocations: 11.31 kB / 0.5454 GB, free: 5.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.4148, allocations: 139.7 kB / 0.5455 GB, free: 5.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4148, allocations: 7.938 kB / 0.5455 GB, free: 5.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.4152, allocations: 93.53 kB / 0.5456 GB, free: 5.211 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 () * 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.0002218/0.4155, allocations: 126.2 kB / 0.5457 GB, free: 5.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.4165, allocations: 0.5012 MB / 0.5462 GB, free: 4.719 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4165, allocations: 0 / 0.5462 GB, free: 4.719 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007081/0.4172, allocations: 377.8 kB / 0.5466 GB, free: 4.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.4175, allocations: 27.22 kB / 0.5466 GB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.4181, allocations: 317.9 kB / 0.5469 GB, free: 4.137 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.4184, allocations: 0.753 MB / 0.5476 GB, free: 3.359 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.4185, allocations: 34.05 kB / 0.5477 GB, free: 3.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.4186, allocations: 23.42 kB / 0.5477 GB, free: 3.305 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4186, allocations: 4 kB / 0.5477 GB, free: 3.301 MB / 362.7 MB Notification: Performance of Templates: time 0.00935/0.428, allocations: 5.716 MB / 0.5533 GB, free: 13.62 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)