Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001196, allocations: 171.8 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.299/1.299, 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.0007602/0.0007601, allocations: 92.7 kB / 292 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04437/0.04437, allocations: 8.092 MB / 351.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 12 kB / 414.4 MB, free: 57.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08373/0.08409, allocations: 52.51 MB / 466.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/0.3897, allocations: 79.39 MB / 0.5335 GB, free: 6.113 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.3899, allocations: 64.34 kB / 0.5335 GB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02908/0.419, allocations: 11.67 MB / 0.5449 GB, free: 12.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.419, allocations: 0 / 0.5449 GB, free: 12.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.4191, allocations: 8 kB / 0.5449 GB, free: 12.71 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002169/0.4212, allocations: 0.8353 MB / 0.5458 GB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4213, allocations: 8.031 kB / 0.5458 GB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.4214, allocations: 44.47 kB / 0.5458 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.4219, allocations: 357.8 kB / 0.5461 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.4219, allocations: 22 kB / 0.5462 GB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.4219, allocations: 24.5 kB / 0.5462 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.4225, allocations: 414.8 kB / 0.5466 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4226, allocations: 192 / 0.5466 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.4226, allocations: 14.44 kB / 0.5466 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4226, allocations: 8 kB / 0.5466 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005722/0.4232, allocations: 409.5 kB / 0.547 GB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.4256, allocations: 1.659 MB / 0.5486 GB, free: 9.137 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.4267, allocations: 0.5514 MB / 0.5492 GB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.4272, allocations: 289.4 kB / 0.5494 GB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.4273, allocations: 89.48 kB / 0.5495 GB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.4274, allocations: 42.94 kB / 0.5496 GB, free: 8.137 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.396e-06/0.4274, allocations: 0 / 0.5496 GB, free: 8.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.004209/0.4316, allocations: 1.615 MB / 0.5511 GB, free: 6.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.4316, allocations: 55.41 kB / 0.5512 GB, free: 6.383 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.432, allocations: 290.6 kB / 0.5515 GB, free: 6.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.4321, allocations: 29.7 kB / 0.5515 GB, free: 6.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.4322, allocations: 168.7 kB / 0.5517 GB, free: 5.887 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.4323, allocations: 157.7 kB / 0.5518 GB, free: 5.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.4323, allocations: 12 kB / 0.5518 GB, free: 5.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4325, allocations: 334.8 kB / 0.5521 GB, free: 5.383 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.4328, allocations: 228.8 kB / 0.5524 GB, free: 5.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.4332, allocations: 235.8 kB / 0.5526 GB, free: 4.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.4339, allocations: 0.5034 MB / 0.5531 GB, free: 4.418 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4339, allocations: 0 / 0.5531 GB, free: 4.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002055/0.436, allocations: 0.9155 MB / 0.554 GB, free: 3.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.436, allocations: 8 kB / 0.554 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.436, allocations: 0 / 0.554 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.4377, allocations: 410.1 kB / 0.5544 GB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.4379, allocations: 59.89 kB / 0.5544 GB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006286/0.4442, allocations: 5.657 MB / 0.5599 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.4446, allocations: 23.69 kB / 0.56 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.4446, allocations: 19.98 kB / 0.56 GB, free: 12.92 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.4449, allocations: 161.8 kB / 0.5601 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.4449, allocations: 39.56 kB / 0.5602 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.4473, allocations: 0.9857 MB / 0.5611 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.4473, allocations: 4 kB / 0.5611 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4473, allocations: 0 / 0.5611 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.4473, allocations: 3.984 kB / 0.5611 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006994/0.448, allocations: 0.6145 MB / 0.5617 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.448, allocations: 0 / 0.5617 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.4482, allocations: 59.91 kB / 0.5618 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.4499, allocations: 410.3 kB / 0.5622 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.4499, allocations: 12 kB / 0.5622 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006204/0.4561, allocations: 5.613 MB / 0.5677 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4562, allocations: 0 / 0.5677 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.4583, allocations: 0.9978 MB / 0.5687 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.4584, allocations: 124.5 kB / 0.5688 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.4585, allocations: 15.98 kB / 0.5688 GB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.4589, allocations: 31.98 kB / 0.5688 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.459, allocations: 48.3 kB / 0.5689 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.4591, allocations: 16.25 kB / 0.5689 GB, free: 3.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003137/0.4594, allocations: 217.9 kB / 0.5691 GB, free: 3.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4594, allocations: 0 / 0.5691 GB, free: 3.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006596/0.4601, allocations: 159.9 kB / 0.5692 GB, free: 2.906 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 (37): * Single equations (assignments): 34 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002603/0.4603, allocations: 142.9 kB / 0.5694 GB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.4622, allocations: 1.021 MB / 0.5704 GB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4623, allocations: 4 kB / 0.5704 GB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.4636, allocations: 0.7523 MB / 0.5711 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.4641, allocations: 40.88 kB / 0.5712 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.4655, allocations: 0.864 MB / 0.572 GB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.4659, allocations: 0.7974 MB / 0.5728 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002228/0.4661, allocations: 50.92 kB / 0.5728 GB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.4662, allocations: 35.42 kB / 0.5729 GB, free: 15.06 MB / 394.7 MB Notification: Performance of SimCode: time 2.054e-06/0.4662, allocations: 0 / 0.5729 GB, free: 15.06 MB / 394.7 MB Notification: Performance of Templates: time 0.01606/0.4823, allocations: 9.655 MB / 0.5823 GB, free: 5.461 MB / 394.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)