Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005378/0.0005378, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007114/0.0007114, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.4391/0.4391, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_Inverter",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_Inverter",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.71e-07/7.71e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.602e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.02703/0.02704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01293/0.03997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.04235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.005599/0.04795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.005597/0.05354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.05578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.005595/0.06138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.006826/0.0682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.006871/0.07507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.005259/0.08033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0009603/0.08129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.08278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.002564/0.08534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.004076/0.08941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01292/0.1023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0009343/0.1033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.083e-06/0.1033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.508e-05/0.1033, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.0203/0.1236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000246/0.1239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002832/0.1267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005194/0.1319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.1426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/0.1431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/0.1444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/0.1644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/0.1646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009997/0.1656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004278/0.166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.1815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04475/0.2262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.006342/0.2326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.004986/0.2376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0003972/0.238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.2381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=105): time 0.0002278/0.2383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=122): time 0.04259/0.2809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008324/0.2893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0005893/0.2899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.002166/0.2921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0009029/0.293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002081/0.2951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002016/0.2953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.003924/0.2992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.004526/0.3037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.008885/0.3126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.446e-05/0.3127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=191) (initialization): time 0.01495/0.3276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.891e-05/0.3277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.822e-05/0.3278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.003153/0.3309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/0.334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02327/0.3573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/0.3597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005094/0.3602, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004119/0.3643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001659/0.3659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/0.3791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-05/0.3791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.398e-05/0.3792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/0.3792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02772/0.4069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.888e-05/0.407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/0.4093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.003579/0.4128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005112/0.4134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02675/0.4401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.828e-05/0.4401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/0.4567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.004008/0.4607, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/0.4619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/0.4639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001739/0.4657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004065/0.4661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.005603/0.4717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0001276/0.4718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.006233/0.478, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01892/0.4969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01055/0.5075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.5075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.006412/0.5139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008335/0.5223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09708/0.6193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005598/0.6249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.002441/0.6274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006929/0.6343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001577/0.6359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.03689/0.6728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.01594/0.6887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.05532/0.744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 7.524e-06/0.744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 4.448e-06/0.744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.4 MB unzipped): time 0.0002197/0.7443, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 659] simulate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,startTime=0,stopTime=1.5,tolerance=1e-06,numberOfIntervals=15000,outputFormat="mat",variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter",simflags=" -alarm=480 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1.5 -tolerance=1e-06 -stepSize=0.0001 -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat",resimulateExecutable="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_Inverter.fmu") [Timeout 480] "" [Timeout remaining time 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,startTime=0,stopTime=1.5,tolerance=1e-06,numberOfIntervals=15000,outputFormat="mat",variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter",simflags=" -alarm=480 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1.5 -tolerance=1e-06 -stepSize=0.0001 -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_Inverter.fmu") [Timeout 480] "" [Timeout remaining time 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_me_res.mat. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_me_res.mat failed! " [Timeout remaining time 660] Reference file matches simulate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,startTime=0,stopTime=1.5,tolerance=1e-06,numberOfIntervals=15000,outputFormat="mat",variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter",simflags=" -alarm=480 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1.5 -tolerance=1e-06 -stepSize=0.0001 -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_cs_res.mat -s fmi3:cs",resimulateExecutable="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_Inverter.fmu") [Timeout 480] "" [Timeout remaining time 479] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_cs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_cs_res.mat. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_cs_res.mat failed! " [Timeout remaining time 660] "" Variables in the reference:time,loadInertia.phi,loadInertia.w,smpm.is[1],smpm.is[2],smpm.idq_dr[1],smpm.idq_rr[2],smpm.idq_sr[1],smpm.idq_sr[2],vfController.x Variables in the result:JLoad,TLoad,VNominal,__zc_0,__zc_1,__zc_2,__zc_3,currentQuasiRMSSensor.CurrentSensor1.currentSensor[1].n.i,currentQuasiRMSSensor.CurrentSensor1.currentSensor[2].n.i,currentQuasiRMSSensor.CurrentSensor1.currentSensor[3].n.i,currentQuasiRMSSensor.CurrentSensor1.m,currentQuasiRMSSensor.CurrentSensor1.plug_n.m,currentQuasiRMSSensor.CurrentSensor1.plug_n.pin[1].i,currentQuasiRMSSensor.CurrentSensor1.plug_n.pin[2].i,currentQuasiRMSSensor.CurrentSensor1.plug_n.pin[3].i,currentQuasiRMSSensor.CurrentSensor1.plug_p.m,currentQuasiRMSSensor.Gain1.k,currentQuasiRMSSensor.I,currentQuasiRMSSensor.ToPolar1.n,currentQuasiRMSSensor.ToPolar1.y[1],currentQuasiRMSSensor.ToPolar1.y[2],currentQuasiRMSSensor.ToSpacePhasor1.m,currentQuasiRMSSensor.ToSpacePhasor1.nin,currentQuasiRMSSensor.ToSpacePhasor1.nout,currentQuasiRMSSensor.ToSpacePhasor1.y[1],currentQuasiRMSSensor.ToSpacePhasor1.y[2],currentQuasiRMSSensor.ToSpacePhasor1.zero,currentQuasiRMSSensor.plug_n.m,currentQuasiRMSSensor.plug_n.pin[1].i,currentQuasiRMSSensor.plug_n.pin[2].i,currentQuasiRMSSensor.plug_n.pin[3].i,currentQuasiRMSSensor.plug_p.m,der(loadInertia.phi),der(smpm.airGap.RotationMatrix[2,1]),der(smpm.airGap.RotationMatrix[2,2]),der(smpm.airGap.gamma),der(smpm.airGap.i_mr[1]),der(smpm.airGap.i_mr[2]),der(smpm.airGap.psi_mr[1]),der(smpm.airGap.psi_mr[2]),der(smpm.airGap.psi_ms[1]),der(smpm.airGap.psi_ms[2]),der(smpm.friction.phi),der(smpm.i_0_s),der(smpm.idq_dr[1]),der(smpm.idq_rr[1]),der(smpm.idq_rr[2]),der(smpm.idq_sr[1]),der(smpm.idq_sr[2]),der(smpm.inertiaRotor.w),der(smpm.lssigma.i_[1]),der(smpm.lssigma.i_[2]),der(smpm.permanentMagnet.phi),der(smpm.phiMechanical),der(smpm.strayLoad.phi),der(vfController.x),f,fNominal,ground.p.i,ground.p.v,loadInertia.J,loadInertia.a,loadInertia.phi,loadInertia.stateSelect,loadTorqueStep.flange.tau,loadTorqueStep.offsetTorque,loadTorqueStep.startTime,loadTorqueStep.stepTorque,loadTorqueStep.tau,loadTorqueStep.useSupport,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,rotorDisplacementAngle.ToPolarVSR.n,rotorDisplacementAngle.ToPolarVSR.y[1],rotorDisplacementAngle.ToPolarVSR.y[2],rotorDisplacementAngle.ToSpacePhasorVS.m,rotorDisplacementAngle.ToSpacePhasorVS.nin,rotorDisplacementAngle.ToSpacePhasorVS.nout,rotorDisplacementAngle.ToSpacePhasorVS.y[1],rotorDisplacementAngle.ToSpacePhasorVS.y[2],rotorDisplacementAngle.ToSpacePhasorVS.zero,rotorDisplacementAngle.VoltageSensor1.m,rotorDisplacementAngle.VoltageSensor1.plug_n.m,rotorDisplacementAngle.VoltageSensor1.plug_p.m,rotorDisplacementAngle.VoltageSensor1.v[1],rotorDisplacementAngle.VoltageSensor1.v[2],rotorDisplacementAngle.VoltageSensor1.v[3],rotorDisplacementAngle.VoltageSensor1.voltageSensor[1].n.i,rotorDisplacementAngle.VoltageSensor1.voltageSensor[1].p.i,rotorDisplacementAngle.VoltageSensor1.voltageSensor[2].n.i,rotorDisplacementAngle.VoltageSensor1.voltageSensor[2].p.i,rotorDisplacementAngle.VoltageSensor1.voltageSensor[3].n.i,rotorDisplacementAngle.VoltageSensor1.voltageSensor[3].p.i,rotorDisplacementAngle.add.k1,rotorDisplacementAngle.add.k2,rotorDisplacementAngle.add.y,rotorDisplacementAngle.constant_.k,rotorDisplacementAngle.constant_.y,rotorDisplacementAngle.fixed.flange.phi,rotorDisplacementAngle.fixed.flange.tau,rotorDisplacementAngle.fixed.phi0,rotorDisplacementAngle.flange.tau,rotorDisplacementAngle.lessThreshold.nin,rotorDisplacementAngle.lessThreshold.threshold,rotorDisplacementAngle.lessThreshold.y,rotorDisplacementAngle.m,rotorDisplacementAngle.p,rotorDisplacementAngle.plug_n.m,rotorDisplacementAngle.plug_p.m,rotorDisplacementAngle.positiveRange,rotorDisplacementAngle.relativeAngleSensor.flange_a.phi,rotorDisplacementAngle.relativeAngleSensor.flange_a.tau,rotorDisplacementAngle.relativeAngleSensor.flange_b.tau,rotorDisplacementAngle.relativeAngleSensor.phi_rel,rotorDisplacementAngle.rotatorVS2R.n,rotorDisplacementAngle.rotatorVS2R.y[1],rotorDisplacementAngle.rotatorVS2R.y[2],rotorDisplacementAngle.rotorDisplacementAngle,rotorDisplacementAngle.threshold,rotorDisplacementAngle.useSupport,rotorDisplacementAngle.wrapAngle.positiveRange,signalVoltage.i[1],signalVoltage.i[2],signalVoltage.i[3],signalVoltage.m,signalVoltage.plug_n.m,signalVoltage.plug_p.m,signalVoltage.plug_p.pin[1].i,signalVoltage.plug_p.pin[2].i,signalVoltage.plug_p.pin[3].i,signalVoltage.signalVoltage[1].i,signalVoltage.signalVoltage[1].p.i,signalVoltage.signalVoltage[2].i,signalVoltage.signalVoltage[2].p.i,signalVoltage.signalVoltage[3].i,signalVoltage.signalVoltage[3].p.i,smpm.Jr,smpm.Js,smpm.Lmd,smpm.Lmq,smpm.Lrsigmad,smpm.Lrsigmaq,smpm.Lssigma,smpm.Lszero,smpm.Rrd,smpm.Rrq,smpm.Rs,smpm.TpmOperational,smpm.TrOperational,smpm.TrRef,smpm.TsOperational,smpm.TsRef,smpm.VsOpenCircuit,smpm.airGap.Lmd,smpm.airGap.Lmq,smpm.airGap.RotationMatrix[1,2],smpm.airGap.RotationMatrix[2,1],smpm.airGap.RotationMatrix[2,2],smpm.airGap.flange.tau,smpm.airGap.gamma,smpm.airGap.i_mr[1],smpm.airGap.i_mr[2],smpm.airGap.m,smpm.airGap.p,smpm.airGap.psi_mr[1],smpm.airGap.psi_mr[2],smpm.airGap.psi_ms[1],smpm.airGap.psi_ms[2],smpm.airGap.spacePhasor_r.v_[1],smpm.airGap.spacePhasor_r.v_[2],smpm.airGap.support.phi,smpm.alpha20r,smpm.alpha20s,smpm.damperCage.Lrsigmad,smpm.damperCage.Lrsigmaq,smpm.damperCage.Rrd,smpm.damperCage.Rrd_actual,smpm.damperCage.Rrq,smpm.damperCage.Rrq_actual,smpm.damperCage.T,smpm.damperCage.T_heatPort,smpm.damperCage.T_ref,smpm.damperCage.alpha,smpm.damperCage.heatPort.Q_flow,smpm.damperCage.heatPort.T,smpm.damperCage.spacePhasor_r.i_[1],smpm.damperCage.spacePhasor_r.i_[2],smpm.damperCage.useHeatPort,smpm.fixed.flange.phi,smpm.fixed.flange.tau,smpm.fixed.phi0,smpm.flange.tau,smpm.friction.flange.tau,smpm.friction.frictionParameters.PRef,smpm.friction.frictionParameters.linear,smpm.friction.frictionParameters.power_w,smpm.friction.frictionParameters.tauLinear,smpm.friction.frictionParameters.tauRef,smpm.friction.frictionParameters.wLinear,smpm.friction.frictionParameters.wRef,smpm.friction.heatPort.Q_flow,smpm.friction.phi,smpm.friction.support.phi,smpm.friction.tau,smpm.friction.useHeatPort,smpm.friction.w,smpm.frictionParameters.PRef,smpm.frictionParameters.linear,smpm.frictionParameters.power_w,smpm.frictionParameters.tauLinear,smpm.frictionParameters.tauRef,smpm.frictionParameters.wLinear,smpm.frictionParameters.wRef,smpm.fsNominal,smpm.i_0_s,smpm.idq_dr[1],smpm.idq_rr[1],smpm.idq_rr[2],smpm.idq_rs[1],smpm.idq_rs[2],smpm.idq_sr[1],smpm.idq_sr[2],smpm.inertiaRotor.J,smpm.inertiaRotor.flange_b.tau,smpm.inertiaRotor.stateSelect,smpm.inertiaRotor.w,smpm.inertiaStator.J,smpm.inertiaStator.a,smpm.inertiaStator.flange_a.phi,smpm.inertiaStator.flange_a.tau,smpm.inertiaStator.flange_b.phi,smpm.inertiaStator.flange_b.tau,smpm.inertiaStator.phi,smpm.inertiaStator.stateSelect,smpm.inertiaStator.w,smpm.is[1],smpm.is[2],smpm.is[3],smpm.lssigma.L[1],smpm.lssigma.L[2],smpm.lssigma.i_[1],smpm.lssigma.i_[2],smpm.lssigma.spacePhasor_b.i_[1],smpm.lssigma.spacePhasor_b.i_[2],smpm.lssigma.spacePhasor_b.v_[1],smpm.lssigma.spacePhasor_b.v_[2],smpm.lssigma.v_[1],smpm.lssigma.v_[2],smpm.lszero.L,smpm.lszero.i,smpm.lszero.p.i,smpm.lszero.v,smpm.m,smpm.p,smpm.permanentMagnet.Ie,smpm.permanentMagnet.flange.tau,smpm.permanentMagnet.heatPort.Q_flow,smpm.permanentMagnet.iRMS,smpm.permanentMagnet.lossPower,smpm.permanentMagnet.m,smpm.permanentMagnet.permanentMagnetLossParameters.IRef,smpm.permanentMagnet.permanentMagnetLossParameters.PRef,smpm.permanentMagnet.permanentMagnetLossParameters.c,smpm.permanentMagnet.permanentMagnetLossParameters.power_I,smpm.permanentMagnet.permanentMagnetLossParameters.power_w,smpm.permanentMagnet.permanentMagnetLossParameters.tauRef,smpm.permanentMagnet.permanentMagnetLossParameters.wRef,smpm.permanentMagnet.phi,smpm.permanentMagnet.spacePhasor_r.i_[1],smpm.permanentMagnet.spacePhasor_r.i_[2],smpm.permanentMagnet.support.phi,smpm.permanentMagnet.tau,smpm.permanentMagnet.useHeatPort,smpm.permanentMagnet.w,smpm.permanentMagnetLossParameters.IRef,smpm.permanentMagnetLossParameters.PRef,smpm.permanentMagnetLossParameters.c,smpm.permanentMagnetLossParameters.power_I,smpm.permanentMagnetLossParameters.power_w,smpm.permanentMagnetLossParameters.tauRef,smpm.permanentMagnetLossParameters.wRef,smpm.phiMechanical,smpm.plug_sn.m,smpm.plug_sn.pin[1].i,smpm.plug_sn.pin[2].i,smpm.plug_sn.pin[3].i,smpm.plug_sp.m,smpm.powerBalance.lossPowerFriction,smpm.powerBalance.lossPowerRotorCore,smpm.powerBalance.lossPowerStatorWinding,smpm.powerBalance.lossPowerTotal,smpm.powerBalance.powerInertiaRotor,smpm.powerBalance.powerInertiaStator,smpm.powerBalance.powerMechanical,smpm.powerBalance.powerStator,smpm.rs.R[1],smpm.rs.R[2],smpm.rs.R[3],smpm.rs.T[1],smpm.rs.T[2],smpm.rs.T[3],smpm.rs.T_ref[1],smpm.rs.T_ref[2],smpm.rs.T_ref[3],smpm.rs.alpha[1],smpm.rs.alpha[2],smpm.rs.alpha[3],smpm.rs.heatPort[1].Q_flow,smpm.rs.heatPort[1].T,smpm.rs.heatPort[2].Q_flow,smpm.rs.heatPort[2].T,smpm.rs.heatPort[3].Q_flow,smpm.rs.heatPort[3].T,smpm.rs.m,smpm.rs.mh,smpm.rs.plug_n.m,smpm.rs.plug_n.pin[1].i,smpm.rs.plug_n.pin[2].i,smpm.rs.plug_n.pin[3].i,smpm.rs.plug_p.m,smpm.rs.resistor[1].LossPower,smpm.rs.resistor[1].R,smpm.rs.resistor[1].R_actual,smpm.rs.resistor[1].T,smpm.rs.resistor[1].T_heatPort,smpm.rs.resistor[1].T_ref,smpm.rs.resistor[1].alpha,smpm.rs.resistor[1].heatPort.Q_flow,smpm.rs.resistor[1].heatPort.T,smpm.rs.resistor[1].n.i,smpm.rs.resistor[1].useHeatPort,smpm.rs.resistor[1].v,smpm.rs.resistor[2].LossPower,smpm.rs.resistor[2].R,smpm.rs.resistor[2].R_actual,smpm.rs.resistor[2].T,smpm.rs.resistor[2].T_heatPort,smpm.rs.resistor[2].T_ref,smpm.rs.resistor[2].alpha,smpm.rs.resistor[2].heatPort.Q_flow,smpm.rs.resistor[2].heatPort.T,smpm.rs.resistor[2].n.i,smpm.rs.resistor[2].useHeatPort,smpm.rs.resistor[2].v,smpm.rs.resistor[3].LossPower,smpm.rs.resistor[3].R,smpm.rs.resistor[3].R_actual,smpm.rs.resistor[3].T,smpm.rs.resistor[3].T_heatPort,smpm.rs.resistor[3].T_ref,smpm.rs.resistor[3].alpha,smpm.rs.resistor[3].heatPort.Q_flow,smpm.rs.resistor[3].heatPort.T,smpm.rs.resistor[3].n.i,smpm.rs.resistor[3].useHeatPort,smpm.rs.resistor[3].v,smpm.rs.useHeatPort,smpm.rs.v[1],smpm.rs.v[2],smpm.rs.v[3],smpm.spacePhasorS.ground.i,smpm.spacePhasorS.ground.v,smpm.spacePhasorS.plug_n.m,smpm.spacePhasorS.plug_n.pin[1].i,smpm.spacePhasorS.plug_n.pin[2].i,smpm.spacePhasorS.plug_n.pin[3].i,smpm.spacePhasorS.plug_p.m,smpm.spacePhasorS.plug_p.pin[1].v,smpm.spacePhasorS.plug_p.pin[2].v,smpm.spacePhasorS.plug_p.pin[3].v,smpm.spacePhasorS.spacePhasor.i_[1],smpm.spacePhasorS.spacePhasor.i_[2],smpm.spacePhasorS.turnsRatio,smpm.spacePhasorS.v[1],smpm.spacePhasorS.v[2],smpm.spacePhasorS.v[3],smpm.statorCore.Gc,smpm.statorCore.coreParameters.GcRef,smpm.statorCore.coreParameters.PRef,smpm.statorCore.coreParameters.VRef,smpm.statorCore.coreParameters.m,smpm.statorCore.coreParameters.ratioHysteresis,smpm.statorCore.coreParameters.wMin,smpm.statorCore.coreParameters.wRef,smpm.statorCore.heatPort.Q_flow,smpm.statorCore.lossPower,smpm.statorCore.m,smpm.statorCore.spacePhasor.i_[1],smpm.statorCore.spacePhasor.i_[2],smpm.statorCore.spacePhasor.v_[1],smpm.statorCore.spacePhasor.v_[2],smpm.statorCore.turnsRatio,smpm.statorCore.useHeatPort,smpm.statorCore.w,smpm.statorCoreParameters.GcRef,smpm.statorCoreParameters.PRef,smpm.statorCoreParameters.VRef,smpm.statorCoreParameters.m,smpm.statorCoreParameters.ratioHysteresis,smpm.statorCoreParameters.wMin,smpm.statorCoreParameters.wRef,smpm.strayLoad.flange.tau,smpm.strayLoad.heatPort.Q_flow,smpm.strayLoad.iRMS,smpm.strayLoad.lossPower,smpm.strayLoad.m,smpm.strayLoad.phi,smpm.strayLoad.plug_n.m,smpm.strayLoad.plug_n.pin[1].i,smpm.strayLoad.plug_n.pin[2].i,smpm.strayLoad.plug_n.pin[3].i,smpm.strayLoad.plug_p.m,smpm.strayLoad.strayLoadParameters.IRef,smpm.strayLoad.strayLoadParameters.PRef,smpm.strayLoad.strayLoadParameters.power_w,smpm.strayLoad.strayLoadParameters.tauRef,smpm.strayLoad.strayLoadParameters.wRef,smpm.strayLoad.support.phi,smpm.strayLoad.tau,smpm.strayLoad.useHeatPort,smpm.strayLoad.v[1],smpm.strayLoad.v[2],smpm.strayLoad.v[3],smpm.strayLoad.w,smpm.strayLoadParameters.IRef,smpm.strayLoadParameters.PRef,smpm.strayLoadParameters.power_w,smpm.strayLoadParameters.tauRef,smpm.strayLoadParameters.wRef,smpm.tauElectrical,smpm.tauShaft,smpm.thermalAmbient.Q_flowRotorWinding,smpm.thermalAmbient.Q_flowStatorWinding,smpm.thermalAmbient.Q_flowTotal,smpm.thermalAmbient.Tpm,smpm.thermalAmbient.Tr,smpm.thermalAmbient.Ts,smpm.thermalAmbient.constTpm.k,smpm.thermalAmbient.constTpm.y,smpm.thermalAmbient.constTr.k,smpm.thermalAmbient.constTr.y,smpm.thermalAmbient.constTs.k,smpm.thermalAmbient.constTs.y,smpm.thermalAmbient.m,smpm.thermalAmbient.temperatureFriction.T,smpm.thermalAmbient.temperatureFriction.port.T,smpm.thermalAmbient.temperatureRotorCore.T,smpm.thermalAmbient.temperatureRotorCore.port.T,smpm.thermalAmbient.temperatureRotorWinding.T,smpm.thermalAmbient.temperatureRotorWinding.port.T,smpm.thermalAmbient.temperatureStatorCore.T,smpm.thermalAmbient.temperatureStatorCore.port.T,smpm.thermalAmbient.temperatureStatorWinding.T,smpm.thermalAmbient.temperatureStatorWinding.port.T,smpm.thermalAmbient.temperatureStrayLoad.T,smpm.thermalAmbient.temperatureStrayLoad.port.T,smpm.thermalAmbient.thermalCollectorStator.m,smpm.thermalAmbient.thermalCollectorStator.port_a[1].T,smpm.thermalAmbient.thermalCollectorStator.port_a[2].T,smpm.thermalAmbient.thermalCollectorStator.port_a[3].T,smpm.thermalAmbient.thermalCollectorStator.port_b.Q_flow,smpm.thermalAmbient.thermalCollectorStator.port_b.T,smpm.thermalAmbient.thermalPort.heatPortRotorWinding.T,smpm.thermalAmbient.thermalPort.heatPortStatorWinding[1].T,smpm.thermalAmbient.thermalPort.heatPortStatorWinding[2].T,smpm.thermalAmbient.thermalPort.heatPortStatorWinding[3].T,smpm.thermalAmbient.thermalPort.m,smpm.thermalAmbient.thermalPort.useDamperCage,smpm.thermalAmbient.useDamperCage,smpm.thermalAmbient.useTemperatureInputs,smpm.useDamperCage,smpm.useSupport,smpm.useThermalPort,smpm.vs[1],smpm.vs[2],smpm.vs[3],smpm.wMechanical,smpmData.Jr,smpmData.Js,smpmData.Lmd,smpmData.Lmq,smpmData.Lrsigmad,smpmData.Lrsigmaq,smpmData.Lssigma,smpmData.Lszero,smpmData.Rrd,smpmData.Rrq,smpmData.Rs,smpmData.TrRef,smpmData.TsRef,smpmData.VsOpenCircuit,smpmData.alpha20r,smpmData.alpha20s,smpmData.effectiveStatorTurns,smpmData.frictionParameters.PRef,smpmData.frictionParameters.linear,smpmData.frictionParameters.power_w,smpmData.frictionParameters.tauLinear,smpmData.frictionParameters.tauRef,smpmData.frictionParameters.wLinear,smpmData.frictionParameters.wRef,smpmData.fsNominal,smpmData.m,smpmData.p,smpmData.permanentMagnetLossParameters.IRef,smpmData.permanentMagnetLossParameters.PRef,smpmData.permanentMagnetLossParameters.c,smpmData.permanentMagnetLossParameters.power_I,smpmData.permanentMagnetLossParameters.power_w,smpmData.permanentMagnetLossParameters.tauRef,smpmData.permanentMagnetLossParameters.wRef,smpmData.ratioCommonStatorLeakage,smpmData.statorCoreParameters.GcRef,smpmData.statorCoreParameters.PRef,smpmData.statorCoreParameters.VRef,smpmData.statorCoreParameters.m,smpmData.statorCoreParameters.ratioHysteresis,smpmData.statorCoreParameters.wMin,smpmData.statorCoreParameters.wRef,smpmData.strayLoadParameters.IRef,smpmData.strayLoadParameters.PRef,smpmData.strayLoadParameters.power_w,smpmData.strayLoadParameters.tauRef,smpmData.strayLoadParameters.wRef,smpmData.useDamperCage,star.m,star.pin_n.i,star.plug_p.m,star.plug_p.pin[1].i,star.plug_p.pin[2].i,star.plug_p.pin[3].i,tRamp,tStep,terminalBox.m,terminalBox.plugSupply.m,terminalBox.plug_sn.m,terminalBox.plug_sn.pin[3].v,terminalBox.plug_sp.m,terminalBox.plug_sp.pin[1].i,terminalBox.plug_sp.pin[2].i,terminalBox.plug_sp.pin[3].i,terminalBox.star.m,terminalBox.star.plug_p.m,terminalBox.starpoint.i,time,vfController.BasePhase,vfController.EconomyMode,vfController.VNominal,vfController.amplitude,vfController.fNominal,vfController.m,vfController.nout,vfController.orientation[1],vfController.orientation[2],vfController.orientation[3],vfController.x,vfController.y[1],vfController.y[2],vfController.y[3] [Calling sys.exit(0), Time elapsed: 4.336581951007247]