Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 171.9 kB / 16.8 MB, free: 5.027 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.426/1.426, allocations: 223.3 MB / 240.8 MB, free: 11.72 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.0009531/0.0009535, allocations: 96.05 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.04935/0.04935, allocations: 8.095 MB / 351.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004117, allocations: 17.64 kB / 414.4 MB, free: 57.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08691/0.08734, allocations: 52.51 MB / 466.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3183/0.4057, allocations: 79.93 MB / 0.534 GB, free: 5.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/0.406, allocations: 65.22 kB / 0.5341 GB, free: 5.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02271/0.4287, allocations: 8.674 MB / 0.5425 GB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4287, allocations: 4 kB / 0.5425 GB, free: 14.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.4288, allocations: 7.938 kB / 0.5425 GB, free: 14.49 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002162/0.4309, allocations: 0.6957 MB / 0.5432 GB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.431, allocations: 12.03 kB / 0.5432 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.4311, allocations: 24.66 kB / 0.5433 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.4315, allocations: 266.8 kB / 0.5435 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.4315, allocations: 16.52 kB / 0.5435 GB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.4316, allocations: 16.19 kB / 0.5435 GB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.432, allocations: 299 kB / 0.5438 GB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4321, allocations: 4.125 kB / 0.5438 GB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.4321, allocations: 11 kB / 0.5438 GB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.4321, allocations: 4 kB / 0.5438 GB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.4325, allocations: 244 kB / 0.5441 GB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.4344, allocations: 1.231 MB / 0.5453 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.435, allocations: 308.5 kB / 0.5456 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.4352, allocations: 155.5 kB / 0.5457 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.4353, allocations: 85.09 kB / 0.5458 GB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.4354, allocations: 42.5 kB / 0.5458 GB, free: 11.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.4354, allocations: 4 kB / 0.5458 GB, free: 11.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.003784/0.4392, allocations: 1.086 MB / 0.5469 GB, free: 10.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.4393, allocations: 106.8 kB / 0.547 GB, free: 10.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.4395, allocations: 205.8 kB / 0.5472 GB, free: 10.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.4396, allocations: 33.02 kB / 0.5472 GB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.4397, allocations: 137.3 kB / 0.5474 GB, free: 10.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.4397, allocations: 89.36 kB / 0.5474 GB, free: 10.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.4398, allocations: 7.75 kB / 0.5475 GB, free: 10.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4399, allocations: 334.4 kB / 0.5478 GB, free: 9.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.4402, allocations: 138.9 kB / 0.5479 GB, free: 9.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.4404, allocations: 168.9 kB / 0.5481 GB, free: 9.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.4408, allocations: 294.2 kB / 0.5484 GB, free: 9.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4408, allocations: 3.938 kB / 0.5484 GB, free: 9.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001881/0.4427, allocations: 0.6474 MB / 0.549 GB, free: 8.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4427, allocations: 10.44 kB / 0.549 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4428, allocations: 0 / 0.549 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/0.4447, allocations: 384.4 kB / 0.5494 GB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.4449, allocations: 39.97 kB / 0.5494 GB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00456/0.4495, allocations: 2.567 MB / 0.5519 GB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.4498, allocations: 27.84 kB / 0.5519 GB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.4498, allocations: 12 kB / 0.5519 GB, free: 5.527 MB / 362.7 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 (21): * Single equations (assignments): 20 * 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 {5 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.45, allocations: 141.8 kB / 0.5521 GB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.4501, allocations: 19.72 kB / 0.5521 GB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.4522, allocations: 0.6996 MB / 0.5528 GB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4522, allocations: 4 kB / 0.5528 GB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.4522, allocations: 0 / 0.5528 GB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4522, allocations: 3.984 kB / 0.5528 GB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/0.4528, allocations: 437.1 kB / 0.5532 GB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4528, allocations: 0 / 0.5532 GB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.4529, allocations: 39.92 kB / 0.5532 GB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/0.4548, allocations: 384.4 kB / 0.5536 GB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.4548, allocations: 7.984 kB / 0.5536 GB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00438/0.4592, allocations: 2.548 MB / 0.5561 GB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4592, allocations: 0 / 0.5561 GB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.4613, allocations: 0.7506 MB / 0.5568 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.4614, allocations: 100.8 kB / 0.5569 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.4614, allocations: 12 kB / 0.5569 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.4617, allocations: 19.98 kB / 0.557 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.4618, allocations: 23.91 kB / 0.557 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.4619, allocations: 11.98 kB / 0.557 GB, free: 104 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002115/0.4621, allocations: 156.4 kB / 0.5572 GB, free: 15.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4621, allocations: 4 kB / 0.5572 GB, free: 15.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005147/0.4626, allocations: 99.94 kB / 0.5572 GB, free: 15.85 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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 {5 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002214/0.4628, allocations: 127.2 kB / 0.5574 GB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.4646, allocations: 0.5882 MB / 0.5579 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4646, allocations: 0 / 0.5579 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.4658, allocations: 442.4 kB / 0.5584 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.4662, allocations: 32.48 kB / 0.5584 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.4672, allocations: 0.5473 MB / 0.5589 GB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.4675, allocations: 0.7526 MB / 0.5597 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.4677, allocations: 33.92 kB / 0.5597 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.4678, allocations: 27.42 kB / 0.5597 GB, free: 13.23 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4678, allocations: 0 / 0.5597 GB, free: 13.23 MB / 378.7 MB Notification: Performance of Templates: time 0.0113/0.4791, allocations: 6.223 MB / 0.5658 GB, free: 7.027 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)