Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001496/0.001496, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 98.59 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.66e-05, allocations: 4 kB / 314.9 MB, free: 9.027 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3388, allocations: 47.57 MB / 362.5 MB, free: 45.77 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5362/0.8751, allocations: 152.4 MB / 0.5028 GB, free: 77.49 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.8754, allocations: 97.64 kB / 0.5029 GB, free: 77.49 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.088/2.964, allocations: 461 MB / 0.9531 GB, free: 34.68 MB / 443.1 MB Notification: Performance of FrontEnd: time 3.366e-06/2.964, allocations: 3.969 kB / 0.9531 GB, free: 34.68 MB / 443.1 MB Notification: Performance of Transformations before backend: time 0.001285/2.965, allocations: 325.2 kB / 0.9534 GB, free: 34.63 MB / 443.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.06799/3.033, allocations: 13.56 MB / 0.9666 GB, free: 26.59 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/3.033, allocations: 12.03 kB / 0.9667 GB, free: 26.57 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05525/3.088, allocations: 6.702 MB / 0.9732 GB, free: 20.57 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04314/3.131, allocations: 11.45 MB / 0.9844 GB, free: 9.184 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001544/3.133, allocations: 472 kB / 0.9848 GB, free: 8.723 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007409/3.14, allocations: 0.8006 MB / 0.9856 GB, free: 7.922 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4794/3.62, allocations: 19.34 MB / 1.005 GB, free: 31.68 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0861/3.706, allocations: 21.59 MB / 1.026 GB, free: 30.11 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001116/3.707, allocations: 19.94 kB / 1.026 GB, free: 30.11 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006645/3.714, allocations: 10.19 kB / 1.026 GB, free: 30.11 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001917/3.716, allocations: 0.9343 MB / 1.027 GB, free: 30.08 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2059/3.922, allocations: 75.93 MB / 1.101 GB, free: 3.281 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05183/3.974, allocations: 30.11 MB / 1.13 GB, free: 13.91 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02765/4.001, allocations: 10.56 MB / 1.14 GB, free: 9.379 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1192/4.121, allocations: 34.24 MB / 1.174 GB, free: 36 kB / 491.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4915/4.612, allocations: 126.8 kB / 1.174 GB, free: 80.36 MB / 491.1 MB Notification: Performance of pre-optimization done (n=1011): time 2.576e-05/4.612, allocations: 0 / 1.174 GB, free: 80.36 MB / 491.1 MB Notification: Performance of matching and sorting (n=1019): time 0.1607/4.773, allocations: 40.85 MB / 1.214 GB, free: 76.71 MB / 491.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/4.773, allocations: 175.9 kB / 1.214 GB, free: 76.61 MB / 491.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01549/4.789, allocations: 3.624 MB / 1.218 GB, free: 76.28 MB / 491.1 MB Notification: Performance of collectPreVariables (initialization): time 0.003271/4.792, allocations: 28.17 kB / 1.218 GB, free: 76.25 MB / 491.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006579/4.799, allocations: 4.957 MB / 1.222 GB, free: 73.56 MB / 491.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.008235/4.807, allocations: 3.217 MB / 1.226 GB, free: 71.39 MB / 491.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003445/4.811, allocations: 3.562 kB / 1.226 GB, free: 71.39 MB / 491.1 MB Notification: Performance of setup shared object (initialization): time 0.001818/4.812, allocations: 0.7077 MB / 1.226 GB, free: 71.05 MB / 491.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02564/4.838, allocations: 6.703 MB / 1.233 GB, free: 71.03 MB / 491.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02937/4.868, allocations: 8.375 MB / 1.241 GB, free: 69.36 MB / 491.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04337/4.911, allocations: 9.347 MB / 1.25 GB, free: 68.4 MB / 491.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001918/4.911, allocations: 11.16 kB / 1.25 GB, free: 68.4 MB / 491.1 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.0988/5.01, allocations: 21.61 MB / 1.271 GB, free: 59.92 MB / 491.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/5.01, allocations: 26.53 kB / 1.271 GB, free: 59.92 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/5.011, allocations: 41.59 kB / 1.271 GB, free: 59.92 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04623/5.057, allocations: 8.303 MB / 1.279 GB, free: 57.42 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01905/5.076, allocations: 1.44 MB / 1.281 GB, free: 57.38 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08076/5.157, allocations: 28.04 MB / 1.308 GB, free: 35.39 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01678/5.174, allocations: 309.8 kB / 1.308 GB, free: 35.2 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004124/5.178, allocations: 371 kB / 1.309 GB, free: 34.87 MB / 491.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switchYDQS.star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[2].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[1].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[1].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[2].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (727): * Single equations (assignments): 698 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.007702/5.186, allocations: 467.3 kB / 1.309 GB, free: 34.6 MB / 491.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09435/5.28, allocations: 20.35 MB / 1.329 GB, free: 16.95 MB / 491.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006247/5.286, allocations: 0.6518 MB / 1.33 GB, free: 16.3 MB / 491.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5224/5.809, allocations: 22.76 MB / 1.352 GB, free: 67.73 MB / 491.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004145/5.809, allocations: 245.6 kB / 1.352 GB, free: 67.73 MB / 491.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.1e-05/5.809, allocations: 10.47 kB / 1.352 GB, free: 67.73 MB / 491.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002383/5.81, allocations: 45.45 kB / 1.352 GB, free: 67.73 MB / 491.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.12/5.93, allocations: 39.22 MB / 1.391 GB, free: 66.57 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001592/5.93, allocations: 5.5 kB / 1.391 GB, free: 66.57 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009659/5.939, allocations: 1.032 MB / 1.392 GB, free: 66.57 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03097/5.97, allocations: 8.407 MB / 1.4 GB, free: 66.37 MB / 491.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002742/5.973, allocations: 112.3 kB / 1.4 GB, free: 66.37 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06064/6.034, allocations: 32.15 MB / 1.431 GB, free: 53.95 MB / 491.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/6.034, allocations: 7.188 kB / 1.431 GB, free: 53.95 MB / 491.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08709/6.121, allocations: 32.4 MB / 1.463 GB, free: 39.59 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009399/6.131, allocations: 2.359 MB / 1.465 GB, free: 38.65 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003773/6.134, allocations: 14.5 kB / 1.465 GB, free: 38.64 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00989/6.144, allocations: 301.9 kB / 1.466 GB, free: 38.64 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004141/6.149, allocations: 0.7944 MB / 1.466 GB, free: 38.48 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002333/6.151, allocations: 274.9 kB / 1.467 GB, free: 38.41 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.007306/6.158, allocations: 2.705 MB / 1.469 GB, free: 37.32 MB / 491.1 MB Notification: Performance of sort global known variables: time 6.31e-07/6.158, allocations: 0 / 1.469 GB, free: 37.32 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.01719/6.175, allocations: 2.33 MB / 1.472 GB, free: 37.3 MB / 491.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (510): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.08861/6.264, allocations: 34.07 MB / 1.505 GB, free: 13.25 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.04667/6.311, allocations: 17.33 MB / 1.522 GB, free: 13.82 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/6.311, allocations: 0 / 1.522 GB, free: 13.82 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.4167/6.728, allocations: 10.06 MB / 1.532 GB, free: 91.06 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01353/6.741, allocations: 1.207 MB / 1.533 GB, free: 91.04 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1113/6.853, allocations: 30.42 MB / 1.562 GB, free: 86.81 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0233/6.876, allocations: 9.237 MB / 1.571 GB, free: 85.71 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01559/6.892, allocations: 5.242 MB / 1.577 GB, free: 85.71 MB / 0.4952 GB Notification: Performance of SimCode: time 1.533e-06/6.892, allocations: 0 / 1.577 GB, free: 85.71 MB / 0.4952 GB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YDCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YDCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YDCalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YDFunctions.cpp:417:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp250 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YDFunctions.cpp:417:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp250 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YDCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YDFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YDCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YDCalcHelperMain.o] Error 1