Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [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.001507/0.001507, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [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 1.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.072/0.072, allocations: 8.552 MB / 318.1 MB, free: 15.98 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) 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(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.48 kB / 442.4 MB, free: 40.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.1005, allocations: 55.39 MB / 497.8 MB, free: 7.141 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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*ZsRef/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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*ZsRef/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.009846/0.1104, allocations: 9.978 MB / 0.4959 GB, free: 13.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007371/0.1178, allocations: 2.906 MB / 0.4987 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.1192, allocations: 63.56 kB / 0.4988 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.1207, allocations: 0.5394 MB / 0.4993 GB, free: 9.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.1232, allocations: 0.7766 MB / 0.5001 GB, free: 8.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.1245, allocations: 0.4953 MB / 0.5006 GB, free: 8.32 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.003435/0.1279, allocations: 2.565 MB / 0.5031 GB, free: 5.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.1297, allocations: 1.219 MB / 0.5043 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.1313, allocations: 1.129 MB / 0.5054 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.1332, allocations: 1.405 MB / 0.5067 GB, free: 1.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004156/0.1336, allocations: 288 kB / 0.507 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007358/0.1344, allocations: 383.8 kB / 0.5074 GB, free: 1.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008843/0.1353, allocations: 0.8258 MB / 0.5082 GB, free: 456 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.1367, allocations: 1.303 MB / 0.5095 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004228/0.1409, allocations: 3.717 MB / 0.5131 GB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1409, allocations: 0 / 0.5131 GB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1409, allocations: 0 / 0.5131 GB, free: 11.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.949e-05/0.141, allocations: 0 / 0.5131 GB, free: 11.41 MB / 382.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.005771/0.1467, allocations: 2.822 MB / 0.5158 GB, free: 8.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1468, allocations: 12.03 kB / 0.5159 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.467e-05/0.1469, allocations: 52.02 kB / 0.5159 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003681/0.1472, allocations: 295.1 kB / 0.5162 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007348/0.148, allocations: 283.3 kB / 0.5165 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.1505, allocations: 1.447 MB / 0.5179 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.1507, allocations: 181.5 kB / 0.518 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.151, allocations: 199.9 kB / 0.5182 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004472/0.1554, allocations: 2.598 MB / 0.5208 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/0.1555, allocations: 7.953 kB / 0.5208 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.1557, allocations: 79.98 kB / 0.5209 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/0.1558, allocations: 99.73 kB / 0.521 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/0.1599, allocations: 2.185 MB / 0.5231 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.1733, allocations: 8.215 MB / 0.5311 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.1765, allocations: 1.563 MB / 0.5326 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.178, allocations: 0.759 MB / 0.5334 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.1783, allocations: 122.1 kB / 0.5335 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.1798, allocations: 0.7989 MB / 0.5343 GB, free: 5.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.634e-06/0.1798, allocations: 0 / 0.5343 GB, free: 5.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=121): time 0.01754/0.1973, allocations: 6.659 MB / 0.5408 GB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.1974, allocations: 179.1 kB / 0.5409 GB, free: 14.18 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.002113/0.1996, allocations: 1.344 MB / 0.5423 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000149/0.1997, allocations: 45.7 kB / 0.5423 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009267/0.2006, allocations: 0.9967 MB / 0.5433 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004355/0.2011, allocations: 448.2 kB / 0.5437 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004752/0.2015, allocations: 271.5 kB / 0.544 GB, free: 11.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2017, allocations: 309.1 kB / 0.5443 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.2032, allocations: 0.7465 MB / 0.545 GB, free: 9.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.205, allocations: 1.181 MB / 0.5461 GB, free: 8.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.2162, allocations: 3.95 MB / 0.55 GB, free: 4.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.2162, allocations: 0 / 0.55 GB, free: 4.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006507/0.2228, allocations: 2.704 MB / 0.5526 GB, free: 1.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.2228, allocations: 41.7 kB / 0.5527 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.2228, allocations: 15.94 kB / 0.5527 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/0.2253, allocations: 0.6063 MB / 0.5533 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.2269, allocations: 403.4 kB / 0.5537 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.2389, allocations: 9.527 MB / 0.563 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.2405, allocations: 147.8 kB / 0.5631 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.2407, allocations: 63.98 kB / 0.5632 GB, free: 6.219 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002418/0.2431, allocations: 1.269 MB / 0.5644 GB, free: 4.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001837/0.2449, allocations: 1.166 MB / 0.5656 GB, free: 3.602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01084/0.2558, allocations: 3.915 MB / 0.5694 GB, free: 15.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.109e-05/0.2558, allocations: 8 kB / 0.5694 GB, free: 15.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.008674/0.2644, allocations: 2.685 MB / 0.572 GB, free: 12.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.287e-05/0.2645, allocations: 37.7 kB / 0.572 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.2645, allocations: 12 kB / 0.5721 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003551/0.2681, allocations: 0.6024 MB / 0.5726 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.2706, allocations: 407.3 kB / 0.573 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01742/0.288, allocations: 9.538 MB / 0.5823 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.2904, allocations: 143.9 kB / 0.5825 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/0.2906, allocations: 67.98 kB / 0.5825 GB, free: 1.227 MB / 446.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.0006221/0.2912, allocations: 297 kB / 0.5828 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/0.2916, allocations: 159 kB / 0.583 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2384/0.53, allocations: 2.378 MB / 0.5853 GB, free: 88.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.5301, allocations: 12.72 kB / 0.5853 GB, free: 88.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5301, allocations: 1.938 kB / 0.5853 GB, free: 88.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.5301, allocations: 6.094 kB / 0.5853 GB, free: 88.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009001/0.5391, allocations: 4.66 MB / 0.5899 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.5391, allocations: 5.375 kB / 0.5899 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.5405, allocations: 287.2 kB / 0.5902 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/0.5426, allocations: 0.5787 MB / 0.5907 GB, free: 87.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.5427, allocations: 35.45 kB / 0.5908 GB, free: 87.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/0.5529, allocations: 9.682 MB / 0.6002 GB, free: 79.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5529, allocations: 1.781 kB / 0.6002 GB, free: 79.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006631/0.5595, allocations: 3.428 MB / 0.6036 GB, free: 78.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006885/0.5602, allocations: 381.2 kB / 0.6039 GB, free: 77.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.5604, allocations: 31.81 kB / 0.604 GB, free: 77.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009559/0.5614, allocations: 106.8 kB / 0.6041 GB, free: 77.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.5617, allocations: 114.1 kB / 0.6042 GB, free: 77.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/0.5618, allocations: 36.39 kB / 0.6042 GB, free: 77.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001112/0.5629, allocations: 0.9147 MB / 0.6051 GB, free: 77.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5629, allocations: 2.625 kB / 0.6051 GB, free: 77.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002123/0.565, allocations: 0.7858 MB / 0.6059 GB, free: 77.49 MB / 446.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.006266/0.5713, allocations: 4.053 MB / 0.6098 GB, free: 75.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006918/0.5782, allocations: 4.685 MB / 0.6144 GB, free: 70.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5782, allocations: 0 / 0.6144 GB, free: 70.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002656/0.5808, allocations: 1.776 MB / 0.6161 GB, free: 69.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.5828, allocations: 430.7 kB / 0.6165 GB, free: 68.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/0.6065, allocations: 16.77 MB / 0.6329 GB, free: 51.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.6076, allocations: 1.68 MB / 0.6346 GB, free: 49.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001189/0.6088, allocations: 490.5 kB / 0.635 GB, free: 49.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007875/0.6095, allocations: 0.7804 MB / 0.6358 GB, free: 48.53 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6095, allocations: 3.938 kB / 0.6358 GB, free: 48.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0954/0.7049, allocations: 48.47 MB / 0.6831 GB, free: 432 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/16.56, allocations: 0 / 0.6831 GB, free: 432 kB / 446.1 MB " [Timeout remaining time 643] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.651087209989782] Failed to read output from testmodel.py, exit status != 0: 16.74366891896352 16.767618779 16.62236854 Calling exit ...