Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001651/0.001651, allocations: 173 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.809/2.809, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 85.05 kB / 271.3 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3878/0.3878, allocations: 38.08 MB / 357.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006046/0.0006047, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.5382, allocations: 56.31 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.7443, allocations: 95.89 MB / 0.5627 GB, free: 6.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004354/0.7448, allocations: 95.94 kB / 0.5627 GB, free: 6.359 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06052/0.8053, allocations: 12.88 MB / 0.5753 GB, free: 9.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.421e-06/0.8054, allocations: 0 / 0.5753 GB, free: 9.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.521e-05/0.8055, allocations: 11.94 kB / 0.5753 GB, free: 9.309 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002089/0.8076, allocations: 0.6724 MB / 0.576 GB, free: 8.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.8076, allocations: 12.03 kB / 0.576 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009189/0.8086, allocations: 100.2 kB / 0.5761 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.81, allocations: 0.5816 MB / 0.5767 GB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.8101, allocations: 25.38 kB / 0.5767 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.659e-05/0.8102, allocations: 40.36 kB / 0.5767 GB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009065/0.8111, allocations: 469.3 kB / 0.5772 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.8111, allocations: 7.844 kB / 0.5772 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.8112, allocations: 16 kB / 0.5772 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.8112, allocations: 24.98 kB / 0.5772 GB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006555/0.8119, allocations: 339.7 kB / 0.5775 GB, free: 6.926 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.8147, allocations: 1.633 MB / 0.5791 GB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.8151, allocations: 173.1 kB / 0.5793 GB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.8154, allocations: 118.3 kB / 0.5794 GB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.8154, allocations: 4 kB / 0.5794 GB, free: 4.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.8154, allocations: 38.56 kB / 0.5795 GB, free: 4.836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.875e-06/0.8154, allocations: 0 / 0.5795 GB, free: 4.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0015/0.817, allocations: 0.7712 MB / 0.5802 GB, free: 4.012 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.817, allocations: 81.17 kB / 0.5803 GB, free: 3.914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.8174, allocations: 316.4 kB / 0.5806 GB, free: 3.594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.8174, allocations: 29.7 kB / 0.5806 GB, free: 3.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.8176, allocations: 243.6 kB / 0.5808 GB, free: 3.316 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.8177, allocations: 82.83 kB / 0.5809 GB, free: 3.234 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.8177, allocations: 4 kB / 0.5809 GB, free: 3.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8178, allocations: 342.8 kB / 0.5813 GB, free: 2.887 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.818, allocations: 95.94 kB / 0.5813 GB, free: 2.793 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.8182, allocations: 204.4 kB / 0.5815 GB, free: 2.547 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.8187, allocations: 332.3 kB / 0.5819 GB, free: 2.176 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8187, allocations: 0 / 0.5819 GB, free: 2.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008219/0.8195, allocations: 425.6 kB / 0.5823 GB, free: 1.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.8195, allocations: 9.719 kB / 0.5823 GB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005026/0.82, allocations: 252.6 kB / 0.5825 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003851/0.8204, allocations: 92.98 kB / 0.5826 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.8207, allocations: 63.91 kB / 0.5827 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.8224, allocations: 1.581 MB / 0.5842 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.8226, allocations: 8 kB / 0.5842 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.8227, allocations: 19.98 kB / 0.5842 GB, free: 15.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003668/0.823, allocations: 193.8 kB / 0.5844 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.8231, allocations: 31.56 kB / 0.5845 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.8236, allocations: 272.8 kB / 0.5847 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8236, allocations: 7.938 kB / 0.5847 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.8236, allocations: 4 kB / 0.5847 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.8236, allocations: 3.984 kB / 0.5847 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.8248, allocations: 0.7541 MB / 0.5855 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.8248, allocations: 4 kB / 0.5855 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.8251, allocations: 59.97 kB / 0.5855 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.8251, allocations: 0 / 0.5855 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.8252, allocations: 8 kB / 0.5855 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.8252, allocations: 3.984 kB / 0.5855 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8252, allocations: 4 kB / 0.5855 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.8258, allocations: 457.5 kB / 0.586 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/0.8259, allocations: 104.8 kB / 0.5861 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.8259, allocations: 8 kB / 0.5861 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.8261, allocations: 11.98 kB / 0.5861 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.8261, allocations: 15.92 kB / 0.5861 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.8262, allocations: 4 kB / 0.5861 GB, free: 13.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002242/0.8264, allocations: 219 kB / 0.5863 GB, free: 13.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.253e-06/0.8264, allocations: 0 / 0.5863 GB, free: 13.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005087/0.8269, allocations: 107.9 kB / 0.5864 GB, free: 13.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * Array equations: 0 * 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.0002067/0.8271, allocations: 121.9 kB / 0.5865 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006877/0.8278, allocations: 374.9 kB / 0.5869 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8278, allocations: 0 / 0.5869 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.828, allocations: 99.89 kB / 0.587 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.8285, allocations: 56.95 kB / 0.5871 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.8302, allocations: 1.186 MB / 0.5882 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.8307, allocations: 0.8463 MB / 0.589 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.8308, allocations: 35.44 kB / 0.5891 GB, free: 10.44 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.8308, allocations: 0 / 0.5891 GB, free: 10.44 MB / 426.7 MB Notification: Performance of Templates: time 0.009655/0.8404, allocations: 5.302 MB / 0.5942 GB, free: 5.137 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)