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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002301/0.002301, allocations: 178.4 kB / 8.362 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 1.989/1.989, 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.00111/0.001109, allocations: 94.55 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.189e-05/2.214e-05, allocations: 0 / 314.8 MB, free: 9.117 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3403, allocations: 47.57 MB / 362.4 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5411/0.8815, allocations: 161.4 MB / 0.5115 GB, free: 81.73 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/0.8819, allocations: 97.12 kB / 0.5116 GB, free: 81.73 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.961/3.843, allocations: 0.5644 GB / 1.076 GB, free: 31.98 MB / 459.1 MB Notification: Performance of FrontEnd: time 2.985e-06/3.843, allocations: 0 / 1.076 GB, free: 31.98 MB / 459.1 MB Notification: Performance of Transformations before backend: time 0.001797/3.845, allocations: 422.7 kB / 1.076 GB, free: 31.91 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.09207/3.937, allocations: 16.97 MB / 1.093 GB, free: 26.8 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/3.937, allocations: 11.28 kB / 1.093 GB, free: 26.8 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07234/4.009, allocations: 8.453 MB / 1.101 GB, free: 25.78 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0567/4.066, allocations: 14.54 MB / 1.115 GB, free: 23.77 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001902/4.068, allocations: 0.5921 MB / 1.116 GB, free: 23.77 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01052/4.079, allocations: 1.038 MB / 1.117 GB, free: 23.75 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07871/4.157, allocations: 24.18 MB / 1.141 GB, free: 6.82 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1194/4.277, allocations: 28.25 MB / 1.168 GB, free: 0.6484 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001084/4.278, allocations: 23.7 kB / 1.168 GB, free: 0.6289 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008102/4.286, allocations: 16 kB / 1.168 GB, free: 0.6133 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4428/4.729, allocations: 1.192 MB / 1.169 GB, free: 53.36 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2724/5.002, allocations: 96.01 MB / 1.263 GB, free: 29.28 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05512/5.057, allocations: 34.49 MB / 1.297 GB, free: 5.195 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03243/5.089, allocations: 12.72 MB / 1.309 GB, free: 15.78 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1376/5.227, allocations: 40.23 MB / 1.349 GB, free: 3.68 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/5.227, allocations: 150.4 kB / 1.349 GB, free: 3.527 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=1269): time 1.908e-05/5.227, allocations: 4 kB / 1.349 GB, free: 3.523 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1277): time 0.6176/5.845, allocations: 50.92 MB / 1.398 GB, free: 78.32 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/5.845, allocations: 189.1 kB / 1.399 GB, free: 78.21 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01122/5.856, allocations: 4.193 MB / 1.403 GB, free: 77.84 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.002898/5.859, allocations: 25.7 kB / 1.403 GB, free: 77.81 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.005451/5.865, allocations: 6.34 MB / 1.409 GB, free: 74.38 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.007263/5.872, allocations: 4.036 MB / 1.413 GB, free: 71.65 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003546/5.876, allocations: 2.75 kB / 1.413 GB, free: 71.65 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.001719/5.877, allocations: 0.8077 MB / 1.414 GB, free: 71.31 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0206/5.898, allocations: 8.237 MB / 1.422 GB, free: 71.29 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02411/5.922, allocations: 10.33 MB / 1.432 GB, free: 69.21 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03479/5.957, allocations: 11.58 MB / 1.443 GB, free: 64.78 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001716/5.957, allocations: 16.94 kB / 1.443 GB, free: 64.78 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1564) (initialization): time 0.07797/6.035, allocations: 25.83 MB / 1.468 GB, free: 54.6 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 8.417e-05/6.035, allocations: 34.53 kB / 1.468 GB, free: 54.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/6.036, allocations: 54.94 kB / 1.468 GB, free: 54.6 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02904/6.065, allocations: 8.823 MB / 1.477 GB, free: 50.43 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01659/6.081, allocations: 1.936 MB / 1.479 GB, free: 48.95 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05155/6.133, allocations: 30.65 MB / 1.509 GB, free: 20.18 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01424/6.147, allocations: 426.3 kB / 1.509 GB, free: 19.93 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004245/6.151, allocations: 465.8 kB / 1.51 GB, free: 19.51 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.007683/6.159, allocations: 0.5257 MB / 1.51 GB, free: 19.21 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005241/6.164, allocations: 0.8121 MB / 1.511 GB, free: 18.39 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08647/6.251, allocations: 26.44 MB / 1.537 GB, free: 12.18 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5232/6.774, allocations: 23.04 MB / 1.559 GB, free: 92.03 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.58e-05/6.774, allocations: 6.875 kB / 1.559 GB, free: 92.03 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003427/6.775, allocations: 56 kB / 1.559 GB, free: 92.03 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1927/6.968, allocations: 47.43 MB / 1.606 GB, free: 90.44 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002065/6.968, allocations: 3.625 kB / 1.606 GB, free: 90.44 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01353/6.981, allocations: 1.425 MB / 1.607 GB, free: 90.4 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03082/7.012, allocations: 8.948 MB / 1.616 GB, free: 87.64 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003477/7.016, allocations: 136.7 kB / 1.616 GB, free: 87.6 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05606/7.072, allocations: 36.53 MB / 1.652 GB, free: 63 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/7.072, allocations: 11.25 kB / 1.652 GB, free: 63 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0974/7.169, allocations: 39.4 MB / 1.69 GB, free: 36.96 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01086/7.18, allocations: 2.829 MB / 1.693 GB, free: 34.86 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004137/7.184, allocations: 17.25 kB / 1.693 GB, free: 34.85 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0121/7.197, allocations: 424.7 kB / 1.693 GB, free: 34.61 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00473/7.201, allocations: 0.9667 MB / 1.694 GB, free: 34 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003167/7.205, allocations: 338.5 kB / 1.695 GB, free: 33.7 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.007989/7.213, allocations: 3.121 MB / 1.698 GB, free: 30.99 MB / 0.5108 GB Notification: Performance of sort global known variables: time 5.71e-07/7.213, allocations: 1.719 kB / 1.698 GB, free: 30.99 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.02087/7.234, allocations: 2.853 MB / 1.7 GB, free: 28.15 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.004109/7.238, allocations: 0.5578 MB / 1.701 GB, free: 27.81 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.05403/7.292, allocations: 21.07 MB / 1.722 GB, free: 9.012 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/7.292, allocations: 0 / 1.722 GB, free: 9.012 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.4909/7.783, allocations: 13.03 MB / 1.734 GB, free: 85.91 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0175/7.8, allocations: 1.521 MB / 1.736 GB, free: 85.89 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1161/7.916, allocations: 33.48 MB / 1.768 GB, free: 80.89 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02952/7.946, allocations: 11.57 MB / 1.78 GB, free: 79.67 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00641/7.952, allocations: 0.6035 MB / 1.78 GB, free: 79.67 MB / 0.5108 GB Notification: Performance of SimCode: time 1.383e-06/7.952, allocations: 4 kB / 1.78 GB, free: 79.66 MB / 0.5108 GB Notification: Performance of Templates: time 7.1/15.05, allocations: 1.758 GB / 3.539 GB, free: 124.4 MB / 0.5577 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -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\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartFunctions.cpp:588:43: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp405 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartFunctions.cpp:588:86: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp405 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0)));\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartCalcHelperMain.o] Error 1\n'