Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 4.206/4.206, allocations: 403.9 MB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2797/4.485, allocations: 95.01 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/5.02, allocations: 92.7 MB / 0.5846 GB, free: 3.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3156/5.336, allocations: 154 MB / 0.735 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004286/5.336, allocations: 87.94 kB / 0.7351 GB, free: 11.53 MB / 0.6198 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:41:5-41: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.09819/5.435, allocations: 20.3 MB / 0.7549 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/5.435, allocations: 8 kB / 0.7549 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/5.437, allocations: 123.5 kB / 0.755 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/5.437, allocations: 274.5 kB / 0.7553 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/5.437, allocations: 8 kB / 0.7553 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/5.437, allocations: 15.98 kB / 0.7553 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008638/5.438, allocations: 261 kB / 0.7556 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/5.439, allocations: 367.4 kB / 0.7559 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/5.439, allocations: 0 / 0.7559 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/5.439, allocations: 0 / 0.7559 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.179e-05/5.439, allocations: 40.41 kB / 0.756 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00411/5.444, allocations: 1.705 MB / 0.7576 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/5.444, allocations: 281.5 kB / 0.7579 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/5.445, allocations: 178 kB / 0.7581 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/5.445, allocations: 85.28 kB / 0.7581 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/5.445, allocations: 38.75 kB / 0.7582 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 2.875e-06/5.445, allocations: 0 / 0.7582 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.004084/5.449, allocations: 0.8884 MB / 0.759 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/5.449, allocations: 89.12 kB / 0.7591 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/5.45, allocations: 199.8 kB / 0.7593 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/5.45, allocations: 29.7 kB / 0.7593 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/5.45, allocations: 164.1 kB / 0.7595 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/5.45, allocations: 110.3 kB / 0.7596 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/5.45, allocations: 4 kB / 0.7596 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001473/5.45, allocations: 334.7 kB / 0.7599 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/5.451, allocations: 164.8 kB / 0.7601 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/5.451, allocations: 268.3 kB / 0.7603 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/5.452, allocations: 223.8 kB / 0.7606 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/5.452, allocations: 0 / 0.7606 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002167/5.455, allocations: 0.6057 MB / 0.7611 GB, free: 200 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.00051/5.455, allocations: 1.225 MB / 0.7623 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/5.455, allocations: 4 kB / 0.7624 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007241/5.456, allocations: 143.3 kB / 0.7625 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/5.457, allocations: 99.88 kB / 0.7626 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004516/5.461, allocations: 3.804 MB / 0.7663 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007294/5.462, allocations: 36.16 kB / 0.7663 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/5.462, allocations: 20 kB / 0.7664 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/5.462, allocations: 7.938 kB / 0.7664 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002031/5.464, allocations: 0.5222 MB / 0.7669 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/5.464, allocations: 4 kB / 0.7669 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005826/5.465, allocations: 139.7 kB / 0.767 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/5.466, allocations: 91.89 kB / 0.7671 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/5.468, allocations: 1.128 MB / 0.7682 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006924/5.468, allocations: 28.17 kB / 0.7682 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/5.468, allocations: 19.98 kB / 0.7682 GB, free: 8.473 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conversion.P_n[1]:DUMMY_STATE(unit = "W" protected = true ) "Power transmitted at pin n (primary)" type: Real [2] 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.0002873/5.469, allocations: 128.7 kB / 0.7684 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/5.469, allocations: 31.66 kB / 0.7684 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/5.471, allocations: 0.5392 MB / 0.7689 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/5.471, allocations: 4 kB / 0.7689 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/5.471, allocations: 4 kB / 0.7689 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/5.471, allocations: 3.984 kB / 0.7689 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/5.475, allocations: 1.221 MB / 0.7701 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.495e-06/5.475, allocations: 0 / 0.7701 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008125/5.476, allocations: 71.89 kB / 0.7702 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000779/5.476, allocations: 139.6 kB / 0.7703 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/5.476, allocations: 4 kB / 0.7703 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/5.481, allocations: 3.855 MB / 0.7741 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/5.481, allocations: 4 kB / 0.7741 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002046/5.483, allocations: 0.8233 MB / 0.7749 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00301/5.486, allocations: 1.199 MB / 0.7761 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/5.487, allocations: 128.8 kB / 0.7762 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/5.487, allocations: 7.984 kB / 0.7762 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009946/5.488, allocations: 27.98 kB / 0.7762 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/5.488, allocations: 31.86 kB / 0.7763 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.68e-05/5.488, allocations: 16 kB / 0.7763 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003619/5.489, allocations: 152.5 kB / 0.7764 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005438/5.494, allocations: 155.9 kB / 0.7766 GB, free: 15.29 MB / 0.6667 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.0006371/5.495, allocations: 150.8 kB / 0.7767 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004005/5.499, allocations: 1.04 MB / 0.7777 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/5.499, allocations: 0 / 0.7777 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/5.501, allocations: 428.1 kB / 0.7781 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/5.502, allocations: 52.19 kB / 0.7782 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/5.505, allocations: 0.5796 MB / 0.7788 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/5.506, allocations: 0.8385 MB / 0.7796 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of SimCode: time 2.475e-06/5.506, allocations: 0 / 0.7796 GB, free: 12.04 MB / 0.6667 GB