Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001584/0.001584, allocations: 185.3 kB / 13.19 MB, free: 2.125 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.989/1.989, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001067/0.001067, allocations: 93 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3189/0.3189, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.939e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 56.31 MB / 473.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5086/0.6178, allocations: 109.7 MB / 0.5691 GB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.6182, allocations: 99.88 kB / 0.5692 GB, free: 9.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1172/0.7355, allocations: 24.38 MB / 0.593 GB, free: 1.273 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7356, allocations: 4 kB / 0.593 GB, free: 1.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.177e-05/0.7356, allocations: 20 kB / 0.5931 GB, free: 1.25 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005513/0.7412, allocations: 1.205 MB / 0.5942 GB, free: 15.99 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.671e-05/0.7413, allocations: 8.031 kB / 0.5942 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.7428, allocations: 142.8 kB / 0.5944 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006198/0.7491, allocations: 1.246 MB / 0.5956 GB, free: 14.56 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004805/0.7496, allocations: 183 kB / 0.5958 GB, free: 14.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004826/0.7501, allocations: 79.91 kB / 0.5958 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/0.7543, allocations: 1.322 MB / 0.5971 GB, free: 12.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.275e-05/0.7544, allocations: 8 kB / 0.5971 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.7546, allocations: 39.92 kB / 0.5972 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002908/0.7549, allocations: 77.95 kB / 0.5973 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/0.7595, allocations: 1.347 MB / 0.5986 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.7734, allocations: 4.424 MB / 0.6029 GB, free: 6.898 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/0.7769, allocations: 1.173 MB / 0.604 GB, free: 5.684 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.779, allocations: 0.6922 MB / 0.6047 GB, free: 4.984 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.7792, allocations: 12.77 kB / 0.6047 GB, free: 4.973 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.7792, allocations: 47.34 kB / 0.6048 GB, free: 4.918 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 5.17e-06/0.7792, allocations: 3.938 kB / 0.6048 GB, free: 4.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=104): time 0.008118/0.7874, allocations: 2.791 MB / 0.6075 GB, free: 2.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.7875, allocations: 89.89 kB / 0.6076 GB, free: 1.965 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.7882, allocations: 351 kB / 0.6079 GB, free: 1.617 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.7885, allocations: 41.7 kB / 0.608 GB, free: 1.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.7888, allocations: 386.8 kB / 0.6083 GB, free: 1.188 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005763/0.7894, allocations: 354.8 kB / 0.6087 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/0.7895, allocations: 16 kB / 0.6087 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.7897, allocations: 350.8 kB / 0.609 GB, free: 480 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.7912, allocations: 0.5368 MB / 0.6095 GB, free: 15.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.7928, allocations: 0.6682 MB / 0.6102 GB, free: 15.22 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.7947, allocations: 0.6097 MB / 0.6108 GB, free: 14.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.7947, allocations: 0 / 0.6108 GB, free: 14.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003973/0.7987, allocations: 1.335 MB / 0.6121 GB, free: 13.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.7988, allocations: 6.031 kB / 0.6121 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.7988, allocations: 4 kB / 0.6121 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/0.7989, allocations: 8 kB / 0.6121 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005526/0.8044, allocations: 0.6243 MB / 0.6127 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006958/0.8114, allocations: 4.554 MB / 0.6172 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.813, allocations: 95.88 kB / 0.6173 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/0.8132, allocations: 28 kB / 0.6173 GB, free: 7.559 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003506/0.8136, allocations: 156.8 kB / 0.6174 GB, free: 7.398 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/0.8139, allocations: 71.14 kB / 0.6175 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.8178, allocations: 1.335 MB / 0.6188 GB, free: 5.984 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.141e-05/0.818, allocations: 24 kB / 0.6188 GB, free: 5.961 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.818, allocations: 7.984 kB / 0.6188 GB, free: 5.953 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.818, allocations: 3.984 kB / 0.6188 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008205/0.8262, allocations: 2.681 MB / 0.6215 GB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.8263, allocations: 0 / 0.6215 GB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006353/0.8327, allocations: 0.683 MB / 0.6221 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/0.8328, allocations: 12 kB / 0.6221 GB, free: 2.488 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/0.833, allocations: 27.94 kB / 0.6222 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/0.833, allocations: 4 kB / 0.6222 GB, free: 2.457 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.833, allocations: 4 kB / 0.6222 GB, free: 2.453 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/0.8389, allocations: 2.321 MB / 0.6244 GB, free: 44 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.8393, allocations: 136.3 kB / 0.6246 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.8396, allocations: 28.05 kB / 0.6246 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.8408, allocations: 83.91 kB / 0.6247 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.8411, allocations: 72.61 kB / 0.6247 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.8413, allocations: 27.98 kB / 0.6248 GB, free: 15.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005325/0.8418, allocations: 273.2 kB / 0.625 GB, free: 15.42 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8418, allocations: 0 / 0.625 GB, free: 15.42 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001361/0.8432, allocations: 263.8 kB / 0.6253 GB, free: 15.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 4 * 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.0005514/0.8438, allocations: 175 kB / 0.6255 GB, free: 14.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006947/0.8508, allocations: 1.654 MB / 0.6271 GB, free: 13.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.8508, allocations: 3.938 kB / 0.6271 GB, free: 13.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005458/0.8563, allocations: 1.122 MB / 0.6282 GB, free: 12.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.8577, allocations: 137.7 kB / 0.6283 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00797/0.8658, allocations: 2.306 MB / 0.6306 GB, free: 9.703 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.8669, allocations: 1.092 MB / 0.6316 GB, free: 8.586 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007493/0.8677, allocations: 71.42 kB / 0.6317 GB, free: 8.516 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/0.8677, allocations: 0 / 0.6317 GB, free: 8.516 MB / 474.7 MB Notification: Performance of Templates: time 0.3524/1.22, allocations: 20.1 MB / 0.6513 GB, free: 133.1 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)