[: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.175/1.175, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1129/1.288, allocations: 27.5 MB / 145.7 MB, free: 4.164 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/1.44, allocations: 25.15 MB / 170.8 MB, free: 1.809 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/1.542, allocations: 45.74 MB / 216.6 MB, free: 7.906 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.542, allocations: 63.97 kB / 216.7 MB, free: 7.844 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.1693/1.712, allocations: 30.24 MB / 246.9 MB, free: 9.387 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/1.712, allocations: 11.94 kB / 246.9 MB, free: 9.375 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/1.713, allocations: 185.8 kB / 247.1 MB, free: 9.191 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005282/1.718, allocations: 1.067 MB / 248.1 MB, free: 8.082 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/1.718, allocations: 52 kB / 248.2 MB, free: 8.031 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/1.72, allocations: 99.91 kB / 248.3 MB, free: 7.934 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01001/1.73, allocations: 1.709 MB / 250 MB, free: 6.223 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/1.741, allocations: 1.962 MB / 252 MB, free: 4.188 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/1.741, allocations: 7.984 kB / 252 MB, free: 4.18 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005844/1.742, allocations: 0 / 252 MB, free: 4.18 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001979/1.742, allocations: 79.2 kB / 252.1 MB, free: 4.102 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1279/1.87, allocations: 5.949 MB / 258 MB, free: 72.4 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/1.873, allocations: 0.7859 MB / 258.8 MB, free: 72.39 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/1.875, allocations: 0.7672 MB / 259.6 MB, free: 72.38 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/1.875, allocations: 19.52 kB / 259.6 MB, free: 72.38 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/1.875, allocations: 49.5 kB / 259.6 MB, free: 72.33 MB / 218.7 MB Notification: Performance of pre-optimization done (n=94): time 3.947e-06/1.875, allocations: 0 / 259.6 MB, free: 72.33 MB / 218.7 MB Notification: Performance of matching and sorting (n=115): time 0.01707/1.892, allocations: 4.474 MB / 264.1 MB, free: 71.87 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/1.892, allocations: 62.56 kB / 264.2 MB, free: 71.8 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:2122:9-2124:75:writable] Warning: Parameter smpm.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:2116:9-2118:75:writable] Warning: Parameter smpm.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (6.283185307179586 * smpm.fsNominal)) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2113:9-2115:51:writable] Warning: Parameter smpm.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:2110:9-2112:75:writable] Warning: Parameter smpm.Lmq has no value, and is fixed during initialization (fixed=true), using available start value (start=0.3 / (6.283185307179586 * smpm.fsNominal)) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2107:9-2109:75:writable] Warning: Parameter smpm.Lmd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.3 / (6.283185307179586 * smpm.fsNominal)) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2104:9-2106:50:writable] Warning: Parameter smpm.VsOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=112.3) 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 smpm.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (6.283185307179586 * smpm.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 smpm.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 smpm.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 smpm.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 smpm.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=smpm.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 smpm.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.001721/1.894, allocations: 0.6735 MB / 264.8 MB, free: 71.67 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003744/1.894, allocations: 28.95 kB / 264.9 MB, free: 71.64 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/1.895, allocations: 0.5744 MB / 265.4 MB, free: 71.37 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000469/1.895, allocations: 381.8 kB / 265.8 MB, free: 71.12 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/1.895, allocations: 4.906 kB / 265.8 MB, free: 71.12 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/1.895, allocations: 405.2 kB / 266.2 MB, free: 70.81 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/1.897, allocations: 0.6444 MB / 266.9 MB, free: 70.81 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/1.899, allocations: 0.7972 MB / 267.6 MB, free: 70.66 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/1.901, allocations: 0.7842 MB / 268.4 MB, free: 70.65 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/1.901, allocations: 3.562 kB / 268.4 MB, free: 70.65 MB / 218.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.006766/1.908, allocations: 2.158 MB / 270.6 MB, free: 70.51 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/1.908, allocations: 3.75 kB / 270.6 MB, free: 70.51 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.908, allocations: 10.56 kB / 270.6 MB, free: 70.51 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003146/1.911, allocations: 0.6262 MB / 271.2 MB, free: 70.48 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/1.913, allocations: 222 kB / 271.5 MB, free: 70.48 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/1.927, allocations: 7.962 MB / 279.4 MB, free: 65.57 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/1.929, allocations: 52 kB / 279.5 MB, free: 65.57 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/1.929, allocations: 40 kB / 279.5 MB, free: 65.56 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 smpm.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smpm.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smpm.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] smpm.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] smpm.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: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004231/1.93, allocations: 143.5 kB / 279.6 MB, free: 65.45 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/1.93, allocations: 99.53 kB / 279.7 MB, free: 65.39 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006818/1.937, allocations: 2.107 MB / 281.8 MB, free: 64.63 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/1.937, allocations: 19.03 kB / 281.9 MB, free: 64.63 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/1.937, allocations: 7.844 kB / 281.9 MB, free: 64.63 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.481e-05/1.937, allocations: 11.44 kB / 281.9 MB, free: 64.63 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.95, allocations: 3.937 MB / 285.8 MB, free: 63.09 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/1.95, allocations: 2.531 kB / 285.8 MB, free: 63.09 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/1.952, allocations: 170.3 kB / 286 MB, free: 63.09 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003297/1.955, allocations: 0.6406 MB / 286.6 MB, free: 62.91 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/1.955, allocations: 13.45 kB / 286.6 MB, free: 62.91 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/1.971, allocations: 7.812 MB / 294.5 MB, free: 57.35 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.971, allocations: 6.906 kB / 294.5 MB, free: 57.34 MB / 218.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007907/1.979, allocations: 3.187 MB / 297.7 MB, free: 54.5 MB / 218.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01072/1.989, allocations: 4.609 MB / 302.3 MB, free: 50.33 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.99, allocations: 325.7 kB / 302.6 MB, free: 50.02 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003069/1.991, allocations: 14.25 kB / 302.6 MB, free: 50.01 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/1.993, allocations: 56.61 kB / 302.6 MB, free: 49.98 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/1.993, allocations: 61.27 kB / 302.7 MB, free: 49.95 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.993, allocations: 32 kB / 302.7 MB, free: 49.91 MB / 218.7 MB Notification: Performance of sort global known variables: time 0.000968/1.994, allocations: 0.4923 MB / 303.2 MB, free: 49.47 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.003062/1.997, allocations: 330.5 kB / 303.6 MB, free: 49.16 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[1],smpm.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 (86): * Single equations (assignments): 83 * 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,86.1%) 23,(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.0003754/1.998, allocations: 119.4 kB / 303.7 MB, free: 49.05 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.005183/2.003, allocations: 2.058 MB / 305.7 MB, free: 47.19 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/2.003, allocations: 3.75 kB / 305.7 MB, free: 47.19 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003695/2.007, allocations: 1.31 MB / 307 MB, free: 46 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/2.009, allocations: 178.7 kB / 307.2 MB, free: 45.87 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008569/2.017, allocations: 3.087 MB / 310.3 MB, free: 43.14 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002273/2.02, allocations: 1.7 MB / 312 MB, free: 41.72 MB / 218.7 MB Notification: Performance of SimCode: time 1.934e-06/2.02, allocations: 4 kB / 312 MB, free: 41.71 MB / 218.7 MB