Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 177.8 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.435/1.435, allocations: 223.2 MB / 239.7 MB, free: 1.801 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.0008919/0.000892, allocations: 102.7 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05586/0.05586, allocations: 8.104 MB / 350.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 10.31 kB / 413.1 MB, free: 89.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 52.52 MB / 465.6 MB, free: 42.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.315/0.433, allocations: 79.32 MB / 0.5321 GB, free: 16.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.4333, allocations: 66.12 kB / 0.5322 GB, free: 16.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01979/0.4531, allocations: 8.495 MB / 0.5405 GB, free: 31.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4531, allocations: 0 / 0.5405 GB, free: 31.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.4531, allocations: 3.781 kB / 0.5405 GB, free: 31.64 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001448/0.4546, allocations: 0.6583 MB / 0.5412 GB, free: 31.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4546, allocations: 7.688 kB / 0.5412 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.4547, allocations: 27.44 kB / 0.5412 GB, free: 31.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.455, allocations: 270.8 kB / 0.5414 GB, free: 30.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.455, allocations: 19.53 kB / 0.5415 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.4551, allocations: 16.88 kB / 0.5415 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.4555, allocations: 290.6 kB / 0.5418 GB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.4555, allocations: 7.938 kB / 0.5418 GB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.4555, allocations: 10.88 kB / 0.5418 GB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4555, allocations: 7.828 kB / 0.5418 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.4559, allocations: 277.4 kB / 0.542 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.4573, allocations: 1.111 MB / 0.5431 GB, free: 30.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.4582, allocations: 460.7 kB / 0.5436 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.4582, allocations: 15.19 kB / 0.5436 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.4583, allocations: 36.53 kB / 0.5436 GB, free: 30.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.4583, allocations: 0 / 0.5436 GB, free: 30.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002594/0.4609, allocations: 0.9577 MB / 0.5446 GB, free: 30.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.4609, allocations: 59.28 kB / 0.5446 GB, free: 29.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.4611, allocations: 200.7 kB / 0.5448 GB, free: 29.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.4611, allocations: 33.02 kB / 0.5448 GB, free: 29.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.4612, allocations: 140 kB / 0.545 GB, free: 29.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.4613, allocations: 101.2 kB / 0.5451 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.4613, allocations: 7.312 kB / 0.5451 GB, free: 29.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.4614, allocations: 329.6 kB / 0.5454 GB, free: 29.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.4615, allocations: 155.3 kB / 0.5455 GB, free: 29.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.4617, allocations: 158.3 kB / 0.5457 GB, free: 29.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.4619, allocations: 161.8 kB / 0.5458 GB, free: 29.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4619, allocations: 3.938 kB / 0.5458 GB, free: 29.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001139/0.4631, allocations: 0.6133 MB / 0.5464 GB, free: 29.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4631, allocations: 6.469 kB / 0.5464 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4631, allocations: 0 / 0.5464 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009963/0.4641, allocations: 248.2 kB / 0.5467 GB, free: 29.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.4643, allocations: 38.64 kB / 0.5467 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.4674, allocations: 2.589 MB / 0.5493 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.4676, allocations: 26.11 kB / 0.5493 GB, free: 27.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.4677, allocations: 13.5 kB / 0.5493 GB, free: 27.93 MB / 378.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 (24): * Single equations (assignments): 23 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.4678, allocations: 140.5 kB / 0.5494 GB, free: 27.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.4679, allocations: 26.91 kB / 0.5494 GB, free: 27.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.4691, allocations: 0.6092 MB / 0.55 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4691, allocations: 3.688 kB / 0.55 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.4692, allocations: 2.016 kB / 0.55 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4692, allocations: 4 kB / 0.5501 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.4708, allocations: 1.102 MB / 0.5511 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4708, allocations: 2.109 kB / 0.5511 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.4709, allocations: 30.69 kB / 0.5512 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008998/0.4718, allocations: 241.9 kB / 0.5514 GB, free: 27.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.4719, allocations: 9.406 kB / 0.5514 GB, free: 27.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.4747, allocations: 2.55 MB / 0.5539 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4747, allocations: 7.938 kB / 0.5539 GB, free: 26.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.4759, allocations: 0.6555 MB / 0.5545 GB, free: 25.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.476, allocations: 112 kB / 0.5546 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.476, allocations: 5.906 kB / 0.5547 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.4763, allocations: 13.36 kB / 0.5547 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.4763, allocations: 27.55 kB / 0.5547 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.4764, allocations: 13.66 kB / 0.5547 GB, free: 25.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.4765, allocations: 181.8 kB / 0.5549 GB, free: 25.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4765, allocations: 0 / 0.5549 GB, free: 25.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004212/0.477, allocations: 107 kB / 0.555 GB, free: 25.64 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 (20): * Single equations (assignments): 19 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001677/0.4772, allocations: 130.8 kB / 0.5551 GB, free: 25.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.4782, allocations: 0.5578 MB / 0.5556 GB, free: 25.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4782, allocations: 0 / 0.5556 GB, free: 25.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006871/0.4789, allocations: 404.3 kB / 0.556 GB, free: 25.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.4791, allocations: 20.23 kB / 0.5561 GB, free: 25.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.4799, allocations: 0.5929 MB / 0.5566 GB, free: 24.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.4802, allocations: 0.757 MB / 0.5574 GB, free: 24.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.4803, allocations: 33.56 kB / 0.5574 GB, free: 24.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.4804, allocations: 22 kB / 0.5574 GB, free: 24.25 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4804, allocations: 3.938 kB / 0.5574 GB, free: 24.24 MB / 378.7 MB Notification: Performance of Templates: time 0.008967/0.4894, allocations: 5.731 MB / 0.563 GB, free: 23.89 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)