[: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.012/1.012, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.06592/1.078, allocations: 27.5 MB / 145.7 MB, free: 4.172 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/1.215, allocations: 25.16 MB / 170.9 MB, free: 1.801 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08203/1.297, allocations: 45.31 MB / 216.2 MB, free: 8.332 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.297, allocations: 63.97 kB / 216.2 MB, free: 8.27 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 416 * Number of variables: 416 Notification: Performance of Generate backend data structure: time 0.1666/1.464, allocations: 29.87 MB / 246.1 MB, free: 10.18 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/1.464, allocations: 11.94 kB / 246.1 MB, free: 10.16 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/1.465, allocations: 189.7 kB / 246.3 MB, free: 9.977 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/1.468, allocations: 1.052 MB / 247.3 MB, free: 8.883 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.134e-05/1.468, allocations: 52 kB / 247.4 MB, free: 8.832 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/1.469, allocations: 99.91 kB / 247.5 MB, free: 8.734 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005596/1.474, allocations: 1.685 MB / 249.2 MB, free: 7.047 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006165/1.481, allocations: 1.938 MB / 251.1 MB, free: 5.035 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.348e-05/1.481, allocations: 7.906 kB / 251.1 MB, free: 5.027 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/1.481, allocations: 0 / 251.1 MB, free: 5.027 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/1.481, allocations: 79.23 kB / 251.2 MB, free: 4.949 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1072/1.588, allocations: 5.833 MB / 257 MB, free: 72.84 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/1.591, allocations: 0.8 MB / 257.8 MB, free: 72.83 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/1.593, allocations: 0.7545 MB / 258.6 MB, free: 72.82 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.319e-05/1.593, allocations: 15.66 kB / 258.6 MB, free: 72.82 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/1.593, allocations: 41.97 kB / 258.6 MB, free: 72.77 MB / 218.7 MB Notification: Performance of pre-optimization done (n=93): time 4.188e-06/1.593, allocations: 0 / 258.6 MB, free: 72.77 MB / 218.7 MB Notification: Performance of matching and sorting (n=113): time 0.01489/1.608, allocations: 4.411 MB / 263.1 MB, free: 72.33 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/1.608, allocations: 67.84 kB / 263.1 MB, free: 72.27 MB / 218.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7706:7-7708:33:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/Rotational.mo:4773:7-4774:27:writable] Warning: Parameter loadTorqueStep.offsetTorque has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2609:9-2611:75:writable] Warning: Parameter smr.Rrd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2603:9-2605:75:writable] Warning: Parameter smr.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (6.283185307179586 * smr.fsNominal)) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2600:9-2602:51:writable] Warning: Parameter smr.useDamperCage has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2597:9-2599:75:writable] Warning: Parameter smr.Lmq has no value, and is fixed during initialization (fixed=true), using available start value (start=0.9 / (6.283185307179586 * smr.fsNominal)) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2594:9-2596:75:writable] Warning: Parameter smr.Lmd has no value, and is fixed during initialization (fixed=true), using available start value (start=2.9 / (6.283185307179586 * smr.fsNominal)) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7411:7-7413:73:writable] Warning: Parameter smr.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (6.283185307179586 * smr.fsNominal)) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7408:7-7410:73:writable] Warning: Parameter smr.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7406:7-7407:28:writable] Warning: Parameter smr.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7405:7-7405:75:writable] Warning: Parameter smr.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter smr.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=smr.Jr) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter smr.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/1.609, allocations: 0.6595 MB / 263.8 MB, free: 72.13 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002542/1.61, allocations: 25.7 kB / 263.8 MB, free: 72.1 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/1.61, allocations: 0.5679 MB / 264.4 MB, free: 71.84 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/1.611, allocations: 381 kB / 264.7 MB, free: 71.59 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.824e-05/1.611, allocations: 0 / 264.7 MB, free: 71.59 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/1.611, allocations: 407.3 kB / 265.1 MB, free: 71.28 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/1.612, allocations: 0.6346 MB / 265.8 MB, free: 71.28 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/1.614, allocations: 0.7825 MB / 266.6 MB, free: 71.14 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/1.616, allocations: 0.7734 MB / 267.3 MB, free: 71.13 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/1.616, allocations: 2.938 kB / 267.3 MB, free: 71.13 MB / 218.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.006079/1.622, allocations: 2.144 MB / 269.5 MB, free: 70.99 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.622, allocations: 6.219 kB / 269.5 MB, free: 70.99 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/1.622, allocations: 3.531 kB / 269.5 MB, free: 70.99 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00306/1.625, allocations: 0.6236 MB / 270.1 MB, free: 70.96 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/1.627, allocations: 214.4 kB / 270.3 MB, free: 70.96 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/1.641, allocations: 7.908 MB / 278.2 MB, free: 66.28 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.643, allocations: 54.02 kB / 278.3 MB, free: 66.28 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/1.643, allocations: 34.66 kB / 278.3 MB, free: 66.27 MB / 218.7 MB Warning: Assuming fixed start value for the following 6 variables: loadInertia.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real smr.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smr.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smr.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] smr.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] smr.inertiaRotor.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,80.6%) 22,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003997/1.644, allocations: 138.5 kB / 278.5 MB, free: 66.16 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/1.644, allocations: 99.84 kB / 278.6 MB, free: 66.11 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005955/1.65, allocations: 2.089 MB / 280.6 MB, free: 65.35 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/1.65, allocations: 12.28 kB / 280.7 MB, free: 65.35 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.65, allocations: 13.12 kB / 280.7 MB, free: 65.35 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/1.65, allocations: 3.891 kB / 280.7 MB, free: 65.35 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/1.661, allocations: 3.899 MB / 284.6 MB, free: 63.82 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.661, allocations: 6.531 kB / 284.6 MB, free: 63.82 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/1.663, allocations: 173.2 kB / 284.7 MB, free: 63.82 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/1.666, allocations: 0.6403 MB / 285.4 MB, free: 63.64 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/1.666, allocations: 10.34 kB / 285.4 MB, free: 63.64 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/1.681, allocations: 7.745 MB / 293.1 MB, free: 58.4 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.681, allocations: 5.156 kB / 293.1 MB, free: 58.4 MB / 218.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0079/1.689, allocations: 3.159 MB / 296.3 MB, free: 55.82 MB / 218.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009228/1.698, allocations: 4.567 MB / 300.9 MB, free: 51.69 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008892/1.699, allocations: 327 kB / 301.2 MB, free: 51.38 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/1.699, allocations: 10.23 kB / 301.2 MB, free: 51.38 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.701, allocations: 58.97 kB / 301.3 MB, free: 51.34 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.701, allocations: 63.3 kB / 301.3 MB, free: 51.31 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.701, allocations: 35.8 kB / 301.4 MB, free: 51.28 MB / 218.7 MB Notification: Performance of sort global known variables: time 0.0009016/1.702, allocations: 495.9 kB / 301.8 MB, free: 50.84 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.002588/1.704, allocations: 322.9 kB / 302.2 MB, free: 50.53 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_rr[1],smr.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,80.6%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003513/1.705, allocations: 120.5 kB / 302.3 MB, free: 50.42 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.005204/1.71, allocations: 2.036 MB / 304.3 MB, free: 48.57 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.71, allocations: 0 / 304.3 MB, free: 48.57 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003747/1.714, allocations: 1.298 MB / 305.6 MB, free: 47.4 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/1.716, allocations: 173 kB / 305.8 MB, free: 47.28 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009608/1.726, allocations: 3.065 MB / 308.8 MB, free: 44.58 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002647/1.728, allocations: 1.685 MB / 310.5 MB, free: 43.16 MB / 218.7 MB Notification: Performance of SimCode: time 1.613e-06/1.728, allocations: 0 / 310.5 MB, free: 43.16 MB / 218.7 MB