Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",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.615/1.615, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2402/1.855, allocations: 46.84 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/1.941, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/2.245, allocations: 101.3 MB / 395.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/2.245, allocations: 83.61 kB / 395.3 MB, free: 1.605 MB / 298.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.1944/2.44, allocations: 45.33 MB / 440.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/2.44, allocations: 11.94 kB / 440.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/2.441, allocations: 281 kB / 440.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00484/2.446, allocations: 1.418 MB / 442.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/2.446, allocations: 64 kB / 442.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/2.447, allocations: 123.9 kB / 442.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005613/2.452, allocations: 1.772 MB / 444.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006006/2.458, allocations: 2.117 MB / 446.4 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.139e-05/2.459, allocations: 7.906 kB / 446.4 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/2.459, allocations: 0 / 446.4 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/2.459, allocations: 95.67 kB / 446.5 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01988/2.479, allocations: 7.123 MB / 453.6 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/2.481, allocations: 0.7626 MB / 454.4 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/2.483, allocations: 0.7649 MB / 455.2 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/2.483, allocations: 126.1 kB / 455.3 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/2.485, allocations: 0.6622 MB / 456 MB, free: 15.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 4.278e-06/2.485, allocations: 0 / 456 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.02049/2.506, allocations: 6.079 MB / 462 MB, free: 9.188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/2.506, allocations: 201.2 kB / 462.2 MB, free: 8.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/2.508, allocations: 1.009 MB / 463.2 MB, free: 7.926 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002159/2.508, allocations: 25.7 kB / 463.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009051/2.509, allocations: 0.7401 MB / 464 MB, free: 7.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005649/2.51, allocations: 433.5 kB / 464.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/2.51, allocations: 0 / 464.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/2.51, allocations: 369.9 kB / 464.8 MB, free: 6.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/2.512, allocations: 0.6677 MB / 465.5 MB, free: 5.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/2.514, allocations: 1.021 MB / 466.5 MB, free: 4.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/2.516, allocations: 0.8419 MB / 467.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/2.516, allocations: 4 kB / 467.3 MB, free: 3.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007375/2.524, allocations: 2.379 MB / 469.7 MB, free: 1.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/2.524, allocations: 8 kB / 469.7 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/2.524, allocations: 11.94 kB / 469.7 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/2.527, allocations: 0.6531 MB / 470.4 MB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/2.529, allocations: 295.6 kB / 470.7 MB, free: 300 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/2.542, allocations: 5.881 MB / 476.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/2.544, allocations: 63.94 kB / 476.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/2.544, allocations: 56 kB / 476.7 MB, free: 10.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003958/2.545, allocations: 140.7 kB / 476.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/2.545, allocations: 142.2 kB / 476.9 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007288/2.553, allocations: 2.238 MB / 479.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/2.553, allocations: 12 kB / 479.2 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/2.553, allocations: 12 kB / 479.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/2.553, allocations: 3.984 kB / 479.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/2.566, allocations: 4.494 MB / 483.7 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/2.566, allocations: 3.938 kB / 483.7 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/2.568, allocations: 184 kB / 483.9 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003782/2.572, allocations: 0.7175 MB / 484.6 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/2.572, allocations: 15.98 kB / 484.6 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01542/2.587, allocations: 7.488 MB / 492.1 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/2.587, allocations: 11.94 kB / 492.1 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00924/2.597, allocations: 3.336 MB / 495.4 MB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01195/2.609, allocations: 4.739 MB / 0.4885 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/2.61, allocations: 371.2 kB / 0.4888 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/2.61, allocations: 15.98 kB / 0.4888 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/2.612, allocations: 43.95 kB / 0.4889 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/2.612, allocations: 81.03 kB / 0.489 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/2.612, allocations: 36 kB / 0.489 GB, free: 1.289 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001875/2.614, allocations: 0.7563 MB / 0.4897 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003504/2.618, allocations: 471.9 kB / 0.4902 GB, free: 68 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(7,63.3%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1276/2.745, allocations: 499 kB / 0.4907 GB, free: 143.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00538/2.751, allocations: 2.242 MB / 0.4928 GB, free: 143.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/2.751, allocations: 2.656 kB / 0.4928 GB, free: 143.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003826/2.755, allocations: 1.453 MB / 0.4943 GB, free: 142.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/2.757, allocations: 284 kB / 0.4945 GB, free: 142.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009307/2.767, allocations: 3.498 MB / 0.498 GB, free: 142.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002363/2.769, allocations: 1.862 MB / 0.4998 GB, free: 141.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.263e-06/2.769, allocations: 0 / 0.4998 GB, free: 141.4 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat does not exist to compare? outputFormat=mat