Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 198.9 kB / 17.05 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.5 MB / 244.3 MB, free: 6.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007423/0.0007422, allocations: 104.5 kB / 296.4 MB, free: 6.766 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002074/0.0002075, allocations: 8 kB / 356.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2066, allocations: 51.29 MB / 407.5 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.005874/0.2125, allocations: 7.228 MB / 414.7 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004374/0.217, allocations: 2.562 MB / 417.3 MB, free: 17.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.2184, allocations: 39.81 kB / 417.3 MB, free: 17.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.2202, allocations: 0.4894 MB / 417.8 MB, free: 17.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.222, allocations: 0.5476 MB / 418.4 MB, free: 16.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007019/0.2227, allocations: 183.7 kB / 418.6 MB, free: 16.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.2248, allocations: 2.097 MB / 420.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.2262, allocations: 0.9597 MB / 421.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.2273, allocations: 0.6887 MB / 422.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.2286, allocations: 0.8989 MB / 423.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.2289, allocations: 107.9 kB / 423.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.2294, allocations: 163.9 kB / 423.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.2298, allocations: 0.4906 MB / 424 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.2301, allocations: 380.8 kB / 424.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.2315, allocations: 2.411 MB / 426.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2315, allocations: 0 / 426.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2315, allocations: 0 / 426.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.2315, allocations: 0 / 426.7 MB, free: 8.461 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00269/0.2342, allocations: 1.825 MB / 428.6 MB, free: 6.578 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2343, allocations: 12.03 kB / 428.6 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/0.2348, allocations: 217.6 kB / 428.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.2361, allocations: 1.075 MB / 429.9 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.2362, allocations: 111 kB / 430 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.2364, allocations: 156 kB / 430.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/0.2388, allocations: 1.939 MB / 432.1 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.2388, allocations: 15.84 kB / 432.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.239, allocations: 59.98 kB / 432.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-05/0.239, allocations: 78.91 kB / 432.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.241, allocations: 1.573 MB / 433.8 MB, free: 1.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008603/0.2496, allocations: 6.358 MB / 440.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.251, allocations: 0.8299 MB / 441 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009273/0.2519, allocations: 0.5731 MB / 441.5 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.2521, allocations: 121.6 kB / 441.7 MB, free: 9.109 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2522, allocations: 43.11 kB / 441.7 MB, free: 9.059 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 2.855e-06/0.2522, allocations: 384 / 441.7 MB, free: 9.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.01278/0.265, allocations: 5.897 MB / 447.6 MB, free: 3.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.2651, allocations: 60.41 kB / 447.7 MB, free: 2.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.267, allocations: 1.145 MB / 448.8 MB, free: 1.789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.2672, allocations: 41.7 kB / 448.8 MB, free: 1.742 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006014/0.2678, allocations: 0.7708 MB / 449.6 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.2681, allocations: 299.7 kB / 449.9 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.2681, allocations: 24 kB / 449.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.2683, allocations: 349.9 kB / 450.3 MB, free: 300 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008856/0.2692, allocations: 0.5452 MB / 450.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009832/0.2702, allocations: 0.8756 MB / 451.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/0.2711, allocations: 0.6901 MB / 452.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2712, allocations: 0 / 452.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003216/0.2744, allocations: 2.032 MB / 454.4 MB, free: 11.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.2744, allocations: 12.06 kB / 454.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.2745, allocations: 15.98 kB / 454.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.2758, allocations: 0.5514 MB / 455 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/0.2766, allocations: 243.5 kB / 455.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007334/0.2839, allocations: 7.894 MB / 463.1 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008595/0.2848, allocations: 67.89 kB / 463.2 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/0.2849, allocations: 55.98 kB / 463.3 MB, free: 2.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008376/0.2857, allocations: 0.517 MB / 463.8 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.2859, allocations: 126.5 kB / 463.9 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.2888, allocations: 1.763 MB / 465.7 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.2888, allocations: 15.94 kB / 465.7 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2888, allocations: 4 kB / 465.7 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2888, allocations: 3.984 kB / 465.7 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005635/0.2945, allocations: 3.731 MB / 469.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2945, allocations: 0 / 469.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.2951, allocations: 132.1 kB / 469.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.2966, allocations: 0.5955 MB / 470.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-05/0.2967, allocations: 23.98 kB / 470.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007344/0.304, allocations: 7.065 MB / 477.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.304, allocations: 4 kB / 477.2 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.3077, allocations: 2.471 MB / 479.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005748/0.3083, allocations: 311.6 kB / 480 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.3085, allocations: 23.98 kB / 480 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006125/0.3091, allocations: 59.94 kB / 480.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3093, allocations: 72.45 kB / 480.2 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.3093, allocations: 27.98 kB / 480.2 MB, free: 1.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.3104, allocations: 0.7778 MB / 481 MB, free: 272 kB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3104, allocations: 0 / 481 MB, free: 272 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001284/0.3117, allocations: 376 kB / 481.3 MB, free: 15.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(6,69.4%) 14,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002783/0.312, allocations: 147 kB / 481.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.3149, allocations: 2.123 MB / 483.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.315, allocations: 0.6875 kB / 483.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.3168, allocations: 1.306 MB / 484.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.3184, allocations: 356.1 kB / 485.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.3233, allocations: 3.95 MB / 489.2 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.3243, allocations: 1.452 MB / 490.6 MB, free: 6.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.3246, allocations: 87.42 kB / 490.7 MB, free: 6.242 MB / 362.7 MB Notification: Performance of SimCode: time 4e-07/0.3246, allocations: 3.938 kB / 490.7 MB, free: 6.238 MB / 362.7 MB Notification: Performance of Templates: time 0.2035/0.5281, allocations: 58.86 MB / 0.5367 GB, free: 64.91 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DCBraking/IMC_DCBraking.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi,loadInertia.w,imc.idq_sr[1],imc.idq_sr[2],imc.is[1],imc.is[2],tauElectrical,tauShaft,wMechanical Variables in the result:JLoad,constantCurrent.I,constantCurrent.i,constantCurrent.n.i,constantCurrent.n.v,constantCurrent.p.i,constantCurrent.p.v,constantCurrent.v,der(imc.airGap.RotationMatrix[2,1]),der(imc.airGap.RotationMatrix[2,2]),der(imc.airGap.gamma),der(imc.airGap.i_ms[1]),der(imc.airGap.i_ms[2]),der(imc.airGap.psi_mr[1]),der(imc.airGap.psi_mr[2]),der(imc.airGap.psi_ms[1]),der(imc.airGap.psi_ms[2]),der(imc.friction.phi),der(imc.i_0_s),der(imc.idq_rr[1]),der(imc.idq_rr[2]),der(imc.idq_rs[1]),der(imc.idq_rs[2]),der(imc.idq_sr[1]),der(imc.idq_sr[2]),der(imc.inertiaRotor.w),der(imc.is[1]),der(imc.is[2]),der(imc.is[3]),der(imc.lssigma.i_[1]),der(imc.lssigma.i_[2]),der(imc.phiMechanical),der(imc.strayLoad.phi),der(loadInertia.phi),ground.p.i,ground.p.v,imc.Jr,imc.Js,imc.Lm,imc.Lrsigma,imc.Lssigma,imc.Lszero,imc.Rr,imc.Rs,imc.TrOperational,imc.TrRef,imc.TsOperational,imc.TsRef,imc.airGap.Lm,imc.airGap.RotationMatrix[1,1],imc.airGap.RotationMatrix[1,2],imc.airGap.RotationMatrix[2,1],imc.airGap.RotationMatrix[2,2],imc.airGap.flange.phi,imc.airGap.flange.tau,imc.airGap.gamma,imc.airGap.i_ms[1],imc.airGap.i_ms[2],imc.airGap.i_rr[1],imc.airGap.i_rr[2],imc.airGap.i_rs[1],imc.airGap.i_rs[2],imc.airGap.i_sr[1],imc.airGap.i_sr[2],imc.airGap.i_ss[1],imc.airGap.i_ss[2],imc.airGap.m,imc.airGap.p,imc.airGap.psi_mr[1],imc.airGap.psi_mr[2],imc.airGap.psi_ms[1],imc.airGap.psi_ms[2],imc.airGap.spacePhasor_r.i_[1],imc.airGap.spacePhasor_r.i_[2],imc.airGap.spacePhasor_r.v_[1],imc.airGap.spacePhasor_r.v_[2],imc.airGap.spacePhasor_s.i_[1],imc.airGap.spacePhasor_s.i_[2],imc.airGap.spacePhasor_s.v_[1],imc.airGap.spacePhasor_s.v_[2],imc.airGap.support.phi,imc.airGap.support.tau,imc.airGap.tauElectrical,imc.alpha20r,imc.alpha20s,imc.fixed.flange.phi,imc.fixed.flange.tau,imc.fixed.phi0,imc.flange.phi,imc.flange.tau,imc.friction.flange.phi,imc.friction.flange.tau,imc.friction.frictionParameters.PRef,imc.friction.frictionParameters.linear,imc.friction.frictionParameters.power_w,imc.friction.frictionParameters.tauLinear,imc.friction.frictionParameters.tauRef,imc.friction.frictionParameters.wLinear,imc.friction.frictionParameters.wRef,imc.friction.heatPort.Q_flow,imc.friction.heatPort.T,imc.friction.lossPower,imc.friction.phi,imc.friction.support.phi,imc.friction.support.tau,imc.friction.tau,imc.friction.w,imc.frictionParameters.PRef,imc.frictionParameters.linear,imc.frictionParameters.power_w,imc.frictionParameters.tauLinear,imc.frictionParameters.tauRef,imc.frictionParameters.wLinear,imc.frictionParameters.wRef,imc.fsNominal,imc.i_0_s,imc.idq_rr[1],imc.idq_rr[2],imc.idq_rs[1],imc.idq_rs[2],imc.idq_sr[1],imc.idq_sr[2],imc.idq_ss[1],imc.idq_ss[2],imc.inertiaRotor.J,imc.inertiaRotor.a,imc.inertiaRotor.flange_a.phi,imc.inertiaRotor.flange_a.tau,imc.inertiaRotor.flange_b.phi,imc.inertiaRotor.flange_b.tau,imc.inertiaRotor.phi,imc.inertiaRotor.w,imc.inertiaStator.J,imc.inertiaStator.a,imc.inertiaStator.flange_a.phi,imc.inertiaStator.flange_a.tau,imc.inertiaStator.flange_b.phi,imc.inertiaStator.flange_b.tau,imc.inertiaStator.phi,imc.inertiaStator.w,imc.ir[1],imc.ir[2],imc.is[1],imc.is[2],imc.is[3],imc.lssigma.L[1],imc.lssigma.L[2],imc.lssigma.i_[1],imc.lssigma.i_[2],imc.lssigma.spacePhasor_a.i_[1],imc.lssigma.spacePhasor_a.i_[2],imc.lssigma.spacePhasor_a.v_[1],imc.lssigma.spacePhasor_a.v_[2],imc.lssigma.spacePhasor_b.i_[1],imc.lssigma.spacePhasor_b.i_[2],imc.lssigma.spacePhasor_b.v_[1],imc.lssigma.spacePhasor_b.v_[2],imc.lssigma.v_[1],imc.lssigma.v_[2],imc.lszero.L,imc.lszero.i,imc.lszero.n.i,imc.lszero.n.v,imc.lszero.p.i,imc.lszero.p.v,imc.lszero.v,imc.m,imc.p,imc.phiMechanical,imc.plug_sn.m,imc.plug_sn.pin[1].i,imc.plug_sn.pin[1].v,imc.plug_sn.pin[2].i,imc.plug_sn.pin[2].v,imc.plug_sn.pin[3].i,imc.plug_sn.pin[3].v,imc.plug_sp.m,imc.plug_sp.pin[1].i,imc.plug_sp.pin[1].v,imc.plug_sp.pin[2].i,imc.plug_sp.pin[2].v,imc.plug_sp.pin[3].i,imc.plug_sp.pin[3].v,imc.powerBalance.lossPowerFriction,imc.powerBalance.lossPowerRotorCore,imc.powerBalance.lossPowerRotorWinding,imc.powerBalance.lossPowerStatorCore,imc.powerBalance.lossPowerStatorWinding,imc.powerBalance.lossPowerStrayLoad,imc.powerBalance.lossPowerTotal,imc.powerBalance.powerInertiaRotor,imc.powerBalance.powerInertiaStator,imc.powerBalance.powerMechanical,imc.powerBalance.powerStator,imc.rs.R[1],imc.rs.R[2],imc.rs.R[3],imc.rs.T[1],imc.rs.T[2],imc.rs.T[3],imc.rs.T_ref[1],imc.rs.T_ref[2],imc.rs.T_ref[3],imc.rs.alpha[1],imc.rs.alpha[2],imc.rs.alpha[3],imc.rs.heatPort[1].Q_flow,imc.rs.heatPort[1].T,imc.rs.heatPort[2].Q_flow,imc.rs.heatPort[2].T,imc.rs.heatPort[3].Q_flow,imc.rs.heatPort[3].T,imc.rs.i[1],imc.rs.i[2],imc.rs.i[3],imc.rs.m,imc.rs.mh,imc.rs.plug_n.m,imc.rs.plug_n.pin[1].i,imc.rs.plug_n.pin[1].v,imc.rs.plug_n.pin[2].i,imc.rs.plug_n.pin[2].v,imc.rs.plug_n.pin[3].i,imc.rs.plug_n.pin[3].v,imc.rs.plug_p.m,imc.rs.plug_p.pin[1].i,imc.rs.plug_p.pin[1].v,imc.rs.plug_p.pin[2].i,imc.rs.plug_p.pin[2].v,imc.rs.plug_p.pin[3].i,imc.rs.plug_p.pin[3].v,imc.rs.resistor[1].LossPower,imc.rs.resistor[1].R,imc.rs.resistor[1].R_actual,imc.rs.resistor[1].T,imc.rs.resistor[1].T_heatPort,imc.rs.resistor[1].T_ref,imc.rs.resistor[1].alpha,imc.rs.resistor[1].heatPort.Q_flow,imc.rs.resistor[1].heatPort.T,imc.rs.resistor[1].i,imc.rs.resistor[1].n.i,imc.rs.resistor[1].n.v,imc.rs.resistor[1].p.i,imc.rs.resistor[1].p.v,imc.rs.resistor[1].v,imc.rs.resistor[2].LossPower,imc.rs.resistor[2].R,imc.rs.resistor[2].R_actual,imc.rs.resistor[2].T,imc.rs.resistor[2].T_heatPort,imc.rs.resistor[2].T_ref,imc.rs.resistor[2].alpha,imc.rs.resistor[2].heatPort.Q_flow,imc.rs.resistor[2].heatPort.T,imc.rs.resistor[2].i,imc.rs.resistor[2].n.i,imc.rs.resistor[2].n.v,imc.rs.resistor[2].p.i,imc.rs.resistor[2].p.v,imc.rs.resistor[2].v,imc.rs.resistor[3].LossPower,imc.rs.resistor[3].R,imc.rs.resistor[3].R_actual,imc.rs.resistor[3].T,imc.rs.resistor[3].T_heatPort,imc.rs.resistor[3].T_ref,imc.rs.resistor[3].alpha,imc.rs.resistor[3].heatPort.Q_flow,imc.rs.resistor[3].heatPort.T,imc.rs.resistor[3].i,imc.rs.resistor[3].n.i,imc.rs.resistor[3].n.v,imc.rs.resistor[3].p.i,imc.rs.resistor[3].p.v,imc.rs.resistor[3].v,imc.rs.v[1],imc.rs.v[2],imc.rs.v[3],imc.spacePhasorS.ground.i,imc.spacePhasorS.ground.v,imc.spacePhasorS.i[1],imc.spacePhasorS.i[2],imc.spacePhasorS.i[3],imc.spacePhasorS.plug_n.m,imc.spacePhasorS.plug_n.pin[1].i,imc.spacePhasorS.plug_n.pin[1].v,imc.spacePhasorS.plug_n.pin[2].i,imc.spacePhasorS.plug_n.pin[2].v,imc.spacePhasorS.plug_n.pin[3].i,imc.spacePhasorS.plug_n.pin[3].v,imc.spacePhasorS.plug_p.m,imc.spacePhasorS.plug_p.pin[1].i,imc.spacePhasorS.plug_p.pin[1].v,imc.spacePhasorS.plug_p.pin[2].i,imc.spacePhasorS.plug_p.pin[2].v,imc.spacePhasorS.plug_p.pin[3].i,imc.spacePhasorS.plug_p.pin[3].v,imc.spacePhasorS.spacePhasor.i_[1],imc.spacePhasorS.spacePhasor.i_[2],imc.spacePhasorS.spacePhasor.v_[1],imc.spacePhasorS.spacePhasor.v_[2],imc.spacePhasorS.turnsRatio,imc.spacePhasorS.v[1],imc.spacePhasorS.v[2],imc.spacePhasorS.v[3],imc.spacePhasorS.zero.i,imc.spacePhasorS.zero.v,imc.squirrelCageR.LossPower,imc.squirrelCageR.Lrsigma,imc.squirrelCageR.Rr,imc.squirrelCageR.Rr_actual,imc.squirrelCageR.T,imc.squirrelCageR.T_heatPort,imc.squirrelCageR.T_ref,imc.squirrelCageR.alpha,imc.squirrelCageR.heatPort.Q_flow,imc.squirrelCageR.heatPort.T,imc.squirrelCageR.i[1],imc.squirrelCageR.i[2],imc.squirrelCageR.spacePhasor_r.i_[1],imc.squirrelCageR.spacePhasor_r.i_[2],imc.squirrelCageR.spacePhasor_r.v_[1],imc.squirrelCageR.spacePhasor_r.v_[2],imc.statorCore.Gc,imc.statorCore.coreParameters.GcRef,imc.statorCore.coreParameters.PRef,imc.statorCore.coreParameters.VRef,imc.statorCore.coreParameters.m,imc.statorCore.coreParameters.ratioHysteresis,imc.statorCore.coreParameters.wMin,imc.statorCore.coreParameters.wRef,imc.statorCore.heatPort.Q_flow,imc.statorCore.heatPort.T,imc.statorCore.lossPower,imc.statorCore.m,imc.statorCore.spacePhasor.i_[1],imc.statorCore.spacePhasor.i_[2],imc.statorCore.spacePhasor.v_[1],imc.statorCore.spacePhasor.v_[2],imc.statorCore.turnsRatio,imc.statorCore.w,imc.statorCoreParameters.GcRef,imc.statorCoreParameters.PRef,imc.statorCoreParameters.VRef,imc.statorCoreParameters.m,imc.statorCoreParameters.ratioHysteresis,imc.statorCoreParameters.wMin,imc.statorCoreParameters.wRef,imc.strayLoad.flange.phi,imc.strayLoad.flange.tau,imc.strayLoad.heatPort.Q_flow,imc.strayLoad.heatPort.T,imc.strayLoad.iRMS,imc.strayLoad.i[1],imc.strayLoad.i[2],imc.strayLoad.i[3],imc.strayLoad.lossPower,imc.strayLoad.m,imc.strayLoad.phi,imc.strayLoad.plug_n.m,imc.strayLoad.plug_n.pin[1].i,imc.strayLoad.plug_n.pin[1].v,imc.strayLoad.plug_n.pin[2].i,imc.strayLoad.plug_n.pin[2].v,imc.strayLoad.plug_n.pin[3].i,imc.strayLoad.plug_n.pin[3].v,imc.strayLoad.plug_p.m,imc.strayLoad.plug_p.pin[1].i,imc.strayLoad.plug_p.pin[1].v,imc.strayLoad.plug_p.pin[2].i,imc.strayLoad.plug_p.pin[2].v,imc.strayLoad.plug_p.pin[3].i,imc.strayLoad.plug_p.pin[3].v,imc.strayLoad.strayLoadParameters.IRef,imc.strayLoad.strayLoadParameters.PRef,imc.strayLoad.strayLoadParameters.power_w,imc.strayLoad.strayLoadParameters.tauRef,imc.strayLoad.strayLoadParameters.wRef,imc.strayLoad.support.phi,imc.strayLoad.support.tau,imc.strayLoad.tau,imc.strayLoad.v[1],imc.strayLoad.v[2],imc.strayLoad.v[3],imc.strayLoad.w,imc.strayLoadParameters.IRef,imc.strayLoadParameters.PRef,imc.strayLoadParameters.power_w,imc.strayLoadParameters.tauRef,imc.strayLoadParameters.wRef,imc.tauElectrical,imc.tauShaft,imc.thermalAmbient.Q_flowFriction,imc.thermalAmbient.Q_flowRotorCore,imc.thermalAmbient.Q_flowRotorWinding,imc.thermalAmbient.Q_flowStatorCore,imc.thermalAmbient.Q_flowStatorWinding,imc.thermalAmbient.Q_flowStrayLoad,imc.thermalAmbient.Q_flowTotal,imc.thermalAmbient.Tr,imc.thermalAmbient.Ts,imc.thermalAmbient.constTr.k,imc.thermalAmbient.constTr.y,imc.thermalAmbient.constTs.k,imc.thermalAmbient.constTs.y,imc.thermalAmbient.m,imc.thermalAmbient.temperatureFriction.T,imc.thermalAmbient.temperatureFriction.port.Q_flow,imc.thermalAmbient.temperatureFriction.port.T,imc.thermalAmbient.temperatureRotorCore.T,imc.thermalAmbient.temperatureRotorCore.port.Q_flow,imc.thermalAmbient.temperatureRotorCore.port.T,imc.thermalAmbient.temperatureRotorWinding.T,imc.thermalAmbient.temperatureRotorWinding.port.Q_flow,imc.thermalAmbient.temperatureRotorWinding.port.T,imc.thermalAmbient.temperatureStatorCore.T,imc.thermalAmbient.temperatureStatorCore.port.Q_flow,imc.thermalAmbient.temperatureStatorCore.port.T,imc.thermalAmbient.temperatureStatorWinding.T,imc.thermalAmbient.temperatureStatorWinding.port.Q_flow,imc.thermalAmbient.temperatureStatorWinding.port.T,imc.thermalAmbient.temperatureStrayLoad.T,imc.thermalAmbient.temperatureStrayLoad.port.Q_flow,imc.thermalAmbient.temperatureStrayLoad.port.T,imc.thermalAmbient.thermalCollectorStator.m,imc.thermalAmbient.thermalCollectorStator.port_a[1].Q_flow,imc.thermalAmbient.thermalCollectorStator.port_a[1].T,imc.thermalAmbient.thermalCollectorStator.port_a[2].Q_flow,imc.thermalAmbient.thermalCollectorStator.port_a[2].T,imc.thermalAmbient.thermalCollectorStator.port_a[3].Q_flow,imc.thermalAmbient.thermalCollectorStator.port_a[3].T,imc.thermalAmbient.thermalCollectorStator.port_b.Q_flow,imc.thermalAmbient.thermalCollectorStator.port_b.T,imc.thermalAmbient.thermalPort.heatPortFriction.Q_flow,imc.thermalAmbient.thermalPort.heatPortFriction.T,imc.thermalAmbient.thermalPort.heatPortRotorCore.Q_flow,imc.thermalAmbient.thermalPort.heatPortRotorCore.T,imc.thermalAmbient.thermalPort.heatPortRotorWinding.Q_flow,imc.thermalAmbient.thermalPort.heatPortRotorWinding.T,imc.thermalAmbient.thermalPort.heatPortStatorCore.Q_flow,imc.thermalAmbient.thermalPort.heatPortStatorCore.T,imc.thermalAmbient.thermalPort.heatPortStatorWinding[1].Q_flow,imc.thermalAmbient.thermalPort.heatPortStatorWinding[1].T,imc.thermalAmbient.thermalPort.heatPortStatorWinding[2].Q_flow,imc.thermalAmbient.thermalPort.heatPortStatorWinding[2].T,imc.thermalAmbient.thermalPort.heatPortStatorWinding[3].Q_flow,imc.thermalAmbient.thermalPort.heatPortStatorWinding[3].T,imc.thermalAmbient.thermalPort.heatPortStrayLoad.Q_flow,imc.thermalAmbient.thermalPort.heatPortStrayLoad.T,imc.thermalAmbient.thermalPort.m,imc.thermalAmbient.useTemperatureInputs,imc.useSupport,imc.useThermalPort,imc.vs[1],imc.vs[2],imc.vs[3],imc.wMechanical,imcData.Jr,imcData.Js,imcData.Lm,imcData.Lrsigma,imcData.Lssigma,imcData.Lszero,imcData.Rr,imcData.Rs,imcData.TrRef,imcData.TsRef,imcData.alpha20r,imcData.alpha20s,imcData.effectiveStatorTurns,imcData.frictionParameters.PRef,imcData.frictionParameters.linear,imcData.frictionParameters.power_w,imcData.frictionParameters.tauLinear,imcData.frictionParameters.tauRef,imcData.frictionParameters.wLinear,imcData.frictionParameters.wRef,imcData.fsNominal,imcData.m,imcData.p,imcData.ratioCommonStatorLeakage,imcData.statorCoreParameters.GcRef,imcData.statorCoreParameters.PRef,imcData.statorCoreParameters.VRef,imcData.statorCoreParameters.m,imcData.statorCoreParameters.ratioHysteresis,imcData.statorCoreParameters.wMin,imcData.statorCoreParameters.wRef,imcData.strayLoadParameters.IRef,imcData.strayLoadParameters.PRef,imcData.strayLoadParameters.power_w,imcData.strayLoadParameters.tauRef,imcData.strayLoadParameters.wRef,loadInertia.J,loadInertia.a,loadInertia.flange_a.phi,loadInertia.flange_a.tau,loadInertia.flange_b.phi,loadInertia.flange_b.tau,loadInertia.phi,loadInertia.w,plugToPin1.k,plugToPin1.m,plugToPin1.pin_p.i,plugToPin1.pin_p.v,plugToPin1.plug_p.m,plugToPin1.plug_p.pin[1].i,plugToPin1.plug_p.pin[1].v,plugToPin1.plug_p.pin[2].i,plugToPin1.plug_p.pin[2].v,plugToPin1.plug_p.pin[3].i,plugToPin1.plug_p.pin[3].v,plugToPin2.k,plugToPin2.m,plugToPin2.pin_p.i,plugToPin2.pin_p.v,plugToPin2.plug_p.m,plugToPin2.plug_p.pin[1].i,plugToPin2.plug_p.pin[1].v,plugToPin2.plug_p.pin[2].i,plugToPin2.plug_p.pin[2].v,plugToPin2.plug_p.pin[3].i,plugToPin2.plug_p.pin[3].v,plugToPin3.k,plugToPin3.m,plugToPin3.pin_p.i,plugToPin3.pin_p.v,plugToPin3.plug_p.m,plugToPin3.plug_p.pin[1].i,plugToPin3.plug_p.pin[1].v,plugToPin3.plug_p.pin[2].i,plugToPin3.plug_p.pin[2].v,plugToPin3.plug_p.pin[3].i,plugToPin3.plug_p.pin[3].v,settings.INominal,settings.Idc,settings.connect3,settings.is[1],settings.is[2],settings.is[3],tauElectrical,tauShaft,terminalBox.delta.m,terminalBox.delta.plug_n.m,terminalBox.delta.plug_n.pin[1].i,terminalBox.delta.plug_n.pin[1].v,terminalBox.delta.plug_n.pin[2].i,terminalBox.delta.plug_n.pin[2].v,terminalBox.delta.plug_n.pin[3].i,terminalBox.delta.plug_n.pin[3].v,terminalBox.delta.plug_p.m,terminalBox.delta.plug_p.pin[1].i,terminalBox.delta.plug_p.pin[1].v,terminalBox.delta.plug_p.pin[2].i,terminalBox.delta.plug_p.pin[2].v,terminalBox.delta.plug_p.pin[3].i,terminalBox.delta.plug_p.pin[3].v,terminalBox.m,terminalBox.plugSupply.m,terminalBox.plugSupply.pin[1].i,terminalBox.plugSupply.pin[1].v,terminalBox.plugSupply.pin[2].i,terminalBox.plugSupply.pin[2].v,terminalBox.plugSupply.pin[3].i,terminalBox.plugSupply.pin[3].v,terminalBox.plug_sn.m,terminalBox.plug_sn.pin[1].i,terminalBox.plug_sn.pin[1].v,terminalBox.plug_sn.pin[2].i,terminalBox.plug_sn.pin[2].v,terminalBox.plug_sn.pin[3].i,terminalBox.plug_sn.pin[3].v,terminalBox.plug_sp.m,terminalBox.plug_sp.pin[1].i,terminalBox.plug_sp.pin[1].v,terminalBox.plug_sp.pin[2].i,terminalBox.plug_sp.pin[2].v,terminalBox.plug_sp.pin[3].i,terminalBox.plug_sp.pin[3].v,time,w0,wMechanical