Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 171.3 kB / 16.8 MB, free: 5.02 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.357/1.357, allocations: 223.3 MB / 240.8 MB, free: 9.984 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.0007679/0.000768, allocations: 95.88 kB / 292 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06912/0.06912, allocations: 8.104 MB / 351.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 12.53 kB / 414.4 MB, free: 57.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09131, allocations: 52.51 MB / 466.9 MB, free: 4.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3244/0.4157, allocations: 79.32 MB / 0.5334 GB, free: 6.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.416, allocations: 64.97 kB / 0.5335 GB, free: 6.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02046/0.4365, allocations: 7.759 MB / 0.541 GB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4366, allocations: 0 / 0.541 GB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.4366, allocations: 4 kB / 0.541 GB, free: 15.93 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.001591/0.4382, allocations: 0.6194 MB / 0.5417 GB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4383, allocations: 8.031 kB / 0.5417 GB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.4384, allocations: 28.03 kB / 0.5417 GB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.4388, allocations: 271.6 kB / 0.5419 GB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.4388, allocations: 20.14 kB / 0.542 GB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.4388, allocations: 12.19 kB / 0.542 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.4393, allocations: 259.3 kB / 0.5422 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4393, allocations: 192 / 0.5422 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.4393, allocations: 11.62 kB / 0.5422 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.4393, allocations: 7.984 kB / 0.5422 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.4397, allocations: 248.6 kB / 0.5425 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.4415, allocations: 1.208 MB / 0.5437 GB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.4421, allocations: 310.7 kB / 0.544 GB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.4424, allocations: 155 kB / 0.5441 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.4425, allocations: 85.09 kB / 0.5442 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.4426, allocations: 41.94 kB / 0.5442 GB, free: 13.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.933e-06/0.4426, allocations: 0 / 0.5442 GB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.003005/0.4456, allocations: 0.9754 MB / 0.5452 GB, free: 12.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.4457, allocations: 59.41 kB / 0.5452 GB, free: 12.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.4459, allocations: 207.4 kB / 0.5454 GB, free: 12.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.446, allocations: 33.45 kB / 0.5455 GB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.4461, allocations: 125.8 kB / 0.5456 GB, free: 11.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.4462, allocations: 88.92 kB / 0.5457 GB, free: 11.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.4462, allocations: 7.188 kB / 0.5457 GB, free: 11.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4464, allocations: 330 kB / 0.546 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.4466, allocations: 130.1 kB / 0.5461 GB, free: 11.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.4468, allocations: 143.1 kB / 0.5462 GB, free: 11.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.4472, allocations: 295.7 kB / 0.5465 GB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4472, allocations: 0 / 0.5465 GB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001478/0.4487, allocations: 0.5931 MB / 0.5471 GB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4487, allocations: 4 kB / 0.5471 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4487, allocations: 0 / 0.5471 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.45, allocations: 300.5 kB / 0.5474 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.4502, allocations: 35.91 kB / 0.5474 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/0.4543, allocations: 2.522 MB / 0.5499 GB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.4545, allocations: 15.84 kB / 0.5499 GB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.4546, allocations: 15.98 kB / 0.5499 GB, free: 7.609 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 (19): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.4548, allocations: 141.8 kB / 0.5501 GB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.4549, allocations: 20.09 kB / 0.5501 GB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.4565, allocations: 0.6294 MB / 0.5507 GB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4565, allocations: 8 kB / 0.5507 GB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4565, allocations: 3.938 kB / 0.5507 GB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4566, allocations: 0 / 0.5507 GB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.4571, allocations: 433.1 kB / 0.5511 GB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.4572, allocations: 0 / 0.5511 GB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.4573, allocations: 35.92 kB / 0.5512 GB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.4585, allocations: 292.5 kB / 0.5514 GB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.4585, allocations: 4 kB / 0.5514 GB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003398/0.4619, allocations: 2.512 MB / 0.5539 GB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.4619, allocations: 3.938 kB / 0.5539 GB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.4635, allocations: 0.6805 MB / 0.5546 GB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.4637, allocations: 100.8 kB / 0.5547 GB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.4637, allocations: 8 kB / 0.5547 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.4639, allocations: 11.94 kB / 0.5547 GB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.464, allocations: 27.91 kB / 0.5547 GB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.4641, allocations: 15.92 kB / 0.5547 GB, free: 2.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.4643, allocations: 163.7 kB / 0.5549 GB, free: 2.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4643, allocations: 0 / 0.5549 GB, free: 2.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000502/0.4648, allocations: 99.84 kB / 0.555 GB, free: 2.195 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: 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002449/0.465, allocations: 123.2 kB / 0.5551 GB, free: 2.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.4661, allocations: 0.4949 MB / 0.5556 GB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4661, allocations: 0 / 0.5556 GB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.4667, allocations: 358.3 kB / 0.5559 GB, free: 1.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.4672, allocations: 27.98 kB / 0.5559 GB, free: 1.168 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.4681, allocations: 0.5447 MB / 0.5565 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.4685, allocations: 0.7371 MB / 0.5572 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.4686, allocations: 29.92 kB / 0.5572 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.4687, allocations: 23.42 kB / 0.5572 GB, free: 15.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4687, allocations: 0 / 0.5572 GB, free: 15.79 MB / 378.7 MB Notification: Performance of Templates: time 0.01091/0.4796, allocations: 5.892 MB / 0.563 GB, free: 9.914 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)