Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.284/2.284, allocations: 248.6 MB / 255.9 MB, free: 7.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001674/0.001673, allocations: 184.2 kB / 315.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.1 MB / 0.5658 GB, free: 316 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001802/0.001801, allocations: 93.55 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.523/0.5248, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.754, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7281/1.482, allocations: 162.2 MB / 1.042 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/1.482, allocations: 85.2 kB / 1.042 GB, free: 12.26 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.07928/1.562, allocations: 17.95 MB / 1.06 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/1.562, allocations: 12 kB / 1.06 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/1.564, allocations: 103.6 kB / 1.06 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/1.565, allocations: 270.7 kB / 1.06 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/1.565, allocations: 4 kB / 1.06 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/1.565, allocations: 16 kB / 1.06 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009527/1.566, allocations: 235.5 kB / 1.06 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.567, allocations: 317.6 kB / 1.06 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/1.567, allocations: 4 kB / 1.06 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/1.567, allocations: 0 / 1.06 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.75e-05/1.568, allocations: 28.39 kB / 1.06 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004759/1.572, allocations: 1.696 MB / 1.062 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/1.573, allocations: 199.7 kB / 1.062 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/1.573, allocations: 100.5 kB / 1.062 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/1.574, allocations: 89.11 kB / 1.062 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/1.574, allocations: 41.36 kB / 1.063 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 4.408e-06/1.574, allocations: 0 / 1.063 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.004128/1.578, allocations: 0.7037 MB / 1.063 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/1.578, allocations: 77.3 kB / 1.063 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/1.578, allocations: 179.5 kB / 1.063 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/1.579, allocations: 29.7 kB / 1.063 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/1.579, allocations: 156.3 kB / 1.064 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/1.579, allocations: 83.03 kB / 1.064 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/1.579, allocations: 4.031 kB / 1.064 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.579, allocations: 329.1 kB / 1.064 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/1.58, allocations: 130.8 kB / 1.064 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/1.58, allocations: 203.6 kB / 1.064 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/1.581, allocations: 198 kB / 1.065 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/1.581, allocations: 7.875 kB / 1.065 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00255/1.584, allocations: 0.5119 MB / 1.065 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/1.584, allocations: 8.031 kB / 1.065 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/1.584, allocations: 4 kB / 1.065 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009649/1.585, allocations: 132.6 kB / 1.065 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/1.586, allocations: 59.22 kB / 1.065 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005872/1.592, allocations: 3.841 MB / 1.069 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/1.592, allocations: 11.98 kB / 1.069 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/1.592, allocations: 8 kB / 1.069 GB, free: 4.121 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * 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.0002136/1.592, allocations: 113 kB / 1.069 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/1.592, allocations: 27.47 kB / 1.069 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/1.594, allocations: 488.8 kB / 1.07 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/1.594, allocations: 4 kB / 1.07 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.594, allocations: 0 / 1.07 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.594, allocations: 3.984 kB / 1.07 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/1.598, allocations: 0.9774 MB / 1.071 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/1.598, allocations: 4 kB / 1.071 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/1.598, allocations: 31.92 kB / 1.071 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/1.599, allocations: 141.2 kB / 1.071 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/1.599, allocations: 4 kB / 1.071 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006592/1.606, allocations: 3.821 MB / 1.074 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.606, allocations: 0 / 1.074 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001905/1.608, allocations: 0.7426 MB / 1.075 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00178/1.61, allocations: 1.121 MB / 1.076 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/1.61, allocations: 124.6 kB / 1.076 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/1.61, allocations: 11.91 kB / 1.076 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/1.611, allocations: 11.98 kB / 1.076 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/1.611, allocations: 19.55 kB / 1.076 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/1.611, allocations: 11.81 kB / 1.076 GB, free: 12.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0002077/1.611, allocations: 149.6 kB / 1.077 GB, free: 12.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001659/1.613, allocations: 99.8 kB / 1.077 GB, free: 12.39 MB / 0.698 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 (21): * Single equations (assignments): 17 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003386/1.613, allocations: 139.1 kB / 1.077 GB, free: 12.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001419/1.615, allocations: 0.5228 MB / 1.077 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.615, allocations: 4.125 kB / 1.077 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008348/1.615, allocations: 373.5 kB / 1.078 GB, free: 11.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/1.616, allocations: 27.59 kB / 1.078 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/1.617, allocations: 462.8 kB / 1.078 GB, free: 11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/1.618, allocations: 0.8215 MB / 1.079 GB, free: 10.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/1.618, allocations: 0 / 1.079 GB, free: 10.16 MB / 0.698 GB