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.IMS_Start.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.IMS_Start,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",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.001443/0.001443, 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.191/2.191, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001153/0.001153, allocations: 94.14 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.332e-05, allocations: 4 kB / 314.9 MB, free: 9.039 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3381, allocations: 47.57 MB / 362.5 MB, free: 45.75 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5359/0.8742, allocations: 161.4 MB / 0.5116 GB, free: 81.79 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/0.8746, allocations: 108 kB / 0.5117 GB, free: 81.78 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.819/3.694, allocations: 0.5644 GB / 1.076 GB, free: 31.75 MB / 459.1 MB Notification: Performance of FrontEnd: time 2.595e-06/3.694, allocations: 4 kB / 1.076 GB, free: 31.74 MB / 459.1 MB Notification: Performance of Transformations before backend: time 0.001843/3.696, allocations: 424.9 kB / 1.076 GB, free: 31.67 MB / 459.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.08733/3.783, allocations: 16.98 MB / 1.093 GB, free: 26.57 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/3.783, allocations: 10.69 kB / 1.093 GB, free: 26.57 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07067/3.854, allocations: 8.458 MB / 1.101 GB, free: 25.54 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05372/3.908, allocations: 14.54 MB / 1.116 GB, free: 23.5 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001752/3.91, allocations: 0.5931 MB / 1.116 GB, free: 23.49 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009596/3.919, allocations: 1.028 MB / 1.117 GB, free: 23.48 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07614/3.995, allocations: 24.18 MB / 1.141 GB, free: 6.309 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1176/4.113, allocations: 28.24 MB / 1.168 GB, free: 144 kB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001102/4.114, allocations: 31.27 kB / 1.168 GB, free: 116 kB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008494/4.123, allocations: 12 kB / 1.168 GB, free: 104 kB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.434/4.557, allocations: 1.205 MB / 1.17 GB, free: 53.54 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2693/4.826, allocations: 96.01 MB / 1.263 GB, free: 29.22 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05348/4.88, allocations: 34.49 MB / 1.297 GB, free: 5.137 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03196/4.912, allocations: 12.73 MB / 1.309 GB, free: 15.78 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1417/5.053, allocations: 40.34 MB / 1.349 GB, free: 3.66 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/5.054, allocations: 150.4 kB / 1.349 GB, free: 3.508 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=1269): time 1.818e-05/5.054, allocations: 0 / 1.349 GB, free: 3.508 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1277): time 0.6185/5.672, allocations: 50.74 MB / 1.398 GB, free: 78.21 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/5.673, allocations: 186.8 kB / 1.399 GB, free: 78.11 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01269/5.685, allocations: 4.188 MB / 1.403 GB, free: 77.74 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.003184/5.688, allocations: 27.61 kB / 1.403 GB, free: 77.71 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.005761/5.694, allocations: 6.341 MB / 1.409 GB, free: 74.28 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.007472/5.702, allocations: 4.032 MB / 1.413 GB, free: 71.55 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003403/5.705, allocations: 0 / 1.413 GB, free: 71.55 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.001719/5.707, allocations: 0.8133 MB / 1.414 GB, free: 71.21 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02126/5.728, allocations: 8.238 MB / 1.422 GB, free: 71.19 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02409/5.752, allocations: 10.33 MB / 1.432 GB, free: 68.85 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03495/5.787, allocations: 11.57 MB / 1.443 GB, free: 64.39 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000146/5.788, allocations: 16.28 kB / 1.443 GB, free: 64.39 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1564) (initialization): time 0.07889/5.867, allocations: 25.83 MB / 1.468 GB, free: 54.21 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 7.934e-05/5.867, allocations: 31.5 kB / 1.468 GB, free: 54.21 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/5.867, allocations: 52.72 kB / 1.468 GB, free: 54.21 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02891/5.896, allocations: 8.836 MB / 1.477 GB, free: 49.74 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01625/5.912, allocations: 1.938 MB / 1.479 GB, free: 48.27 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05153/5.964, allocations: 30.65 MB / 1.509 GB, free: 19.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01419/5.978, allocations: 423.8 kB / 1.509 GB, free: 19.25 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004249/5.982, allocations: 467.3 kB / 1.51 GB, free: 18.83 MB / 0.4952 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imsQS.rotor.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] idealCloserQS.idealClosingSwitch[1].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] powerSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary 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] idealCloserQS.idealClosingSwitch[2].s.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] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] powerSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real 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[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real 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] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: rheostatQS.star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: rheostatQS.starRheostat.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.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: terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].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.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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] 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[3].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 248 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (982): * Single equations (assignments): 918 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of prepare postOptimizeDAE: time 0.007617/5.99, allocations: 0.5244 MB / 1.51 GB, free: 18.53 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08703/6.077, allocations: 25.23 MB / 1.535 GB, free: 15.04 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006336/6.083, allocations: 0.8085 MB / 1.536 GB, free: 14.22 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5453/6.629, allocations: 27.36 MB / 1.562 GB, free: 91.23 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06718/6.696, allocations: 21.4 MB / 1.583 GB, free: 90.88 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.098e-05/6.696, allocations: 10.81 kB / 1.583 GB, free: 90.88 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004196/6.697, allocations: 50.53 kB / 1.583 GB, free: 90.88 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1476/6.844, allocations: 47.42 MB / 1.63 GB, free: 79.48 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002156/6.844, allocations: 2.719 kB / 1.63 GB, free: 79.48 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01342/6.858, allocations: 1.42 MB / 1.631 GB, free: 79.45 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03099/6.889, allocations: 8.962 MB / 1.64 GB, free: 76.68 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00345/6.892, allocations: 132.9 kB / 1.64 GB, free: 76.64 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05887/6.951, allocations: 36.54 MB / 1.676 GB, free: 48.99 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/6.951, allocations: 5.406 kB / 1.676 GB, free: 48.99 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1031/7.055, allocations: 39.41 MB / 1.714 GB, free: 14.68 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01202/7.067, allocations: 2.825 MB / 1.717 GB, free: 12.59 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005272/7.072, allocations: 12 kB / 1.717 GB, free: 12.57 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01305/7.085, allocations: 418.5 kB / 1.717 GB, free: 12.34 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005399/7.091, allocations: 0.968 MB / 1.718 GB, free: 11.73 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003757/7.094, allocations: 339.4 kB / 1.719 GB, free: 11.43 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.009969/7.104, allocations: 3.117 MB / 1.722 GB, free: 8.715 MB / 0.5108 GB Notification: Performance of sort global known variables: time 8.52e-07/7.104, allocations: 1.656 kB / 1.722 GB, free: 8.715 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.02365/7.128, allocations: 2.852 MB / 1.724 GB, free: 5.879 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 650 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of Backend phase and start with SimCode phase: time 0.5981/7.726, allocations: 42.8 MB / 1.766 GB, free: 87.7 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.05798/7.784, allocations: 21.07 MB / 1.787 GB, free: 86.51 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/7.784, allocations: 0 / 1.787 GB, free: 86.51 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.03552/7.82, allocations: 12.16 MB / 1.799 GB, free: 85.25 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01703/7.837, allocations: 1.516 MB / 1.8 GB, free: 85.23 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1276/7.965, allocations: 38.27 MB / 1.837 GB, free: 71.23 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02827/7.993, allocations: 11.57 MB / 1.849 GB, free: 63.95 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02032/8.013, allocations: 6.798 MB / 1.855 GB, free: 57.61 MB / 0.5108 GB Notification: Performance of SimCode: time 2.655e-06/8.013, allocations: 2.297 kB / 1.855 GB, free: 57.61 MB / 0.5108 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_IMS_StartCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_StartCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_StartCalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_StartFunctions.cpp:588:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp405 = 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_IMS_StartFunctions.cpp:588:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp405 = 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_IMS_StartCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_StartFMU.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_IMS_StartCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_StartCalcHelperMain.o] Error 1