Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",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.765/1.765, allocations: 171.2 MB / 178.1 MB, free: 8.219 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2474/2.013, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09203/2.105, allocations: 38.76 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/2.43, allocations: 81.83 MB / 339.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/2.431, allocations: 77.64 kB / 339.9 MB, free: 6.297 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.7752/3.206, allocations: 120.5 MB / 460.4 MB, free: 34.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/3.206, allocations: 10.81 kB / 460.5 MB, free: 34.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006018/3.212, allocations: 0.5655 MB / 461 MB, free: 34.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/3.228, allocations: 2.745 MB / 463.8 MB, free: 34.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/3.228, allocations: 125.2 kB / 463.9 MB, free: 34.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/3.23, allocations: 234.9 kB / 464.1 MB, free: 34.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01746/3.248, allocations: 4.41 MB / 468.5 MB, free: 33.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/3.272, allocations: 5.088 MB / 473.6 MB, free: 33.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002309/3.272, allocations: 3.938 kB / 473.6 MB, free: 33.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002007/3.274, allocations: 3.156 kB / 473.6 MB, free: 33.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003564/3.275, allocations: 217.4 kB / 473.8 MB, free: 33.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06171/3.336, allocations: 15.81 MB / 489.6 MB, free: 26.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009087/3.346, allocations: 3.349 MB / 493 MB, free: 24.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006419/3.352, allocations: 2.801 MB / 495.8 MB, free: 24.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005409/3.353, allocations: 144.9 kB / 495.9 MB, free: 24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/3.353, allocations: 60.41 kB / 496 MB, free: 23.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 5.771e-06/3.353, allocations: 4 kB / 496 MB, free: 23.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.0248/3.378, allocations: 7.605 MB / 0.4918 GB, free: 20.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/3.378, allocations: 81.44 kB / 0.4919 GB, free: 20.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005413/3.383, allocations: 1.858 MB / 0.4937 GB, free: 19.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005676/3.384, allocations: 26.98 kB / 0.4937 GB, free: 19.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009507/3.385, allocations: 1.293 MB / 0.495 GB, free: 18.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/3.386, allocations: 0.811 MB / 0.4958 GB, free: 18.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/3.386, allocations: 0 / 0.4958 GB, free: 18.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002125/3.386, allocations: 399.5 kB / 0.4962 GB, free: 17.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/3.39, allocations: 1.328 MB / 0.4975 GB, free: 17.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004205/3.395, allocations: 1.589 MB / 0.499 GB, free: 16.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004379/3.399, allocations: 1.579 MB / 0.5005 GB, free: 16.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.853e-05/3.399, allocations: 0 / 0.5005 GB, free: 16.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01834/3.417, allocations: 4.241 MB / 0.5047 GB, free: 14.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/3.418, allocations: 8.812 kB / 0.5047 GB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-05/3.418, allocations: 8.5 kB / 0.5047 GB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007512/3.425, allocations: 1.409 MB / 0.5061 GB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/3.429, allocations: 396.9 kB / 0.5065 GB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03521/3.464, allocations: 21.93 MB / 0.5279 GB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/3.468, allocations: 37.91 kB / 0.5279 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007951/3.468, allocations: 77.69 kB / 0.528 GB, free: 9.199 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008256/3.469, allocations: 142.1 kB / 0.5281 GB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002258/3.472, allocations: 262.5 kB / 0.5284 GB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/3.487, allocations: 4.011 MB / 0.5323 GB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001092/3.487, allocations: 27.94 kB / 0.5323 GB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.282e-05/3.487, allocations: 8 kB / 0.5323 GB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/3.487, allocations: 12.47 kB / 0.5323 GB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1965/3.684, allocations: 8.073 MB / 0.5402 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.854e-05/3.684, allocations: 3.625 kB / 0.5402 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004082/3.688, allocations: 300.1 kB / 0.5405 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00818/3.696, allocations: 1.394 MB / 0.5419 GB, free: 104.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006911/3.697, allocations: 25.23 kB / 0.5419 GB, free: 104.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03923/3.736, allocations: 21.89 MB / 0.5633 GB, free: 92.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/3.736, allocations: 0 / 0.5633 GB, free: 92.01 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01726/3.753, allocations: 6.106 MB / 0.5692 GB, free: 91.61 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02166/3.775, allocations: 8.579 MB / 0.5776 GB, free: 90.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002798/3.778, allocations: 0.65 MB / 0.5782 GB, free: 90.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/3.779, allocations: 19.58 kB / 0.5783 GB, free: 90.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003444/3.783, allocations: 80.72 kB / 0.5783 GB, free: 90.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009781/3.784, allocations: 152.1 kB / 0.5785 GB, free: 90.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003013/3.784, allocations: 65.73 kB / 0.5785 GB, free: 90.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.004083/3.788, allocations: 1.429 MB / 0.5799 GB, free: 90.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007319/3.795, allocations: 0.8443 MB / 0.5808 GB, free: 90.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/3.797, allocations: 225.2 kB / 0.581 GB, free: 90.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01092/3.808, allocations: 4.464 MB / 0.5853 GB, free: 89.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/3.808, allocations: 3.219 kB / 0.5853 GB, free: 89.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008059/3.816, allocations: 2.995 MB / 0.5883 GB, free: 88.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00643/3.822, allocations: 0.5809 MB / 0.5888 GB, free: 88.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03297/3.855, allocations: 7.047 MB / 0.5957 GB, free: 86.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007909/3.863, allocations: 3.357 MB / 0.599 GB, free: 85.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/3.863, allocations: 0 / 0.599 GB, free: 85.64 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat