Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001039/0.001039, allocations: 179.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.189/1.189, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001513/0.001513, allocations: 116.1 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1582/0.1582, allocations: 38 MB / 340.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 15.98 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07461/0.07497, allocations: 53.22 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2699/0.3449, allocations: 95.94 MB / 0.54 GB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.3452, allocations: 89.77 kB / 0.5401 GB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03371/0.3789, allocations: 12.58 MB / 0.5524 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3789, allocations: 0 / 0.5524 GB, free: 4.656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.343e-05/0.379, allocations: 8 kB / 0.5524 GB, free: 4.648 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001176/0.3802, allocations: 0.716 MB / 0.5531 GB, free: 3.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3802, allocations: 16.02 kB / 0.5531 GB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005113/0.3807, allocations: 94.89 kB / 0.5532 GB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.3827, allocations: 0.8573 MB / 0.554 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.3827, allocations: 34.12 kB / 0.554 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.3828, allocations: 38.62 kB / 0.5541 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.3837, allocations: 0.627 MB / 0.5547 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.3837, allocations: 15.89 kB / 0.5547 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.3838, allocations: 17.94 kB / 0.5547 GB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.3838, allocations: 24.98 kB / 0.5547 GB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006451/0.3845, allocations: 454.9 kB / 0.5552 GB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/0.3875, allocations: 2.931 MB / 0.558 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3878, allocations: 198.1 kB / 0.5582 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.3878, allocations: 12.03 kB / 0.5582 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3879, allocations: 42.25 kB / 0.5583 GB, free: 15.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.245e-06/0.3879, allocations: 0 / 0.5583 GB, free: 15.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001494/0.3894, allocations: 1.041 MB / 0.5593 GB, free: 14.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.3894, allocations: 81.47 kB / 0.5594 GB, free: 14.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.3897, allocations: 294.4 kB / 0.5597 GB, free: 13.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3897, allocations: 29.14 kB / 0.5597 GB, free: 13.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3899, allocations: 291.9 kB / 0.56 GB, free: 13.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/0.39, allocations: 92.56 kB / 0.5601 GB, free: 13.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.39, allocations: 8.688 kB / 0.5601 GB, free: 13.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3901, allocations: 344.5 kB / 0.5604 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.3904, allocations: 143.7 kB / 0.5605 GB, free: 13.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.3907, allocations: 328 kB / 0.5608 GB, free: 12.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.391, allocations: 208.5 kB / 0.561 GB, free: 12.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.391, allocations: 0 / 0.561 GB, free: 12.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009798/0.392, allocations: 0.5899 MB / 0.5616 GB, free: 12.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.392, allocations: 8 kB / 0.5616 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005491/0.3926, allocations: 328 kB / 0.5619 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/0.3929, allocations: 75.67 kB / 0.562 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.3932, allocations: 95.56 kB / 0.5621 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.3947, allocations: 1.619 MB / 0.5637 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.3949, allocations: 26.8 kB / 0.5637 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.395, allocations: 19.38 kB / 0.5637 GB, free: 10.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.3952, allocations: 215.1 kB / 0.5639 GB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.3953, allocations: 27.62 kB / 0.564 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.3958, allocations: 355.6 kB / 0.5643 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.3958, allocations: 8 kB / 0.5643 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.3958, allocations: 4 kB / 0.5643 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3958, allocations: 3.984 kB / 0.5643 GB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.3971, allocations: 0.864 MB / 0.5652 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3971, allocations: 0 / 0.5652 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.3974, allocations: 59.89 kB / 0.5652 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3974, allocations: 4 kB / 0.5652 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3975, allocations: 7.75 kB / 0.5652 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3975, allocations: 8 kB / 0.5652 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3975, allocations: 3.938 kB / 0.5652 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.3981, allocations: 0.5966 MB / 0.5658 GB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.3982, allocations: 108.1 kB / 0.5659 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.3983, allocations: 7.625 kB / 0.5659 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.3985, allocations: 15.55 kB / 0.5659 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.3985, allocations: 24.23 kB / 0.566 GB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.3985, allocations: 11.62 kB / 0.566 GB, free: 8.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001907/0.3987, allocations: 218.6 kB / 0.5662 GB, free: 7.863 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3987, allocations: 4 kB / 0.5662 GB, free: 7.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004473/0.3992, allocations: 110.6 kB / 0.5663 GB, free: 7.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.3993, allocations: 122.4 kB / 0.5664 GB, free: 7.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006908/0.4, allocations: 478.5 kB / 0.5669 GB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4001, allocations: 0 / 0.5669 GB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.4003, allocations: 145 kB / 0.567 GB, free: 7.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.4006, allocations: 59.34 kB / 0.5671 GB, free: 7.109 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.4021, allocations: 1.247 MB / 0.5683 GB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.4025, allocations: 0.8803 MB / 0.5691 GB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000298/0.4029, allocations: 107.2 kB / 0.5692 GB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.485e-05/0.4029, allocations: 34.98 kB / 0.5693 GB, free: 4.875 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4029, allocations: 0 / 0.5693 GB, free: 4.875 MB / 378.7 MB Notification: Performance of Templates: time 0.006873/0.4098, allocations: 3.438 MB / 0.5726 GB, free: 1.449 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)