Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_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 3.898/3.898, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2507/4.148, allocations: 95.01 MB / 0.4941 GB, free: 7.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/4.692, allocations: 92.69 MB / 0.5846 GB, free: 3.352 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3234/5.016, allocations: 152.5 MB / 0.7336 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005407/5.016, allocations: 95.94 kB / 0.7337 GB, free: 12.97 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.09939/5.116, allocations: 20.08 MB / 0.7533 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/5.116, allocations: 8 kB / 0.7533 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/5.118, allocations: 119.5 kB / 0.7534 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007514/5.118, allocations: 278.5 kB / 0.7536 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/5.118, allocations: 8 kB / 0.7537 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/5.118, allocations: 16 kB / 0.7537 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000919/5.119, allocations: 268.9 kB / 0.7539 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/5.12, allocations: 359.5 kB / 0.7543 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/5.12, allocations: 3.938 kB / 0.7543 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/5.121, allocations: 0 / 0.7543 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/5.121, allocations: 40.47 kB / 0.7543 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/5.126, allocations: 1.701 MB / 0.756 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/5.127, allocations: 277.6 kB / 0.7562 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006129/5.127, allocations: 178 kB / 0.7564 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/5.128, allocations: 89.28 kB / 0.7565 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/5.128, allocations: 42.69 kB / 0.7565 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 2.975e-06/5.128, allocations: 3.938 kB / 0.7565 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.004081/5.132, allocations: 0.8869 MB / 0.7574 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/5.132, allocations: 85.11 kB / 0.7575 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/5.132, allocations: 191.8 kB / 0.7577 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/5.132, allocations: 25.7 kB / 0.7577 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/5.132, allocations: 168 kB / 0.7579 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/5.133, allocations: 118.3 kB / 0.758 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/5.133, allocations: 4.031 kB / 0.758 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002224/5.133, allocations: 334.7 kB / 0.7583 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006665/5.134, allocations: 164.8 kB / 0.7584 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/5.134, allocations: 272.2 kB / 0.7587 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008727/5.135, allocations: 219.9 kB / 0.7589 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/5.135, allocations: 4 kB / 0.7589 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002215/5.137, allocations: 0.5901 MB / 0.7595 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005712/5.138, allocations: 1.227 MB / 0.7607 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/5.138, allocations: 4 kB / 0.7607 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009366/5.139, allocations: 139.3 kB / 0.7608 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/5.14, allocations: 99.88 kB / 0.7609 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005382/5.145, allocations: 3.823 MB / 0.7647 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/5.146, allocations: 27.97 kB / 0.7647 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/5.146, allocations: 20.09 kB / 0.7647 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/5.146, allocations: 4 kB / 0.7647 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001989/5.148, allocations: 0.5147 MB / 0.7652 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/5.148, allocations: 8 kB / 0.7652 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/5.149, allocations: 131.3 kB / 0.7653 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008723/5.15, allocations: 108 kB / 0.7654 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/5.151, allocations: 1.12 MB / 0.7665 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000615/5.151, allocations: 31.97 kB / 0.7666 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/5.152, allocations: 16.09 kB / 0.7666 GB, free: 10.14 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.0002763/5.152, allocations: 133.4 kB / 0.7667 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/5.152, allocations: 23.72 kB / 0.7667 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/5.154, allocations: 0.5469 MB / 0.7673 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/5.154, allocations: 4 kB / 0.7673 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/5.154, allocations: 0 / 0.7673 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/5.154, allocations: 7.922 kB / 0.7673 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/5.158, allocations: 1.225 MB / 0.7685 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/5.158, allocations: 4 kB / 0.7685 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/5.159, allocations: 68.16 kB / 0.7685 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007617/5.159, allocations: 143.3 kB / 0.7687 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/5.16, allocations: 8 kB / 0.7687 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005013/5.165, allocations: 3.843 MB / 0.7724 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/5.165, allocations: 4.031 kB / 0.7724 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002078/5.167, allocations: 0.8311 MB / 0.7733 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00229/5.169, allocations: 1.191 MB / 0.7744 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/5.169, allocations: 140.8 kB / 0.7746 GB, free: 1.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/5.17, allocations: 8 kB / 0.7746 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/5.17, allocations: 27.97 kB / 0.7746 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/5.17, allocations: 27.88 kB / 0.7746 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/5.17, allocations: 12 kB / 0.7746 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002611/5.171, allocations: 156.5 kB / 0.7748 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003116/5.174, allocations: 159.9 kB / 0.7749 GB, free: 0.9375 MB / 0.6511 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.0004094/5.174, allocations: 146.8 kB / 0.7751 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002753/5.177, allocations: 1.04 MB / 0.7761 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/5.177, allocations: 0.5 kB / 0.7761 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/5.178, allocations: 434.1 kB / 0.7765 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/5.179, allocations: 40.31 kB / 0.7765 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/5.181, allocations: 0.5762 MB / 0.7771 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/5.182, allocations: 0.8502 MB / 0.7779 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.953e-06/5.182, allocations: 0 / 0.7779 GB, free: 13.7 MB / 0.6667 GB