Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.0004322/0.0004322, 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.0005485/0.0005485, 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.4379/0.4379, 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.SMR_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_Inverter",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_Inverter",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.093e-06/1.093e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.647e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.02605/0.02606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0114/0.03747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.03956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.004978/0.04454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.005106/0.04965, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.05173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.005075/0.0568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.006363/0.06316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.006233/0.0694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.004917/0.07431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0009226/0.07524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.07668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.002492/0.07918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.003899/0.08308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01243/0.09551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0008998/0.09641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.036e-06/0.09641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.53e-05/0.09645, 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.01944/0.1159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002335/0.1161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002672/0.1188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004832/0.1236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004422/0.1344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.1357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.1551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/0.1552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009723/0.1562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004001/0.1566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.1717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04286/0.2146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.006393/0.221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.004828/0.2258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.2262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.2263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=101): time 0.0002215/0.2265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=116): time 0.04038/0.2669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007743/0.2748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0005773/0.2753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.002048/0.2774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0008758/0.2783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002053/0.2803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003645/0.2807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/0.2847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.004491/0.2891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.008741/0.2979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.182e-05/0.2979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=178) (initialization): time 0.01448/0.3124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.544e-05/0.3125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.284e-05/0.3125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.003149/0.3157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/0.3187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02313/0.3418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004843/0.3445, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * 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,11,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.00387/0.3484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/0.3499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.3635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/0.3635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.248e-05/0.3636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.829e-05/0.3636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02672/0.3903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/0.3903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/0.3926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/0.3962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004929/0.3966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02649/0.4231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.585e-05/0.4232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/0.4393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.003815/0.4431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/0.4443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/0.4461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001689/0.4478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003926/0.4482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.005241/0.4535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0001225/0.4536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.005971/0.4596, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],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 (102): * Single equations (assignments): 98 * 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,11,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.01852/0.4781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01042/0.4885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.4885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.006261/0.4948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007588/0.5024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08946/0.5918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005045/0.5969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.002232/0.5991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006344/0.6054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001635/0.6071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.03369/0.6408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.01498/0.6557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.04931/0.7051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.377e-05/0.7051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 9.528e-06/0.7051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.3 MB unzipped): time 0.000269/0.7054, 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.SMR_Inverter,startTime=0,stopTime=1.5,tolerance=1e-06,numberOfIntervals=15000,outputFormat="mat",variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.SMR_Inverter_res.mat",resimulateExecutable="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_Inverter.fmu") [Timeout 480] "" [Timeout remaining time 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.SMR_Inverter,startTime=0,stopTime=1.5,tolerance=1e-06,numberOfIntervals=15000,outputFormat="mat",variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.SMR_Inverter_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_Inverter.fmu") [Timeout 480] "" [Timeout remaining time 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.SMR_Inverter_me_res.mat. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_me_res.mat failed! Error: Could not read variable smr.idq_rr[1] in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_me_res.mat. Warning: Get data of variable smr.idq_rr[1] from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_me_res.mat failed! Error: Could not read variable smr.idq_rr[2] in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_me_res.mat. Warning: Get data of variable smr.idq_rr[2] from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_me_res.mat failed! " [Timeout remaining time 660] Reference file matches simulate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,startTime=0,stopTime=1.5,tolerance=1e-06,numberOfIntervals=15000,outputFormat="mat",variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.SMR_Inverter_cs_res.mat -s fmi3:cs",resimulateExecutable="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_Inverter.fmu") [Timeout 480] "" [Timeout remaining time 479] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.SMR_Inverter_cs_res.mat. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_cs_res.mat failed! Error: Could not read variable smr.idq_rr[1] in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_cs_res.mat. Warning: Get data of variable smr.idq_rr[1] from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_cs_res.mat failed! Error: Could not read variable smr.idq_rr[2] in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_cs_res.mat. Warning: Get data of variable smr.idq_rr[2] from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_cs_res.mat failed! " [Timeout remaining time 660] "" Variables in the reference:time,loadInertia.phi,loadInertia.w,smr.is[1],smr.is[2],smr.idq_rr[1],smr.idq_rr[2],smr.idq_sr[1],smr.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(smr.airGap.RotationMatrix[2,1]),der(smr.airGap.RotationMatrix[2,2]),der(smr.airGap.gamma),der(smr.airGap.i_mr[1]),der(smr.airGap.i_mr[2]),der(smr.airGap.psi_mr[1]),der(smr.airGap.psi_mr[2]),der(smr.airGap.psi_ms[1]),der(smr.airGap.psi_ms[2]),der(smr.friction.phi),der(smr.i_0_s),der(smr.idq_dr[1]),der(smr.idq_dr[2]),der(smr.idq_sr[1]),der(smr.idq_sr[2]),der(smr.inertiaRotor.w),der(smr.lssigma.i_[1]),der(smr.lssigma.i_[2]),der(smr.phiMechanical),der(smr.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,smr.Jr,smr.Js,smr.Lmd,smr.Lmq,smr.Lrsigmad,smr.Lrsigmaq,smr.Lssigma,smr.Lszero,smr.Rrd,smr.Rrq,smr.Rs,smr.TrOperational,smr.TrRef,smr.TsOperational,smr.TsRef,smr.airGap.Lmd,smr.airGap.Lmq,smr.airGap.RotationMatrix[1,2],smr.airGap.RotationMatrix[2,1],smr.airGap.RotationMatrix[2,2],smr.airGap.flange.tau,smr.airGap.gamma,smr.airGap.i_mr[1],smr.airGap.i_mr[2],smr.airGap.m,smr.airGap.p,smr.airGap.psi_mr[1],smr.airGap.psi_mr[2],smr.airGap.psi_ms[1],smr.airGap.psi_ms[2],smr.airGap.spacePhasor_r.v_[1],smr.airGap.spacePhasor_r.v_[2],smr.airGap.support.phi,smr.alpha20r,smr.alpha20s,smr.damperCage.Lrsigmad,smr.damperCage.Lrsigmaq,smr.damperCage.Rrd,smr.damperCage.Rrd_actual,smr.damperCage.Rrq,smr.damperCage.Rrq_actual,smr.damperCage.T,smr.damperCage.T_heatPort,smr.damperCage.T_ref,smr.damperCage.alpha,smr.damperCage.heatPort.Q_flow,smr.damperCage.heatPort.T,smr.damperCage.spacePhasor_r.i_[1],smr.damperCage.spacePhasor_r.i_[2],smr.damperCage.useHeatPort,smr.fixed.flange.phi,smr.fixed.flange.tau,smr.fixed.phi0,smr.flange.tau,smr.friction.flange.tau,smr.friction.frictionParameters.PRef,smr.friction.frictionParameters.linear,smr.friction.frictionParameters.power_w,smr.friction.frictionParameters.tauLinear,smr.friction.frictionParameters.tauRef,smr.friction.frictionParameters.wLinear,smr.friction.frictionParameters.wRef,smr.friction.heatPort.Q_flow,smr.friction.phi,smr.friction.support.phi,smr.friction.tau,smr.friction.useHeatPort,smr.friction.w,smr.frictionParameters.PRef,smr.frictionParameters.linear,smr.frictionParameters.power_w,smr.frictionParameters.tauLinear,smr.frictionParameters.tauRef,smr.frictionParameters.wLinear,smr.frictionParameters.wRef,smr.fsNominal,smr.i_0_s,smr.idq_dr[1],smr.idq_dr[2],smr.idq_rs[1],smr.idq_rs[2],smr.idq_sr[1],smr.idq_sr[2],smr.inertiaRotor.J,smr.inertiaRotor.flange_b.tau,smr.inertiaRotor.stateSelect,smr.inertiaRotor.w,smr.inertiaStator.J,smr.inertiaStator.a,smr.inertiaStator.flange_a.phi,smr.inertiaStator.flange_a.tau,smr.inertiaStator.flange_b.phi,smr.inertiaStator.flange_b.tau,smr.inertiaStator.phi,smr.inertiaStator.stateSelect,smr.inertiaStator.w,smr.is[1],smr.is[2],smr.is[3],smr.lssigma.L[1],smr.lssigma.L[2],smr.lssigma.i_[1],smr.lssigma.i_[2],smr.lssigma.spacePhasor_b.i_[1],smr.lssigma.spacePhasor_b.i_[2],smr.lssigma.spacePhasor_b.v_[1],smr.lssigma.spacePhasor_b.v_[2],smr.lssigma.v_[1],smr.lssigma.v_[2],smr.lszero.L,smr.lszero.i,smr.lszero.p.i,smr.lszero.v,smr.m,smr.p,smr.phiMechanical,smr.plug_sn.m,smr.plug_sn.pin[1].i,smr.plug_sn.pin[2].i,smr.plug_sn.pin[3].i,smr.plug_sp.m,smr.powerBalance.lossPowerFriction,smr.powerBalance.lossPowerRotorCore,smr.powerBalance.lossPowerStatorWinding,smr.powerBalance.lossPowerTotal,smr.powerBalance.powerInertiaRotor,smr.powerBalance.powerInertiaStator,smr.powerBalance.powerMechanical,smr.powerBalance.powerStator,smr.rs.R[1],smr.rs.R[2],smr.rs.R[3],smr.rs.T[1],smr.rs.T[2],smr.rs.T[3],smr.rs.T_ref[1],smr.rs.T_ref[2],smr.rs.T_ref[3],smr.rs.alpha[1],smr.rs.alpha[2],smr.rs.alpha[3],smr.rs.heatPort[1].Q_flow,smr.rs.heatPort[1].T,smr.rs.heatPort[2].Q_flow,smr.rs.heatPort[2].T,smr.rs.heatPort[3].Q_flow,smr.rs.heatPort[3].T,smr.rs.m,smr.rs.mh,smr.rs.plug_n.m,smr.rs.plug_n.pin[1].i,smr.rs.plug_n.pin[2].i,smr.rs.plug_n.pin[3].i,smr.rs.plug_p.m,smr.rs.resistor[1].LossPower,smr.rs.resistor[1].R,smr.rs.resistor[1].R_actual,smr.rs.resistor[1].T,smr.rs.resistor[1].T_heatPort,smr.rs.resistor[1].T_ref,smr.rs.resistor[1].alpha,smr.rs.resistor[1].heatPort.Q_flow,smr.rs.resistor[1].heatPort.T,smr.rs.resistor[1].n.i,smr.rs.resistor[1].useHeatPort,smr.rs.resistor[1].v,smr.rs.resistor[2].LossPower,smr.rs.resistor[2].R,smr.rs.resistor[2].R_actual,smr.rs.resistor[2].T,smr.rs.resistor[2].T_heatPort,smr.rs.resistor[2].T_ref,smr.rs.resistor[2].alpha,smr.rs.resistor[2].heatPort.Q_flow,smr.rs.resistor[2].heatPort.T,smr.rs.resistor[2].n.i,smr.rs.resistor[2].useHeatPort,smr.rs.resistor[2].v,smr.rs.resistor[3].LossPower,smr.rs.resistor[3].R,smr.rs.resistor[3].R_actual,smr.rs.resistor[3].T,smr.rs.resistor[3].T_heatPort,smr.rs.resistor[3].T_ref,smr.rs.resistor[3].alpha,smr.rs.resistor[3].heatPort.Q_flow,smr.rs.resistor[3].heatPort.T,smr.rs.resistor[3].n.i,smr.rs.resistor[3].useHeatPort,smr.rs.resistor[3].v,smr.rs.useHeatPort,smr.rs.v[1],smr.rs.v[2],smr.rs.v[3],smr.spacePhasorS.ground.i,smr.spacePhasorS.ground.v,smr.spacePhasorS.plug_n.m,smr.spacePhasorS.plug_n.pin[1].i,smr.spacePhasorS.plug_n.pin[2].i,smr.spacePhasorS.plug_n.pin[3].i,smr.spacePhasorS.plug_p.m,smr.spacePhasorS.plug_p.pin[1].v,smr.spacePhasorS.plug_p.pin[2].v,smr.spacePhasorS.plug_p.pin[3].v,smr.spacePhasorS.spacePhasor.i_[1],smr.spacePhasorS.spacePhasor.i_[2],smr.spacePhasorS.turnsRatio,smr.spacePhasorS.v[1],smr.spacePhasorS.v[2],smr.spacePhasorS.v[3],smr.statorCore.Gc,smr.statorCore.coreParameters.GcRef,smr.statorCore.coreParameters.PRef,smr.statorCore.coreParameters.VRef,smr.statorCore.coreParameters.m,smr.statorCore.coreParameters.ratioHysteresis,smr.statorCore.coreParameters.wMin,smr.statorCore.coreParameters.wRef,smr.statorCore.heatPort.Q_flow,smr.statorCore.lossPower,smr.statorCore.m,smr.statorCore.spacePhasor.i_[1],smr.statorCore.spacePhasor.i_[2],smr.statorCore.spacePhasor.v_[1],smr.statorCore.spacePhasor.v_[2],smr.statorCore.turnsRatio,smr.statorCore.useHeatPort,smr.statorCore.w,smr.statorCoreParameters.GcRef,smr.statorCoreParameters.PRef,smr.statorCoreParameters.VRef,smr.statorCoreParameters.m,smr.statorCoreParameters.ratioHysteresis,smr.statorCoreParameters.wMin,smr.statorCoreParameters.wRef,smr.strayLoad.flange.tau,smr.strayLoad.heatPort.Q_flow,smr.strayLoad.iRMS,smr.strayLoad.lossPower,smr.strayLoad.m,smr.strayLoad.phi,smr.strayLoad.plug_n.m,smr.strayLoad.plug_n.pin[1].i,smr.strayLoad.plug_n.pin[2].i,smr.strayLoad.plug_n.pin[3].i,smr.strayLoad.plug_p.m,smr.strayLoad.strayLoadParameters.IRef,smr.strayLoad.strayLoadParameters.PRef,smr.strayLoad.strayLoadParameters.power_w,smr.strayLoad.strayLoadParameters.tauRef,smr.strayLoad.strayLoadParameters.wRef,smr.strayLoad.support.phi,smr.strayLoad.tau,smr.strayLoad.useHeatPort,smr.strayLoad.v[1],smr.strayLoad.v[2],smr.strayLoad.v[3],smr.strayLoad.w,smr.strayLoadParameters.IRef,smr.strayLoadParameters.PRef,smr.strayLoadParameters.power_w,smr.strayLoadParameters.tauRef,smr.strayLoadParameters.wRef,smr.tauElectrical,smr.tauShaft,smr.thermalAmbient.Q_flowRotorWinding,smr.thermalAmbient.Q_flowStatorWinding,smr.thermalAmbient.Q_flowTotal,smr.thermalAmbient.Tr,smr.thermalAmbient.Ts,smr.thermalAmbient.constTr.k,smr.thermalAmbient.constTr.y,smr.thermalAmbient.constTs.k,smr.thermalAmbient.constTs.y,smr.thermalAmbient.m,smr.thermalAmbient.temperatureFriction.T,smr.thermalAmbient.temperatureFriction.port.T,smr.thermalAmbient.temperatureRotorCore.T,smr.thermalAmbient.temperatureRotorCore.port.T,smr.thermalAmbient.temperatureRotorWinding.T,smr.thermalAmbient.temperatureRotorWinding.port.T,smr.thermalAmbient.temperatureStatorCore.T,smr.thermalAmbient.temperatureStatorCore.port.T,smr.thermalAmbient.temperatureStatorWinding.T,smr.thermalAmbient.temperatureStatorWinding.port.T,smr.thermalAmbient.temperatureStrayLoad.T,smr.thermalAmbient.temperatureStrayLoad.port.T,smr.thermalAmbient.thermalCollectorStator.m,smr.thermalAmbient.thermalCollectorStator.port_a[1].T,smr.thermalAmbient.thermalCollectorStator.port_a[2].T,smr.thermalAmbient.thermalCollectorStator.port_a[3].T,smr.thermalAmbient.thermalCollectorStator.port_b.Q_flow,smr.thermalAmbient.thermalCollectorStator.port_b.T,smr.thermalAmbient.thermalPort.heatPortRotorWinding.T,smr.thermalAmbient.thermalPort.heatPortStatorWinding[1].T,smr.thermalAmbient.thermalPort.heatPortStatorWinding[2].T,smr.thermalAmbient.thermalPort.heatPortStatorWinding[3].T,smr.thermalAmbient.thermalPort.m,smr.thermalAmbient.thermalPort.useDamperCage,smr.thermalAmbient.useDamperCage,smr.thermalAmbient.useTemperatureInputs,smr.useDamperCage,smr.useSupport,smr.useThermalPort,smr.vs[1],smr.vs[2],smr.vs[3],smr.wMechanical,smrData.Jr,smrData.Js,smrData.Lmd,smrData.Lmq,smrData.Lrsigmad,smrData.Lrsigmaq,smrData.Lssigma,smrData.Lszero,smrData.Rrd,smrData.Rrq,smrData.Rs,smrData.TrRef,smrData.TsRef,smrData.alpha20r,smrData.alpha20s,smrData.effectiveStatorTurns,smrData.frictionParameters.PRef,smrData.frictionParameters.linear,smrData.frictionParameters.power_w,smrData.frictionParameters.tauLinear,smrData.frictionParameters.tauRef,smrData.frictionParameters.wLinear,smrData.frictionParameters.wRef,smrData.fsNominal,smrData.m,smrData.p,smrData.ratioCommonStatorLeakage,smrData.statorCoreParameters.GcRef,smrData.statorCoreParameters.PRef,smrData.statorCoreParameters.VRef,smrData.statorCoreParameters.m,smrData.statorCoreParameters.ratioHysteresis,smrData.statorCoreParameters.wMin,smrData.statorCoreParameters.wRef,smrData.strayLoadParameters.IRef,smrData.strayLoadParameters.PRef,smrData.strayLoadParameters.power_w,smrData.strayLoadParameters.tauRef,smrData.strayLoadParameters.wRef,smrData.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.27879094297532]