Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.331/1.331, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009703/0.0009703, allocations: 177.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9998/0.9998, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007335/0.0007335, allocations: 91.2 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.4e-06, allocations: 0 / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3887, allocations: 115.3 MB / 0.9637 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.5393, allocations: 170.2 MB / 1.13 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.5396, allocations: 100.6 kB / 1.13 GB, free: 1.715 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd: time 0.04517/0.5847, allocations: 19.86 MB / 1.149 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.5848, allocations: 8 kB / 1.149 GB, free: 13.79 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007423/0.5855, allocations: 0.5646 MB / 1.15 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.5856, allocations: 8.531 kB / 1.15 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009728/0.5865, allocations: 135.4 kB / 1.15 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.5869, allocations: 270.5 kB / 1.15 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.587, allocations: 11.19 kB / 1.15 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.587, allocations: 12 kB / 1.15 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004116/0.5874, allocations: 265 kB / 1.151 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.5879, allocations: 367.4 kB / 1.151 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.5879, allocations: 7.844 kB / 1.151 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.588, allocations: 4 kB / 1.151 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.588, allocations: 32.41 kB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.5903, allocations: 2.01 MB / 1.153 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.5907, allocations: 274.6 kB / 1.153 GB, free: 9.547 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.591, allocations: 186 kB / 1.153 GB, free: 9.359 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.5911, allocations: 85.28 kB / 1.153 GB, free: 9.258 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.5911, allocations: 38.75 kB / 1.153 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.5912, allocations: 4 kB / 1.153 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.002057/0.5932, allocations: 0.8867 MB / 1.154 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.5933, allocations: 81.11 kB / 1.154 GB, free: 8.211 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.5935, allocations: 203.8 kB / 1.155 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.5935, allocations: 29.7 kB / 1.155 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.5936, allocations: 171.9 kB / 1.155 GB, free: 7.797 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.015e-05/0.5937, allocations: 106.3 kB / 1.155 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.5937, allocations: 4 kB / 1.155 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5938, allocations: 334.8 kB / 1.155 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.594, allocations: 168.8 kB / 1.155 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.5943, allocations: 264.3 kB / 1.156 GB, free: 6.883 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.5947, allocations: 231.1 kB / 1.156 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5948, allocations: 0 / 1.156 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001068/0.5958, allocations: 0.5972 MB / 1.156 GB, free: 6.047 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003844/0.5962, allocations: 1.215 MB / 1.158 GB, free: 4.738 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.5962, allocations: 4 kB / 1.158 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/0.5966, allocations: 139.3 kB / 1.158 GB, free: 4.586 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.5971, allocations: 95.88 kB / 1.158 GB, free: 4.492 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.5996, allocations: 3.825 MB / 1.162 GB, free: 396 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.5999, allocations: 27.97 kB / 1.162 GB, free: 368 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.6, allocations: 20 kB / 1.162 GB, free: 348 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-06/0.6, allocations: 4 kB / 1.162 GB, free: 344 kB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009939/0.601, allocations: 0.5282 MB / 1.162 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.601, allocations: 4.406 kB / 1.162 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/0.6013, allocations: 131.4 kB / 1.162 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.6017, allocations: 99.88 kB / 1.162 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000622/0.6024, allocations: 1.128 MB / 1.164 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.6027, allocations: 32.03 kB / 1.164 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.6027, allocations: 16 kB / 1.164 GB, free: 14.33 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.6028, allocations: 120.8 kB / 1.164 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.6029, allocations: 31.62 kB / 1.164 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009722/0.6039, allocations: 0.5511 MB / 1.164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.6039, allocations: 7.906 kB / 1.164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6039, allocations: 4 kB / 1.164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6039, allocations: 3.984 kB / 1.164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.6058, allocations: 1.214 MB / 1.165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6058, allocations: 5.875 kB / 1.165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.6061, allocations: 72.14 kB / 1.166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003651/0.6065, allocations: 147.2 kB / 1.166 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.6065, allocations: 4 kB / 1.166 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.609, allocations: 3.846 MB / 1.169 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.609, allocations: 0 / 1.169 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009738/0.61, allocations: 0.8193 MB / 1.17 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.6102, allocations: 140.7 kB / 1.17 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.6102, allocations: 4 kB / 1.17 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.6106, allocations: 27.97 kB / 1.17 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.6106, allocations: 27.97 kB / 1.17 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.6107, allocations: 19.89 kB / 1.17 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001273/0.6108, allocations: 156.5 kB / 1.171 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006926/0.6115, allocations: 147.9 kB / 1.171 GB, free: 6.473 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00021/0.6117, allocations: 160.9 kB / 1.171 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.6131, allocations: 1.032 MB / 1.172 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6131, allocations: 0.5 kB / 1.172 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.6136, allocations: 428.8 kB / 1.172 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.614, allocations: 54.95 kB / 1.172 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.615, allocations: 0.5596 MB / 1.173 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.6155, allocations: 0.8385 MB / 1.174 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of SimCode: time 2.6e-07/0.6155, allocations: 3.938 kB / 1.174 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of Templates: time 0.0108/0.6263, allocations: 6.795 MB / 1.18 GB, free: 12.58 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)