Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.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 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",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.007182/0.007182, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.001843/0.001843, allocations: 191.8 kB / 16.67 MB, free: 5.918 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.134/0.134, allocations: 8.018 MB / 298.6 MB, free: 2.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002273, allocations: 63.91 kB / 412.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2251, allocations: 51.19 MB / 463.8 MB, free: 18.05 MB / 350.1 MB [/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 smpm1.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:5:3-5:71:writable] Warning: Parameter smpm1.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 smpm1.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) 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 smpm1.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 smpm1.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 smpm1.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 smpm1.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=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 smpm1.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1/(2*pi*fsNominal)) 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 smpm1.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 smpm1.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:59:3-64:29:writable] Warning: Parameter smpm1.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05/(2*pi*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 smpm1.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 smpm1.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 smpm1.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.0092/0.2344, allocations: 9.903 MB / 473.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004985/0.2394, allocations: 2.865 MB / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.2406, allocations: 47.69 kB / 476.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.2418, allocations: 0.5347 MB / 477.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.2439, allocations: 0.7709 MB / 477.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.245, allocations: 0.4983 MB / 478.4 MB, free: 7.77 MB / 350.1 MB [/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 smpm1.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 smpm1.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/PermanentMagnetLossParameters.mo:11:3-12:55:writable] Warning: Parameter smpm1.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 smpm1.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0 * smpm1.pi * smpm1.fsNominal / CAST(Real, smpm1.p)) as default value. Notification: Performance of NFFlatten.flatten: time 0.00264/0.2477, allocations: 2.567 MB / 480.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.2494, allocations: 1.661 MB / 482.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.2508, allocations: 1.101 MB / 483.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.2524, allocations: 1.369 MB / 485.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004448/0.2528, allocations: 289.6 kB / 485.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007834/0.2536, allocations: 378.3 kB / 485.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006166/0.2543, allocations: 0.8071 MB / 486.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.2555, allocations: 1.297 MB / 487.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003431/0.2589, allocations: 3.714 MB / 491.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.259, allocations: 1.188 kB / 491.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.259, allocations: 0 / 491.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.478e-05/0.2591, allocations: 0 / 491.5 MB, free: 15.77 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.006923/0.266, allocations: 2.816 MB / 494.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2661, allocations: 10.25 kB / 494.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000383/0.2665, allocations: 288.2 kB / 494.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007755/0.2672, allocations: 281.5 kB / 494.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.2699, allocations: 1.399 MB / 496.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.2701, allocations: 176.9 kB / 496.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.2704, allocations: 204.8 kB / 496.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004365/0.2748, allocations: 2.603 MB / 499.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.233e-05/0.2748, allocations: 4 kB / 499.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.275, allocations: 83.98 kB / 499.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.2751, allocations: 95.73 kB / 499.5 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003857/0.279, allocations: 2.197 MB / 0.4899 GB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.291, allocations: 8.269 MB / 0.498 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.2941, allocations: 1.623 MB / 0.4996 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.2955, allocations: 0.8001 MB / 0.5004 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.2957, allocations: 122.1 kB / 0.5005 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001421/0.2972, allocations: 0.799 MB / 0.5013 GB, free: 11.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.775e-06/0.2972, allocations: 0 / 0.5013 GB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01667/0.3139, allocations: 6.679 MB / 0.5078 GB, free: 4.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.314, allocations: 167.2 kB / 0.5079 GB, free: 4.445 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 smpm1.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.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 smpm1.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/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter smpm1.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 smpm1.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.316, allocations: 1.363 MB / 0.5093 GB, free: 3.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.423e-05/0.3161, allocations: 45.7 kB / 0.5093 GB, free: 3.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000823/0.317, allocations: 0.9968 MB / 0.5103 GB, free: 2.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/0.3173, allocations: 444.2 kB / 0.5107 GB, free: 1.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004379/0.3178, allocations: 271.5 kB / 0.511 GB, free: 1.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3179, allocations: 301.1 kB / 0.5113 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.3192, allocations: 0.7582 MB / 0.512 GB, free: 248 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.3209, allocations: 1.185 MB / 0.5132 GB, free: 14.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.3311, allocations: 3.974 MB / 0.517 GB, free: 10.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3311, allocations: 0 / 0.517 GB, free: 10.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005868/0.337, allocations: 2.728 MB / 0.5197 GB, free: 7.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.3371, allocations: 34.08 kB / 0.5197 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.3371, allocations: 23.94 kB / 0.5198 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/0.3395, allocations: 0.6059 MB / 0.5203 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.3411, allocations: 411.3 kB / 0.5207 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.3523, allocations: 9.545 MB / 0.5301 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.3542, allocations: 139.9 kB / 0.5302 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/0.3545, allocations: 67.98 kB / 0.5303 GB, free: 12.39 MB / 414.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real smpm1.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] smpm1.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002505/0.357, allocations: 1.269 MB / 0.5315 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001743/0.3588, allocations: 1.177 MB / 0.5327 GB, free: 9.773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01025/0.369, allocations: 3.931 MB / 0.5365 GB, free: 5.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.046e-05/0.3691, allocations: 4 kB / 0.5365 GB, free: 5.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006364/0.3754, allocations: 2.716 MB / 0.5391 GB, free: 2.898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.3755, allocations: 45.73 kB / 0.5392 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3755, allocations: 12 kB / 0.5392 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/0.3779, allocations: 0.6021 MB / 0.5398 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.3794, allocations: 407.3 kB / 0.5402 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.3903, allocations: 9.551 MB / 0.5495 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.392, allocations: 139.9 kB / 0.5496 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.3922, allocations: 63.98 kB / 0.5497 GB, free: 7.348 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real smpm1.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] smpm1.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: 55 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.tqRef.count,$PRE.tqRef.T_start,tqRef.count,tqRef.T_start,myMTPA.limiting.y,$whenCondition1,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 2 systems {(6,2), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004441/0.3926, allocations: 296.9 kB / 0.55 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/0.393, allocations: 163 kB / 0.5501 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005567/0.3986, allocations: 2.403 MB / 0.5525 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3986, allocations: 16 kB / 0.5525 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3986, allocations: 0 / 0.5525 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.3986, allocations: 7.969 kB / 0.5525 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009359/0.408, allocations: 4.688 MB / 0.5571 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.408, allocations: 4 kB / 0.5571 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.4094, allocations: 291.8 kB / 0.5574 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/0.4115, allocations: 0.5825 MB / 0.5579 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.4116, allocations: 35.91 kB / 0.558 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.4225, allocations: 9.696 MB / 0.5674 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4226, allocations: 0 / 0.5674 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006967/0.4295, allocations: 3.449 MB / 0.5708 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009347/0.4305, allocations: 391.8 kB / 0.5712 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/0.4309, allocations: 28 kB / 0.5712 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.432, allocations: 107.9 kB / 0.5713 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.4323, allocations: 113.1 kB / 0.5714 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.85e-05/0.4324, allocations: 35.98 kB / 0.5715 GB, free: 112 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.4338, allocations: 0.9243 MB / 0.5724 GB, free: 15.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4338, allocations: 3.938 kB / 0.5724 GB, free: 15.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002495/0.4363, allocations: 0.7929 MB / 0.5731 GB, free: 14.39 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (inertia.w,smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder.y,myMTPA.firstOrder1.y,tRes.phi) * Number of discrete variables: 4 ($whenCondition1,myMTPA.limiting.y,tqRef.T_start,tqRef.count) * Number of discrete states: 1 (tqRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 2 systems {(6,4), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007334/0.4437, allocations: 4.077 MB / 0.5771 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008751/0.4524, allocations: 4.868 MB / 0.5819 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.4525, allocations: 0 / 0.5819 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003282/0.4558, allocations: 1.833 MB / 0.5837 GB, free: 3.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.458, allocations: 424.5 kB / 0.5841 GB, free: 2.848 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1997/0.6577, allocations: 16.91 MB / 0.6006 GB, free: 108.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.659, allocations: 1.681 MB / 0.6022 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001446/0.6604, allocations: 481.3 kB / 0.6027 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008797/0.6613, allocations: 0.781 MB / 0.6034 GB, free: 107.4 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6613, allocations: 3.125 kB / 0.6034 GB, free: 107.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0782/0.7395, allocations: 48.1 MB / 0.6504 GB, free: 72.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.36, allocations: 6.812 kB / 0.6504 GB, free: 72.6 MB / 462.1 MB (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)