Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveFW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveFW,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveFW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveFW,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveFW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00767/0.00767, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 195.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.873/1.873, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04225/0.04225, allocations: 8.42 MB / 299 MB, free: 6.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 55.91 kB / 413.3 MB, free: 22.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1264, allocations: 51.37 MB / 464.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveFW): time 0.01194/0.1384, allocations: 9.367 MB / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005735/0.1442, allocations: 2.637 MB / 476.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.1455, allocations: 43.81 kB / 476.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.1471, allocations: 0.4888 MB / 477.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.1494, allocations: 0.7066 MB / 477.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.1503, allocations: 387.4 kB / 478.3 MB, free: 5.105 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter smpm.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter smpm.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter smpm.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter smpm.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter smpm.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter smpm.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter smpm.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (2.0 * smpm.pi * smpm.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter smpm.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter smpm.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter smpm.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:44:3-47:31:writable] Warning: Parameter smpm.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:48:3-49:53:writable] Warning: Parameter smpm.VsOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=112.3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:50:3-52:67:writable] Warning: Parameter smpm.Lmd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.3 / (2.0 * smpm.pi * smpm.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:53:3-55:67:writable] Warning: Parameter smpm.Lmq has no value, and is fixed during initialization (fixed=true), using available start value (start=0.3 / (2.0 * smpm.pi * smpm.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:59:3-64:29:writable] Warning: Parameter smpm.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (2.0 * smpm.pi * smpm.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:70:3-74:29:writable] Warning: Parameter smpm.Rrd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:80:3-85:29:writable] Warning: Parameter smpm.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:86:3-91:29:writable] Warning: Parameter smpm.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:11:3-12:55:writable] Warning: Parameter smpm.permanentMagnetLossParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:15:3-17:53:writable] Warning: Parameter smpm.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0 * smpm.pi * smpm.fsNominal / CAST(Real, smpm.p)) as default value. Notification: Performance of NFFlatten.flatten: time 0.003133/0.1535, allocations: 2.311 MB / 480.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.1556, allocations: 1.616 MB / 482.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.157, allocations: 0.9928 MB / 483.2 MB, free: 124 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.1591, allocations: 1.257 MB / 484.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004765/0.1596, allocations: 264 kB / 484.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007976/0.1604, allocations: 355.8 kB / 485.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008845/0.1613, allocations: 0.7635 MB / 485.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.1627, allocations: 1.202 MB / 487 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004074/0.1668, allocations: 3.456 MB / 490.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1668, allocations: 0 / 490.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1669, allocations: 0 / 490.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.621e-05/0.1669, allocations: 0 / 490.5 MB, free: 8.812 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.005144/0.1721, allocations: 2.569 MB / 493.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1721, allocations: 19.83 kB / 493.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003783/0.1725, allocations: 274.5 kB / 493.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000674/0.1732, allocations: 263.4 kB / 493.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.1755, allocations: 1.299 MB / 494.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.1757, allocations: 173.5 kB / 495.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.176, allocations: 191.9 kB / 495.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004195/0.1802, allocations: 2.438 MB / 497.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.256e-05/0.1803, allocations: 4 kB / 497.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/0.1805, allocations: 75.98 kB / 497.8 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.1806, allocations: 99.55 kB / 497.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/0.1842, allocations: 2.028 MB / 499.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/0.196, allocations: 7.789 MB / 0.4958 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.1986, allocations: 1.42 MB / 0.4972 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.1999, allocations: 0.7032 MB / 0.4979 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.2002, allocations: 118.1 kB / 0.498 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.2003, allocations: 47.56 kB / 0.498 GB, free: 4.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.625e-06/0.2003, allocations: 0 / 0.498 GB, free: 4.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=108): time 0.2014/0.4017, allocations: 5.918 MB / 0.5038 GB, free: 44.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.4018, allocations: 69.94 kB / 0.5039 GB, free: 44.18 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:15:3-17:53:writable] Warning: Parameter smpm.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=6.283185307179586 * smpm.fsNominal / /*Real*/(smpm.p)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:11:3-12:55:writable] Warning: Parameter smpm.permanentMagnetLossParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:86:3-91:29:writable] Warning: Parameter smpm.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:80:3-85:29:writable] Warning: Parameter smpm.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:70:3-74:29:writable] Warning: Parameter smpm.Rrd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:59:3-64:29:writable] Warning: Parameter smpm.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (6.283185307179586 * smpm.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:53:3-55:67:writable] Warning: Parameter smpm.Lmq has no value, and is fixed during initialization (fixed=true), using available start value (start=0.3 / (6.283185307179586 * smpm.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:50:3-52:67:writable] Warning: Parameter smpm.Lmd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.3 / (6.283185307179586 * smpm.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:48:3-49:53:writable] Warning: Parameter smpm.VsOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=112.3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:44:3-47:31:writable] Warning: Parameter smpm.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter smpm.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter smpm.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter smpm.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter smpm.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (6.283185307179586 * smpm.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter smpm.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter smpm.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter smpm.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter smpm.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter smpm.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter smpm.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.4038, allocations: 1.302 MB / 0.5051 GB, free: 44.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.4039, allocations: 44.45 kB / 0.5052 GB, free: 44.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/0.4044, allocations: 0.9244 MB / 0.5061 GB, free: 43.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.4047, allocations: 397.9 kB / 0.5065 GB, free: 43.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.405, allocations: 251.7 kB / 0.5067 GB, free: 43.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.4051, allocations: 362 kB / 0.5071 GB, free: 42.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.4062, allocations: 0.6597 MB / 0.5077 GB, free: 42.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.4075, allocations: 1.058 MB / 0.5087 GB, free: 41.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007812/0.4153, allocations: 3.468 MB / 0.5121 GB, free: 40.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.4154, allocations: 3.938 kB / 0.5121 GB, free: 40.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004807/0.4202, allocations: 2.379 MB / 0.5144 GB, free: 39.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4202, allocations: 11.12 kB / 0.5145 GB, free: 39.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.4202, allocations: 12.64 kB / 0.5145 GB, free: 39.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.4217, allocations: 469.2 kB / 0.5149 GB, free: 39.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.4231, allocations: 391.5 kB / 0.5153 GB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006369/0.4295, allocations: 7.464 MB / 0.5226 GB, free: 33.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.4308, allocations: 114 kB / 0.5227 GB, free: 33.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.4309, allocations: 62.78 kB / 0.5227 GB, free: 33.19 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: smpm.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real smpm.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] smpm.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {6} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008914/0.4318, allocations: 0.601 MB / 0.5233 GB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.432, allocations: 148.9 kB / 0.5235 GB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003665/0.4357, allocations: 2.029 MB / 0.5255 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4357, allocations: 10.69 kB / 0.5255 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4357, allocations: 2.625 kB / 0.5255 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4358, allocations: 7.359 kB / 0.5255 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/0.4421, allocations: 4.137 MB / 0.5295 GB, free: 29.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.4421, allocations: 6.406 kB / 0.5295 GB, free: 29.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.4432, allocations: 266.1 kB / 0.5298 GB, free: 29.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.4444, allocations: 467.6 kB / 0.5302 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/0.4445, allocations: 38.7 kB / 0.5303 GB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005965/0.4505, allocations: 7.416 MB / 0.5375 GB, free: 22.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4505, allocations: 4 kB / 0.5375 GB, free: 22.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.4548, allocations: 2.967 MB / 0.5404 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005566/0.4554, allocations: 344.1 kB / 0.5407 GB, free: 18.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.4556, allocations: 28 kB / 0.5408 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000743/0.4563, allocations: 87.89 kB / 0.5408 GB, free: 18.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.4566, allocations: 84.88 kB / 0.5409 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.707e-05/0.4566, allocations: 35.92 kB / 0.541 GB, free: 18.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009926/0.4576, allocations: 0.8586 MB / 0.5418 GB, free: 17.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4576, allocations: 0 / 0.5418 GB, free: 17.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001257/0.4589, allocations: 418.5 kB / 0.5422 GB, free: 17.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (inertia.w,tRes.phi,smpm.i_0_s,smpm.idq_sr[1],smpm.idq_sr[2],integrator.y) * 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 (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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 {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004433/0.4634, allocations: 3.58 MB / 0.5457 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003348/0.4667, allocations: 2.392 MB / 0.548 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4667, allocations: 0 / 0.548 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.4687, allocations: 1.524 MB / 0.5495 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.4704, allocations: 396.4 kB / 0.5499 GB, free: 9.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/0.4928, allocations: 15.3 MB / 0.5648 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.4944, allocations: 1.607 MB / 0.5664 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001565/0.496, allocations: 340 kB / 0.5667 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.4971, allocations: 0.6945 MB / 0.5674 GB, free: 6.777 MB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4971, allocations: 0 / 0.5674 GB, free: 6.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09263/0.5898, allocations: 38.06 MB / 0.6046 GB, free: 1.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.27, allocations: 4 kB / 0.6046 GB, free: 1.09 MB / 430.1 MB (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveFW.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveFW.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveFW.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveFW.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveFW_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveFW.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveFW.pipe 2>&1)