Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_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.453/2.453, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.002437/0.002436, allocations: 174.5 kB / 315.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.1 MB / 0.5658 GB, free: 344 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.001249/0.001249, allocations: 94.75 kB / 0.67 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4844/0.4857, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.7471, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8088/1.556, allocations: 166.3 MB / 1.046 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005961/1.557, allocations: 92 kB / 1.046 GB, free: 8.352 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.09473/1.651, allocations: 20.46 MB / 1.066 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/1.651, allocations: 12 kB / 1.066 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/1.654, allocations: 126.8 kB / 1.066 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/1.655, allocations: 287.3 kB / 1.066 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/1.655, allocations: 4 kB / 1.066 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/1.656, allocations: 12 kB / 1.066 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/1.657, allocations: 263.4 kB / 1.067 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/1.658, allocations: 375.8 kB / 1.067 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/1.658, allocations: 4 kB / 1.067 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/1.658, allocations: 0 / 1.067 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.888e-05/1.658, allocations: 27.86 kB / 1.067 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/1.662, allocations: 2.016 MB / 1.069 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/1.663, allocations: 281.3 kB / 1.069 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005932/1.663, allocations: 182.3 kB / 1.069 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/1.664, allocations: 89.28 kB / 1.07 GB, free: 4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.664, allocations: 37.81 kB / 1.07 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 2.815e-06/1.664, allocations: 0 / 1.07 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.003826/1.668, allocations: 0.8908 MB / 1.07 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/1.668, allocations: 85.14 kB / 1.071 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/1.668, allocations: 195.1 kB / 1.071 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/1.668, allocations: 25.7 kB / 1.071 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/1.668, allocations: 166.5 kB / 1.071 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/1.668, allocations: 117.2 kB / 1.071 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/1.668, allocations: 0 / 1.071 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.669, allocations: 333.8 kB / 1.071 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/1.669, allocations: 158.8 kB / 1.071 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/1.67, allocations: 271.3 kB / 1.072 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/1.67, allocations: 227.8 kB / 1.072 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.67, allocations: 11.91 kB / 1.072 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002046/1.672, allocations: 0.6004 MB / 1.073 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006444/1.673, allocations: 1.221 MB / 1.074 GB, free: 64 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.673, allocations: 7.938 kB / 1.074 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006928/1.674, allocations: 131.1 kB / 1.074 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009823/1.675, allocations: 103.6 kB / 1.074 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007263/1.682, allocations: 3.809 MB / 1.078 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/1.683, allocations: 36.12 kB / 1.078 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.684, allocations: 15.5 kB / 1.078 GB, free: 11.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/1.684, allocations: 4 kB / 1.078 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003009/1.687, allocations: 0.5234 MB / 1.078 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/1.687, allocations: 4 kB / 1.078 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007708/1.687, allocations: 128.6 kB / 1.078 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.689, allocations: 103.8 kB / 1.078 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/1.691, allocations: 1.128 MB / 1.08 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/1.692, allocations: 28.16 kB / 1.08 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/1.692, allocations: 19.25 kB / 1.08 GB, free: 10.08 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.0002729/1.692, allocations: 126.1 kB / 1.08 GB, free: 9.957 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/1.692, allocations: 27.7 kB / 1.08 GB, free: 9.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/1.694, allocations: 0.5669 MB / 1.08 GB, free: 9.488 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/1.694, allocations: 4 kB / 1.08 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.694, allocations: 0 / 1.08 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/1.695, allocations: 3.984 kB / 1.08 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/1.698, allocations: 1.218 MB / 1.082 GB, free: 8.395 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.698, allocations: 7.984 kB / 1.082 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/1.699, allocations: 59.91 kB / 1.082 GB, free: 8.328 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006889/1.7, allocations: 149.3 kB / 1.082 GB, free: 8.199 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/1.7, allocations: 4 kB / 1.082 GB, free: 8.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004503/1.704, allocations: 3.85 MB / 1.085 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/1.704, allocations: 4.031 kB / 1.085 GB, free: 4.25 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0019/1.706, allocations: 0.8234 MB / 1.086 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002513/1.709, allocations: 1.196 MB / 1.087 GB, free: 2.277 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004972/1.709, allocations: 141.3 kB / 1.088 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.709, allocations: 4 kB / 1.088 GB, free: 2.133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.711, allocations: 31.97 kB / 1.088 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/1.711, allocations: 27.62 kB / 1.088 GB, free: 2.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.681e-05/1.711, allocations: 8 kB / 1.088 GB, free: 2.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0003784/1.711, allocations: 153.8 kB / 1.088 GB, free: 1.945 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006223/1.718, allocations: 158.9 kB / 1.088 GB, free: 1.797 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.0005902/1.718, allocations: 155 kB / 1.088 GB, free: 1.633 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00382/1.722, allocations: 1.029 MB / 1.089 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.722, allocations: 0 / 1.089 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/1.724, allocations: 422.6 kB / 1.09 GB, free: 372 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.725, allocations: 46.8 kB / 1.09 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/1.728, allocations: 0.5613 MB / 1.09 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.729, allocations: 0.8447 MB / 1.091 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of SimCode: time 2.054e-06/1.729, allocations: 0 / 1.091 GB, free: 14.93 MB / 0.7136 GB