Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001539, allocations: 181.8 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 221.9 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001622/0.001621, allocations: 98.73 kB / 270.3 MB, free: 13.21 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2845/0.2845, allocations: 38.05 MB / 356.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006199/0.0006201, allocations: 16 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1141, allocations: 56.31 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.6046, allocations: 95.87 MB / 0.5614 GB, free: 3.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/0.605, allocations: 99.14 kB / 0.5615 GB, free: 3.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06871/0.6737, allocations: 12.9 MB / 0.5741 GB, free: 8.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6738, allocations: 0 / 0.5741 GB, free: 8.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.27e-05/0.6739, allocations: 8 kB / 0.5741 GB, free: 8.793 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001873/0.6758, allocations: 0.6934 MB / 0.5748 GB, free: 8.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.6758, allocations: 8.031 kB / 0.5748 GB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.677, allocations: 95.38 kB / 0.5749 GB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003594/0.6806, allocations: 0.8769 MB / 0.5758 GB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.6807, allocations: 20.5 kB / 0.5758 GB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.6808, allocations: 33.94 kB / 0.5758 GB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.682, allocations: 479.9 kB / 0.5763 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.682, allocations: 0 / 0.5763 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.6821, allocations: 13.69 kB / 0.5763 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.368e-05/0.6822, allocations: 27.64 kB / 0.5763 GB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/0.6831, allocations: 333.5 kB / 0.5766 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/0.6868, allocations: 1.636 MB / 0.5782 GB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.6874, allocations: 173.6 kB / 0.5784 GB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.6874, allocations: 8.047 kB / 0.5784 GB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.6875, allocations: 37.97 kB / 0.5784 GB, free: 4.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 5.19e-06/0.6875, allocations: 4 kB / 0.5784 GB, free: 4.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002131/0.6896, allocations: 0.7872 MB / 0.5792 GB, free: 4.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.6897, allocations: 81.11 kB / 0.5793 GB, free: 4.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.6902, allocations: 269.6 kB / 0.5795 GB, free: 3.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.6902, allocations: 28.83 kB / 0.5796 GB, free: 3.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.6904, allocations: 301.7 kB / 0.5798 GB, free: 3.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.839e-05/0.6905, allocations: 72.81 kB / 0.5799 GB, free: 3.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.6906, allocations: 7.5 kB / 0.5799 GB, free: 3.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6907, allocations: 324.1 kB / 0.5802 GB, free: 3.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.691, allocations: 93.69 kB / 0.5803 GB, free: 3.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.6914, allocations: 211.7 kB / 0.5805 GB, free: 2.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.6917, allocations: 133.6 kB / 0.5807 GB, free: 2.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.6917, allocations: 4 kB / 0.5807 GB, free: 2.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001304/0.6931, allocations: 416.9 kB / 0.5811 GB, free: 2.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.6931, allocations: 4 kB / 0.5811 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008161/0.6939, allocations: 260 kB / 0.5813 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.6945, allocations: 84.39 kB / 0.5814 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.6951, allocations: 63.34 kB / 0.5814 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.6974, allocations: 1.609 MB / 0.583 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.6979, allocations: 19.61 kB / 0.583 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.6979, allocations: 15.11 kB / 0.5831 GB, free: 0.5508 MB / 378.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.0003752/0.6983, allocations: 192.7 kB / 0.5832 GB, free: 392 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/0.6984, allocations: 35.58 kB / 0.5833 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007012/0.6991, allocations: 260.7 kB / 0.5835 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.6992, allocations: 4 kB / 0.5835 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6992, allocations: 4 kB / 0.5835 GB, free: 156 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.6992, allocations: 3.984 kB / 0.5835 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.7011, allocations: 0.7508 MB / 0.5843 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7011, allocations: 3.938 kB / 0.5843 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.7017, allocations: 55.22 kB / 0.5843 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.7017, allocations: 0 / 0.5843 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.7018, allocations: 8.062 kB / 0.5843 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.7018, allocations: 7.984 kB / 0.5843 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7018, allocations: 0 / 0.5843 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009963/0.7028, allocations: 488.5 kB / 0.5848 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.703, allocations: 112.7 kB / 0.5849 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.703, allocations: 11.56 kB / 0.5849 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.7033, allocations: 7.234 kB / 0.5849 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.7034, allocations: 15.94 kB / 0.5849 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.7034, allocations: 11.38 kB / 0.585 GB, free: 14.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003642/0.7038, allocations: 215 kB / 0.5852 GB, free: 14.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7038, allocations: 3.938 kB / 0.5852 GB, free: 14.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006799/0.7045, allocations: 98.06 kB / 0.5853 GB, free: 14.56 MB / 394.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.0003334/0.7049, allocations: 121.7 kB / 0.5854 GB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.7059, allocations: 372.8 kB / 0.5857 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.706, allocations: 3.938 kB / 0.5857 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.7062, allocations: 97.2 kB / 0.5858 GB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/0.707, allocations: 69.22 kB / 0.5859 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.7097, allocations: 1.177 MB / 0.587 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/0.7104, allocations: 0.8613 MB / 0.5879 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.7106, allocations: 27.44 kB / 0.5879 GB, free: 11.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7106, allocations: 0 / 0.5879 GB, free: 11.96 MB / 394.7 MB Notification: Performance of Templates: time 0.01362/0.7243, allocations: 5.217 MB / 0.593 GB, free: 6.801 MB / 394.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)