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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002535/0.002535, allocations: 185.7 kB / 7.806 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.001247/0.001247, allocations: 97.16 kB / 261.4 MB, free: 13.59 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.2525/0.2525, allocations: 37.98 MB / 347.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.676e-06/8.696e-06, allocations: 4 kB / 409.3 MB, free: 47.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 56.32 MB / 465.6 MB, free: 6.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/0.4602, allocations: 109 MB / 0.5611 GB, free: 1.809 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/0.4606, allocations: 91.94 kB / 0.5612 GB, free: 1.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1515/0.6121, allocations: 23.89 MB / 0.5846 GB, free: 9.547 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.276e-05/0.6122, allocations: 20 kB / 0.5846 GB, free: 9.527 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.004543/0.6167, allocations: 1.178 MB / 0.5857 GB, free: 8.297 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.6168, allocations: 8.031 kB / 0.5857 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.6183, allocations: 146.8 kB / 0.5859 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005902/0.6242, allocations: 1.249 MB / 0.5871 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003882/0.6246, allocations: 155.1 kB / 0.5873 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/0.625, allocations: 47.91 kB / 0.5873 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003537/0.6285, allocations: 1.203 MB / 0.5885 GB, free: 5.434 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/0.6319, allocations: 1.244 MB / 0.5897 GB, free: 4.141 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.132e-05/0.632, allocations: 4 kB / 0.5897 GB, free: 4.137 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.6321, allocations: 4 kB / 0.5897 GB, free: 4.133 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003148/0.6325, allocations: 73.95 kB / 0.5898 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.6463, allocations: 4.354 MB / 0.594 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.6491, allocations: 1.008 MB / 0.595 GB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.6511, allocations: 0.7589 MB / 0.5957 GB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.771e-05/0.6512, allocations: 12.64 kB / 0.5958 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.6513, allocations: 43.22 kB / 0.5958 GB, free: 13.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 4.228e-06/0.6513, allocations: 0 / 0.5958 GB, free: 13.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=104): time 0.01062/0.6619, allocations: 3.307 MB / 0.599 GB, free: 10.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.662, allocations: 86.33 kB / 0.5991 GB, free: 10.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.6625, allocations: 282 kB / 0.5994 GB, free: 9.977 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.6627, allocations: 25.7 kB / 0.5994 GB, free: 9.945 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.6629, allocations: 338.8 kB / 0.5997 GB, free: 9.609 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/0.6634, allocations: 354.7 kB / 0.6001 GB, free: 9.258 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.55e-05/0.6635, allocations: 0 / 0.6001 GB, free: 9.258 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.6637, allocations: 354.7 kB / 0.6004 GB, free: 8.902 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.6652, allocations: 0.5525 MB / 0.6009 GB, free: 8.348 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.6668, allocations: 0.7014 MB / 0.6016 GB, free: 7.594 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002564/0.6693, allocations: 0.7521 MB / 0.6024 GB, free: 6.844 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.6694, allocations: 0 / 0.6024 GB, free: 6.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004705/0.6741, allocations: 1.589 MB / 0.6039 GB, free: 5.227 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6742, allocations: 8 kB / 0.6039 GB, free: 5.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.6742, allocations: 7.938 kB / 0.6039 GB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.6744, allocations: 29.33 kB / 0.604 GB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005945/0.6803, allocations: 0.6633 MB / 0.6046 GB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008225/0.6886, allocations: 5.754 MB / 0.6102 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.69, allocations: 71.98 kB / 0.6103 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.6902, allocations: 35.94 kB / 0.6103 GB, free: 14.21 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 (104): * Single equations (assignments): 96 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002852/0.6905, allocations: 41.58 kB / 0.6104 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.6907, allocations: 63.23 kB / 0.6104 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004787/0.6955, allocations: 1.609 MB / 0.612 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001542/0.6957, allocations: 31.97 kB / 0.612 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.6958, allocations: 3.984 kB / 0.612 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.6958, allocations: 3.984 kB / 0.612 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009776/0.7056, allocations: 2.813 MB / 0.6148 GB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.7056, allocations: 4 kB / 0.6148 GB, free: 9.516 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01055/0.7162, allocations: 0.7222 MB / 0.6155 GB, free: 8.793 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.7164, allocations: 20.86 kB / 0.6155 GB, free: 8.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003023/0.7168, allocations: 15.98 kB / 0.6155 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.7187, allocations: 1.333 MB / 0.6168 GB, free: 7.309 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.7188, allocations: 4.031 kB / 0.6168 GB, free: 7.305 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007166/0.726, allocations: 2.676 MB / 0.6194 GB, free: 4.512 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.7263, allocations: 128.3 kB / 0.6196 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.7265, allocations: 8 kB / 0.6196 GB, free: 4.359 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.7277, allocations: 63.92 kB / 0.6196 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.728, allocations: 64.56 kB / 0.6197 GB, free: 4.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.7281, allocations: 35.89 kB / 0.6197 GB, free: 4.195 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0003621/0.7285, allocations: 212.6 kB / 0.6199 GB, free: 3.984 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001247/0.7298, allocations: 231.9 kB / 0.6202 GB, free: 3.758 MB / 458.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 (85): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004394/0.7302, allocations: 168.4 kB / 0.6203 GB, free: 3.586 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008658/0.7389, allocations: 2.058 MB / 0.6223 GB, free: 1.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.7389, allocations: 0.5 kB / 0.6223 GB, free: 1.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007641/0.7466, allocations: 1.563 MB / 0.6239 GB, free: 15.94 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.7476, allocations: 85.14 kB / 0.6239 GB, free: 15.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008102/0.7557, allocations: 2.313 MB / 0.6262 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/0.7574, allocations: 1.153 MB / 0.6273 GB, free: 12.29 MB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7575, allocations: 0 / 0.6273 GB, free: 12.29 MB / 474.7 MB Notification: Performance of Templates: time 0.23/0.9875, allocations: 22.53 MB / 0.6493 GB, free: 129.6 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)