Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel",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 loadModel(Modelica): time 1.759/1.759, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2028/1.962, allocations: 41.1 MB / 219.2 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/2.056, allocations: 38.76 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/2.414, allocations: 93.55 MB / 351.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003994/2.414, allocations: 77.95 kB / 351.6 MB, free: 10.64 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.7173/3.132, allocations: 127.6 MB / 479.2 MB, free: 69.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/3.132, allocations: 8 kB / 479.2 MB, free: 69.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/3.133, allocations: 426.9 kB / 479.6 MB, free: 69.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007595/3.141, allocations: 2.426 MB / 482 MB, free: 66.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/3.141, allocations: 19.98 kB / 482.1 MB, free: 66.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/3.141, allocations: 35.98 kB / 482.1 MB, free: 66.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001741/3.143, allocations: 0.6818 MB / 482.8 MB, free: 66.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/3.145, allocations: 0.7304 MB / 483.5 MB, free: 65.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/3.145, allocations: 7.938 kB / 483.5 MB, free: 65.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/3.145, allocations: 0 / 483.5 MB, free: 65.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/3.145, allocations: 19.98 kB / 483.5 MB, free: 65.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/3.156, allocations: 3.188 MB / 486.7 MB, free: 62.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/3.157, allocations: 351 kB / 487.1 MB, free: 61.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/3.158, allocations: 0.5376 MB / 487.6 MB, free: 61.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06266/3.221, allocations: 36.07 MB / 0.5114 GB, free: 20.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009794/3.222, allocations: 289.6 kB / 0.5117 GB, free: 19.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 5.52e-06/3.222, allocations: 3.938 kB / 0.5117 GB, free: 19.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.00313/3.225, allocations: 0.7858 MB / 0.5125 GB, free: 19.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/3.225, allocations: 272.9 kB / 0.5127 GB, free: 18.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007154/3.232, allocations: 2.457 MB / 0.5151 GB, free: 16.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/3.233, allocations: 37.69 kB / 0.5151 GB, free: 16.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008085/3.233, allocations: 0.6587 MB / 0.5158 GB, free: 15.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/3.234, allocations: 169.6 kB / 0.516 GB, free: 15.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.226e-05/3.234, allocations: 0 / 0.516 GB, free: 15.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/3.234, allocations: 337.9 kB / 0.5163 GB, free: 15.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/3.235, allocations: 170 kB / 0.5164 GB, free: 14.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009512/3.236, allocations: 0.5799 MB / 0.517 GB, free: 14.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/3.237, allocations: 260.6 kB / 0.5173 GB, free: 13.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/3.237, allocations: 8 kB / 0.5173 GB, free: 13.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003578/3.24, allocations: 1.057 MB / 0.5183 GB, free: 12.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/3.24, allocations: 4 kB / 0.5183 GB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002209/3.24, allocations: 83.98 kB / 0.5184 GB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.804e-05/3.241, allocations: 16 kB / 0.5184 GB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/3.242, allocations: 224.1 kB / 0.5186 GB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-05/3.243, allocations: 23.92 kB / 0.5186 GB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/3.246, allocations: 115 kB / 0.5187 GB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/3.246, allocations: 67.91 kB / 0.5188 GB, free: 12.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003261/3.246, allocations: 144.6 kB / 0.5189 GB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/3.247, allocations: 399.1 kB / 0.5193 GB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009029/3.256, allocations: 1.395 MB / 0.5207 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/3.256, allocations: 4 kB / 0.5207 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/3.256, allocations: 0 / 0.5207 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/3.256, allocations: 0 / 0.5207 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007045/3.264, allocations: 2.09 MB / 0.5227 GB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001996/3.264, allocations: 67.98 kB / 0.5228 GB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/3.265, allocations: 111.9 kB / 0.5229 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.23e-05/3.265, allocations: 0 / 0.5229 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/3.265, allocations: 31.98 kB / 0.5229 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/3.265, allocations: 4 kB / 0.5229 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/3.265, allocations: 0 / 0.5229 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003368/3.269, allocations: 1.205 MB / 0.5241 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004447/3.273, allocations: 1.857 MB / 0.5259 GB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002239/3.276, allocations: 0.5233 MB / 0.5264 GB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/3.277, allocations: 4 kB / 0.5264 GB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/3.279, allocations: 55.92 kB / 0.5265 GB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003316/3.28, allocations: 59.88 kB / 0.5265 GB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/3.28, allocations: 36 kB / 0.5266 GB, free: 4.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.005255/3.285, allocations: 1.817 MB / 0.5284 GB, free: 2.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003754/3.289, allocations: 0.6361 MB / 0.529 GB, free: 1.703 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001904/3.291, allocations: 0.9857 MB / 0.5299 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001778/3.293, allocations: 0.677 MB / 0.5306 GB, free: 92 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/3.293, allocations: 0 / 0.5306 GB, free: 92 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1539/3.447, allocations: 385.8 kB / 0.531 GB, free: 106 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/3.451, allocations: 0.4954 MB / 0.5315 GB, free: 106 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/3.462, allocations: 3.285 MB / 0.5347 GB, free: 105 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00306/3.465, allocations: 1.952 MB / 0.5366 GB, free: 104.3 MB / 346.7 MB Notification: Performance of SimCode: time 2.856e-06/3.465, allocations: 0 / 0.5366 GB, free: 104.3 MB / 346.7 MB