Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_OvervoltageProtection",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.867/1.867, allocations: 171.2 MB / 178.1 MB, free: 8.305 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2404/2.107, allocations: 41.1 MB / 219.2 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/2.214, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3142/2.528, allocations: 67.58 MB / 325.6 MB, free: 4.398 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/2.529, allocations: 69.08 kB / 325.7 MB, free: 4.363 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.03339/2.562, allocations: 5.033 MB / 330.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/2.562, allocations: 10.41 kB / 330.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/2.562, allocations: 35.62 kB / 330.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/2.563, allocations: 245.9 kB / 331 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/2.563, allocations: 11.98 kB / 331 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/2.563, allocations: 12 kB / 331 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000623/2.564, allocations: 167.7 kB / 331.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/2.564, allocations: 231.6 kB / 331.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/2.564, allocations: 4 kB / 331.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/2.564, allocations: 4 kB / 331.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/2.564, allocations: 7.906 kB / 331.4 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/2.568, allocations: 1.37 MB / 332.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/2.57, allocations: 306.9 kB / 333.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/2.571, allocations: 95.03 kB / 333.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/2.571, allocations: 4 kB / 333.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/2.571, allocations: 37.88 kB / 333.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 3.006e-06/2.571, allocations: 0 / 333.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.005302/2.576, allocations: 0.5298 MB / 333.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/2.576, allocations: 55.41 kB / 333.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/2.577, allocations: 183.4 kB / 334 MB, free: 12.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/2.577, allocations: 25.7 kB / 334 MB, free: 12.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/2.577, allocations: 152.5 kB / 334.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/2.577, allocations: 50.02 kB / 334.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/2.577, allocations: 0 / 334.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/2.577, allocations: 325.8 kB / 334.5 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/2.577, allocations: 60.8 kB / 334.6 MB, free: 12.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/2.578, allocations: 86.8 kB / 334.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/2.578, allocations: 66.53 kB / 334.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/2.578, allocations: 0 / 334.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.005145/2.583, allocations: 0.5654 MB / 335.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/2.583, allocations: 8 kB / 335.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/2.583, allocations: 0 / 335.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005521/2.584, allocations: 137.2 kB / 335.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/2.584, allocations: 39.98 kB / 335.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009145/2.593, allocations: 2.132 MB / 337.6 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/2.594, allocations: 43.92 kB / 337.6 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/2.594, allocations: 11.67 kB / 337.6 MB, free: 9.492 MB / 282.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: zDiode.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000232/2.594, allocations: 109.1 kB / 337.8 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.2e-05/2.594, allocations: 19.72 kB / 337.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/2.595, allocations: 20.28 kB / 337.8 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/2.595, allocations: 7.922 kB / 337.8 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/2.595, allocations: 4 kB / 337.8 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/2.595, allocations: 3.938 kB / 337.8 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/2.595, allocations: 295.4 kB / 338.1 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/2.595, allocations: 0 / 338.1 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/2.596, allocations: 27.98 kB / 338.1 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/2.596, allocations: 139.5 kB / 338.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/2.596, allocations: 0 / 338.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/2.609, allocations: 2.171 MB / 340.4 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/2.609, allocations: 96 / 340.4 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008138/2.617, allocations: 0.7215 MB / 341.2 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009155/2.626, allocations: 1.18 MB / 342.3 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/2.627, allocations: 125 kB / 342.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/2.627, allocations: 0 / 342.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/2.628, allocations: 40.03 kB / 342.5 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/2.629, allocations: 10.94 kB / 342.5 MB, free: 4.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/2.629, allocations: 7.984 kB / 342.5 MB, free: 4.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0004314/2.629, allocations: 145.8 kB / 342.7 MB, free: 4.836 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003819/2.633, allocations: 79.75 kB / 342.7 MB, free: 4.758 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004282/2.634, allocations: 103.2 kB / 342.8 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003195/2.637, allocations: 369.7 kB / 343.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/2.637, allocations: 0 / 343.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002597/2.639, allocations: 303.2 kB / 343.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/2.64, allocations: 25.41 kB / 343.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/2.642, allocations: 390.3 kB / 343.9 MB, free: 3.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/2.643, allocations: 0.772 MB / 344.7 MB, free: 2.863 MB / 282.7 MB Notification: Performance of SimCode: time 3.977e-06/2.643, allocations: 0 / 344.7 MB, free: 2.863 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat does not exist to compare? outputFormat=mat