Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002083/0.002083, allocations: 183.9 kB / 15.76 MB, free: 6.363 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 1.944/1.944, allocations: 205.4 MB / 221.9 MB, free: 13.77 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.001127/0.001127, allocations: 98.78 kB / 270.3 MB, free: 13.29 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.2576/0.2576, allocations: 38.07 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.000465, allocations: 12 kB / 422.7 MB, free: 26.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 56.33 MB / 479 MB, free: 2.051 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.5884, allocations: 102.1 MB / 0.5675 GB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.5888, allocations: 93.77 kB / 0.5676 GB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06584/0.6547, allocations: 14.62 MB / 0.5818 GB, free: 1.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6547, allocations: 4 kB / 0.5818 GB, free: 1.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.357e-05/0.6548, allocations: 12 kB / 0.5819 GB, free: 1.289 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001963/0.6567, allocations: 0.7186 MB / 0.5826 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.6568, allocations: 8.031 kB / 0.5826 GB, free: 0.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009828/0.6578, allocations: 99.28 kB / 0.5827 GB, free: 456 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/0.6613, allocations: 0.8705 MB / 0.5835 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.6614, allocations: 27.5 kB / 0.5835 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.6615, allocations: 40.66 kB / 0.5836 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.6629, allocations: 0.6398 MB / 0.5842 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.663, allocations: 4 kB / 0.5842 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.6631, allocations: 24.92 kB / 0.5842 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.6632, allocations: 40.55 kB / 0.5843 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.6644, allocations: 463 kB / 0.5847 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/0.6694, allocations: 3.05 MB / 0.5877 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/0.6702, allocations: 259 kB / 0.5879 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.6703, allocations: 3.984 kB / 0.5879 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.6704, allocations: 42.61 kB / 0.588 GB, free: 11.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.216e-06/0.6704, allocations: 0 / 0.588 GB, free: 11.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.002673/0.6731, allocations: 1.091 MB / 0.589 GB, free: 10.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.6732, allocations: 81.11 kB / 0.5891 GB, free: 10.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.6736, allocations: 286.1 kB / 0.5894 GB, free: 10.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.6737, allocations: 29.64 kB / 0.5894 GB, free: 10.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.674, allocations: 338.7 kB / 0.5897 GB, free: 9.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.6741, allocations: 104.4 kB / 0.5898 GB, free: 9.828 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.6741, allocations: 10.25 kB / 0.5899 GB, free: 9.824 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6743, allocations: 324.7 kB / 0.5902 GB, free: 9.504 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.6747, allocations: 149.7 kB / 0.5903 GB, free: 9.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.6752, allocations: 321.2 kB / 0.5906 GB, free: 9.059 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.6758, allocations: 209.6 kB / 0.5908 GB, free: 8.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.6758, allocations: 4 kB / 0.5908 GB, free: 8.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00187/0.6777, allocations: 0.6047 MB / 0.5914 GB, free: 8.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.6777, allocations: 8 kB / 0.5914 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001146/0.6789, allocations: 381.6 kB / 0.5918 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/0.6795, allocations: 104.7 kB / 0.5919 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.6802, allocations: 91.31 kB / 0.592 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/0.6843, allocations: 3.058 MB / 0.595 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.6849, allocations: 22.67 kB / 0.595 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.6849, allocations: 19.25 kB / 0.595 GB, free: 4.855 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (46): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004153/0.6853, allocations: 220.2 kB / 0.5952 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.6855, allocations: 39.52 kB / 0.5952 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.6865, allocations: 366.1 kB / 0.5956 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/0.6865, allocations: 8 kB / 0.5956 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.6865, allocations: 0 / 0.5956 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.6866, allocations: 7.984 kB / 0.5956 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.6886, allocations: 0.8788 MB / 0.5965 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6887, allocations: 4 kB / 0.5965 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007386/0.6894, allocations: 59.95 kB / 0.5965 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.6894, allocations: 0 / 0.5965 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.6895, allocations: 7.75 kB / 0.5965 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/0.6895, allocations: 7.984 kB / 0.5965 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6895, allocations: 8 kB / 0.5965 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.6908, allocations: 0.6069 MB / 0.5971 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.691, allocations: 139.3 kB / 0.5973 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.336e-05/0.6911, allocations: 11.55 kB / 0.5973 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.6915, allocations: 19.41 kB / 0.5973 GB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.6916, allocations: 23.22 kB / 0.5973 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.6916, allocations: 11.94 kB / 0.5973 GB, free: 2.797 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003336/0.6919, allocations: 214.9 kB / 0.5975 GB, free: 2.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.692, allocations: 0 / 0.5975 GB, free: 2.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007769/0.6927, allocations: 117.1 kB / 0.5977 GB, free: 2.523 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (28): * Single equations (assignments): 26 * 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.0002658/0.693, allocations: 138.6 kB / 0.5978 GB, free: 2.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.6946, allocations: 0.6226 MB / 0.5984 GB, free: 1.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6946, allocations: 0 / 0.5984 GB, free: 1.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.695, allocations: 154.2 kB / 0.5985 GB, free: 1.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.6956, allocations: 63.52 kB / 0.5986 GB, free: 1.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.6983, allocations: 1.309 MB / 0.5999 GB, free: 440 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.699, allocations: 0.8801 MB / 0.6007 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.6993, allocations: 35.44 kB / 0.6008 GB, free: 15.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6993, allocations: 0 / 0.6008 GB, free: 15.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01507/0.7144, allocations: 6.589 MB / 0.6072 GB, free: 8.957 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)