Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel",fmuType="cs",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(Modelica): time 1.776/1.776, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2475/2.023, allocations: 46.81 MB / 249.4 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/2.118, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3342/2.452, allocations: 97.07 MB / 391 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/2.453, allocations: 74.86 kB / 391 MB, free: 2.918 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.6865/3.139, allocations: 125.5 MB / 0.5044 GB, free: 78.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/3.139, allocations: 10.66 kB / 0.5045 GB, free: 78.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/3.14, allocations: 417.4 kB / 0.5048 GB, free: 78.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00791/3.148, allocations: 2.437 MB / 0.5072 GB, free: 77.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/3.148, allocations: 16.66 kB / 0.5072 GB, free: 77.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/3.149, allocations: 41.08 kB / 0.5073 GB, free: 77.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002252/3.151, allocations: 0.6838 MB / 0.508 GB, free: 77.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/3.153, allocations: 0.721 MB / 0.5087 GB, free: 77.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/3.153, allocations: 0 / 0.5087 GB, free: 77.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/3.153, allocations: 0 / 0.5087 GB, free: 77.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/3.153, allocations: 24.78 kB / 0.5087 GB, free: 77.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/3.165, allocations: 3.181 MB / 0.5118 GB, free: 77.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/3.166, allocations: 360.2 kB / 0.5121 GB, free: 77.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/3.167, allocations: 0.5359 MB / 0.5127 GB, free: 77.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05657/3.224, allocations: 36.06 MB / 0.5479 GB, free: 50.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007606/3.225, allocations: 298.8 kB / 0.5482 GB, free: 50.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 4.839e-06/3.225, allocations: 0 / 0.5482 GB, free: 50.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.002485/3.227, allocations: 0.7854 MB / 0.5489 GB, free: 50.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/3.228, allocations: 276.5 kB / 0.5492 GB, free: 50.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006647/3.234, allocations: 2.458 MB / 0.5516 GB, free: 49.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/3.234, allocations: 25.7 kB / 0.5516 GB, free: 49.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008781/3.235, allocations: 0.6657 MB / 0.5523 GB, free: 49.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000325/3.236, allocations: 164.1 kB / 0.5524 GB, free: 49.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/3.236, allocations: 0 / 0.5524 GB, free: 49.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/3.236, allocations: 338 kB / 0.5527 GB, free: 49.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/3.237, allocations: 173.2 kB / 0.5529 GB, free: 49.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008124/3.237, allocations: 0.5721 MB / 0.5535 GB, free: 48.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008992/3.238, allocations: 269.4 kB / 0.5537 GB, free: 48.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/3.238, allocations: 3.656 kB / 0.5537 GB, free: 48.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003174/3.241, allocations: 1.054 MB / 0.5548 GB, free: 48.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/3.242, allocations: 3.938 kB / 0.5548 GB, free: 48.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002016/3.242, allocations: 87.28 kB / 0.5548 GB, free: 48.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.775e-05/3.242, allocations: 19.88 kB / 0.5549 GB, free: 48.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/3.244, allocations: 220.7 kB / 0.5551 GB, free: 48.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/3.244, allocations: 23.61 kB / 0.5551 GB, free: 48.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/3.247, allocations: 117.5 kB / 0.5552 GB, free: 48.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/3.247, allocations: 63.12 kB / 0.5553 GB, free: 48.32 MB / 394.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.000302/3.247, allocations: 142.1 kB / 0.5554 GB, free: 48.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008883/3.248, allocations: 402.4 kB / 0.5558 GB, free: 48.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007994/3.256, allocations: 1.392 MB / 0.5571 GB, free: 47.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/3.256, allocations: 6.969 kB / 0.5572 GB, free: 47.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/3.256, allocations: 0 / 0.5572 GB, free: 47.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/3.256, allocations: 7.781 kB / 0.5572 GB, free: 47.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006311/3.263, allocations: 2.086 MB / 0.5592 GB, free: 47.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001765/3.263, allocations: 72.09 kB / 0.5593 GB, free: 47.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/3.264, allocations: 112.4 kB / 0.5594 GB, free: 47.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/3.264, allocations: 0 / 0.5594 GB, free: 47.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/3.264, allocations: 23.28 kB / 0.5594 GB, free: 47.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/3.264, allocations: 10.78 kB / 0.5594 GB, free: 47.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/3.264, allocations: 0 / 0.5594 GB, free: 47.56 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002968/3.267, allocations: 1.204 MB / 0.5606 GB, free: 47.11 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003716/3.271, allocations: 1.863 MB / 0.5624 GB, free: 46.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/3.273, allocations: 0.5158 MB / 0.5629 GB, free: 45.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/3.274, allocations: 6.688 kB / 0.5629 GB, free: 45.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002431/3.277, allocations: 42.23 kB / 0.5629 GB, free: 45.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/3.277, allocations: 61.92 kB / 0.563 GB, free: 45.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/3.277, allocations: 42.5 kB / 0.563 GB, free: 45.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.005187/3.282, allocations: 1.816 MB / 0.5648 GB, free: 45.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004013/3.287, allocations: 0.646 MB / 0.5655 GB, free: 45.71 MB / 394.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.002213/3.289, allocations: 0.9825 MB / 0.5664 GB, free: 45.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002052/3.291, allocations: 0.6802 MB / 0.5671 GB, free: 45.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/3.291, allocations: 1.75 kB / 0.5671 GB, free: 45.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009579/3.292, allocations: 392 kB / 0.5675 GB, free: 45.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/3.296, allocations: 0.4928 MB / 0.5679 GB, free: 45.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/3.309, allocations: 3.282 MB / 0.5711 GB, free: 44.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003337/3.312, allocations: 1.959 MB / 0.5731 GB, free: 43.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.773e-06/3.312, allocations: 0 / 0.5731 GB, free: 43.45 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat does not exist to compare? outputFormat=mat