Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",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.399/2.399, allocations: 248.6 MB / 255.9 MB, free: 7.137 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.002393/0.002393, allocations: 180.1 kB / 315.1 MB, free: 4.309 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.134/2.134, allocations: 205.1 MB / 0.5658 GB, free: 372 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.001377/0.001377, allocations: 85.62 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5065/0.5079, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.7172, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.754/1.471, allocations: 164.8 MB / 1.044 GB, free: 9.82 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005177/1.472, allocations: 93.5 kB / 1.045 GB, free: 9.77 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.1191/1.591, allocations: 20.2 MB / 1.064 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.089e-05/1.591, allocations: 8 kB / 1.064 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003408/1.594, allocations: 119.5 kB / 1.064 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/1.596, allocations: 277.2 kB / 1.065 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/1.596, allocations: 12 kB / 1.065 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/1.596, allocations: 12 kB / 1.065 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001355/1.597, allocations: 267 kB / 1.065 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/1.599, allocations: 363.6 kB / 1.065 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/1.599, allocations: 4 kB / 1.065 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.378e-05/1.599, allocations: 0 / 1.065 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.558e-05/1.599, allocations: 35.86 kB / 1.065 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006216/1.605, allocations: 2.008 MB / 1.067 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/1.606, allocations: 289.1 kB / 1.068 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000805/1.607, allocations: 171.9 kB / 1.068 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/1.607, allocations: 93.28 kB / 1.068 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/1.608, allocations: 42.06 kB / 1.068 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 5.019e-06/1.608, allocations: 0 / 1.068 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.005697/1.613, allocations: 0.8934 MB / 1.069 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/1.613, allocations: 81.11 kB / 1.069 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/1.614, allocations: 199.9 kB / 1.069 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.302e-05/1.614, allocations: 29.27 kB / 1.069 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/1.614, allocations: 165.9 kB / 1.069 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/1.614, allocations: 112.5 kB / 1.069 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/1.614, allocations: 0 / 1.069 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002277/1.615, allocations: 337.5 kB / 1.07 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/1.615, allocations: 162.6 kB / 1.07 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007936/1.616, allocations: 273.1 kB / 1.07 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/1.617, allocations: 226.7 kB / 1.07 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.028e-06/1.617, allocations: 3.906 kB / 1.07 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003088/1.621, allocations: 0.5922 MB / 1.071 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009148/1.622, allocations: 1.224 MB / 1.072 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/1.622, allocations: 4 kB / 1.072 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/1.623, allocations: 133.5 kB / 1.072 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/1.624, allocations: 99.38 kB / 1.072 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006974/1.631, allocations: 3.815 MB / 1.076 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.632, allocations: 35.97 kB / 1.076 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.633, allocations: 15.94 kB / 1.076 GB, free: 13.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.633, allocations: 4 kB / 1.076 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003006/1.636, allocations: 0.5344 MB / 1.077 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/1.636, allocations: 4 kB / 1.077 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008214/1.637, allocations: 127 kB / 1.077 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/1.638, allocations: 103.5 kB / 1.077 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/1.639, allocations: 1.134 MB / 1.078 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/1.64, allocations: 28.08 kB / 1.078 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/1.64, allocations: 19.36 kB / 1.078 GB, free: 11.73 MB / 0.698 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.0002906/1.64, allocations: 116.8 kB / 1.078 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/1.64, allocations: 23.72 kB / 1.078 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/1.642, allocations: 0.5571 MB / 1.079 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.642, allocations: 4 kB / 1.079 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.642, allocations: 0 / 1.079 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.643, allocations: 7.984 kB / 1.079 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/1.646, allocations: 1.217 MB / 1.08 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.646, allocations: 4 kB / 1.08 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/1.647, allocations: 75.58 kB / 1.08 GB, free: 9.988 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006861/1.647, allocations: 141.6 kB / 1.08 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/1.648, allocations: 4 kB / 1.08 GB, free: 9.859 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004636/1.652, allocations: 3.848 MB / 1.084 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/1.652, allocations: 4 kB / 1.084 GB, free: 5.91 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001906/1.654, allocations: 0.8286 MB / 1.085 GB, free: 5.102 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002123/1.656, allocations: 1.193 MB / 1.086 GB, free: 3.934 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/1.657, allocations: 137.9 kB / 1.086 GB, free: 3.797 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.746e-05/1.657, allocations: 4 kB / 1.086 GB, free: 3.793 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005974/1.657, allocations: 27.97 kB / 1.086 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.657, allocations: 31.31 kB / 1.086 GB, free: 3.738 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/1.658, allocations: 19.86 kB / 1.086 GB, free: 3.723 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0002351/1.658, allocations: 151.8 kB / 1.086 GB, free: 3.598 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002987/1.661, allocations: 162.4 kB / 1.086 GB, free: 3.445 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 (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.0004238/1.661, allocations: 143 kB / 1.086 GB, free: 3.297 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002761/1.664, allocations: 1.028 MB / 1.087 GB, free: 2.402 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.664, allocations: 0.5 kB / 1.087 GB, free: 2.402 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001696/1.666, allocations: 428.6 kB / 1.088 GB, free: 2.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/1.667, allocations: 40.12 kB / 1.088 GB, free: 1.988 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/1.671, allocations: 0.5723 MB / 1.088 GB, free: 1.445 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/1.672, allocations: 0.8426 MB / 1.089 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of SimCode: time 1.683e-06/1.672, allocations: 0 / 1.089 GB, free: 0.5898 MB / 0.698 GB