[: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.063/1.063, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.07861/1.142, allocations: 27.51 MB / 145.7 MB, free: 4.172 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/1.313, allocations: 25.15 MB / 170.9 MB, free: 1.848 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08888/1.402, allocations: 43.4 MB / 214.3 MB, free: 10.27 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.403, allocations: 67.95 kB / 214.3 MB, free: 10.2 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.11/1.513, allocations: 23.84 MB / 238.2 MB, free: 2.18 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.513, allocations: 11.94 kB / 238.2 MB, free: 2.168 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005238/1.513, allocations: 146.2 kB / 238.3 MB, free: 2.023 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/1.516, allocations: 0.7985 MB / 239.1 MB, free: 1.184 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.387e-05/1.516, allocations: 40 kB / 239.2 MB, free: 1.145 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/1.516, allocations: 83.89 kB / 239.2 MB, free: 1.062 MB / 202.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003792/1.52, allocations: 1.247 MB / 240.5 MB, free: 15.81 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003834/1.524, allocations: 1.432 MB / 241.9 MB, free: 14.31 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.354e-05/1.524, allocations: 7.906 kB / 241.9 MB, free: 14.3 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/1.524, allocations: 4 kB / 241.9 MB, free: 14.3 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-05/1.524, allocations: 54.45 kB / 242 MB, free: 14.24 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/1.538, allocations: 4.61 MB / 246.6 MB, free: 9.543 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/1.541, allocations: 0.7639 MB / 247.3 MB, free: 8.77 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/1.543, allocations: 0.7832 MB / 248.1 MB, free: 7.984 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.047e-05/1.543, allocations: 8.781 kB / 248.1 MB, free: 7.977 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/1.543, allocations: 47.33 kB / 248.2 MB, free: 7.922 MB / 218.7 MB Notification: Performance of pre-optimization done (n=95): time 3.947e-06/1.543, allocations: 0 / 248.2 MB, free: 7.922 MB / 218.7 MB Notification: Performance of matching and sorting (n=116): time 0.01689/1.56, allocations: 4.308 MB / 252.5 MB, free: 3.547 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.56, allocations: 64.41 kB / 252.6 MB, free: 3.473 MB / 218.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:1719:9-1721:75:writable] Warning: Parameter aimc.Rr 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:1716:9-1718:75:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:1713:9-1715:75:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.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 aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.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 aimc.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 aimc.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 aimc.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 aimc.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=aimc.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 aimc.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.001389/1.562, allocations: 0.5329 MB / 253.1 MB, free: 2.934 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002624/1.562, allocations: 29.7 kB / 253.1 MB, free: 2.898 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/1.562, allocations: 423.8 kB / 253.5 MB, free: 2.477 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005446/1.563, allocations: 382.2 kB / 253.9 MB, free: 2.098 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.75e-05/1.563, allocations: 3.938 kB / 253.9 MB, free: 2.094 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002922/1.563, allocations: 402.7 kB / 254.3 MB, free: 1.691 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/1.565, allocations: 0.5727 MB / 254.9 MB, free: 1.117 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/1.567, allocations: 0.6903 MB / 255.6 MB, free: 408 kB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.08057/1.647, allocations: 0.7032 MB / 256.3 MB, free: 77.03 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.648, allocations: 2.031 kB / 256.3 MB, free: 77.03 MB / 218.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.006006/1.654, allocations: 2.099 MB / 258.4 MB, free: 76.93 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.654, allocations: 6.75 kB / 258.4 MB, free: 76.93 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/1.654, allocations: 2.75 kB / 258.4 MB, free: 76.93 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003181/1.657, allocations: 0.7403 MB / 259.1 MB, free: 76.89 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.658, allocations: 186.9 kB / 259.3 MB, free: 76.89 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/1.674, allocations: 9.441 MB / 268.7 MB, free: 72.09 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/1.675, allocations: 32.64 kB / 268.8 MB, free: 72.09 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.675, allocations: 32.94 kB / 268.8 MB, free: 72.09 MB / 218.7 MB Warning: Assuming fixed start value for the following 9 variables: cStart.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real cRun.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.i_0_s:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator zero-sequence current" type: Real aimc.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: 9 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(4,87.5%) 24,(3,100.0%) 9,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004211/1.676, allocations: 147.4 kB / 269 MB, free: 71.99 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/1.676, allocations: 88.41 kB / 269 MB, free: 71.95 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006244/1.682, allocations: 2.058 MB / 271.1 MB, free: 71.81 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/1.682, allocations: 11.16 kB / 271.1 MB, free: 71.81 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/1.682, allocations: 7.625 kB / 271.1 MB, free: 71.81 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/1.682, allocations: 6.891 kB / 271.1 MB, free: 71.81 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.694, allocations: 3.887 MB / 275 MB, free: 70.73 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.694, allocations: 0 / 275 MB, free: 70.73 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.696, allocations: 158.8 kB / 275.2 MB, free: 70.72 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003646/1.699, allocations: 0.7662 MB / 275.9 MB, free: 70.51 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002379/1.7, allocations: 15.48 kB / 275.9 MB, free: 70.5 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01555/1.715, allocations: 9.239 MB / 285.2 MB, free: 63.88 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.715, allocations: 13.03 kB / 285.2 MB, free: 63.87 MB / 218.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008467/1.724, allocations: 3.02 MB / 288.2 MB, free: 62.59 MB / 218.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01009/1.734, allocations: 4.341 MB / 292.6 MB, free: 59.97 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008443/1.735, allocations: 308.2 kB / 292.9 MB, free: 59.68 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/1.735, allocations: 10.5 kB / 292.9 MB, free: 59.68 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.736, allocations: 44.45 kB / 292.9 MB, free: 59.65 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/1.737, allocations: 68.34 kB / 293 MB, free: 59.62 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.737, allocations: 31.23 kB / 293 MB, free: 59.59 MB / 218.7 MB Notification: Performance of sort global known variables: time 0.0006744/1.737, allocations: 398.8 kB / 293.4 MB, free: 59.23 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.002531/1.74, allocations: 301.1 kB / 293.7 MB, free: 58.94 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(4,87.5%) 23,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003135/1.74, allocations: 121.6 kB / 293.8 MB, free: 58.83 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.005211/1.745, allocations: 2.136 MB / 296 MB, free: 56.84 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.746, allocations: 0 / 296 MB, free: 56.84 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003624/1.749, allocations: 1.477 MB / 297.4 MB, free: 55.45 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/1.751, allocations: 168.4 kB / 297.6 MB, free: 55.33 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/1.759, allocations: 2.7 MB / 300.3 MB, free: 52.97 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/1.76, allocations: 1.426 MB / 301.7 MB, free: 51.73 MB / 218.7 MB Notification: Performance of SimCode: time 2.414e-06/1.76, allocations: 0 / 301.7 MB, free: 51.73 MB / 218.7 MB