Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.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.0014/0.0014, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001436/0.001436, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04349/0.04349, allocations: 8.534 MB / 321 MB, free: 10.44 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",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.002066/0.002066, allocations: 71.91 kB / 446.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09746, allocations: 55.42 MB / 0.4905 GB, free: 8.145 MB / 366.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 aimc.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 aimc.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 aimc.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 aimc.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 aimc.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 aimc.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 aimc.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 aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr 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/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.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/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r 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/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.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/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc0.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 aimc0.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 aimc0.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 aimc0.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 aimc0.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 aimc0.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 aimc0.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 aimc0.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc0.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc0.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc0.Rr 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/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc0.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/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc0.alpha20r 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/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc0.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.01858/0.116, allocations: 14.19 MB / 0.5044 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008297/0.1243, allocations: 3.982 MB / 0.5083 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/0.1265, allocations: 127.2 kB / 0.5084 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.1285, allocations: 0.814 MB / 0.5092 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.1323, allocations: 1.355 MB / 0.5105 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.1343, allocations: 0.8647 MB / 0.5113 GB, free: 2.723 MB / 382.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 aimc.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 aimc.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 aimc0.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 aimc0.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.1949/0.3291, allocations: 4.982 MB / 0.5162 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003539/0.3327, allocations: 2.414 MB / 0.5186 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.3358, allocations: 2.292 MB / 0.5208 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/0.3402, allocations: 2.606 MB / 0.5233 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.3415, allocations: 0.6092 MB / 0.5239 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.3432, allocations: 0.6954 MB / 0.5246 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.3448, allocations: 1.666 MB / 0.5263 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003164/0.3479, allocations: 2.171 MB / 0.5284 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007674/0.3556, allocations: 7.908 MB / 0.5361 GB, free: 5.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3556, allocations: 9.938 kB / 0.5361 GB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3556, allocations: 0 / 0.5361 GB, free: 5.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002114/0.3558, allocations: 3.062 kB / 0.5361 GB, free: 5.527 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: 1120 * Number of variables: 1120 Notification: Performance of Generate backend data structure: time 0.01103/0.3668, allocations: 5.094 MB / 0.5411 GB, free: 2.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3669, allocations: 10.19 kB / 0.5411 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008243/0.3677, allocations: 0.5902 MB / 0.5417 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.3694, allocations: 0.5835 MB / 0.5422 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005302/0.3747, allocations: 2.63 MB / 0.5448 GB, free: 15.8 MB / 398.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000474/0.3752, allocations: 438.5 kB / 0.5452 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008475/0.376, allocations: 431.8 kB / 0.5456 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.389, allocations: 5.701 MB / 0.5512 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/0.3891, allocations: 18.28 kB / 0.5512 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004767/0.3896, allocations: 176.3 kB / 0.5514 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002038/0.3898, allocations: 203.8 kB / 0.5516 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008389/0.3982, allocations: 4.339 MB / 0.5558 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02833/0.4265, allocations: 14.63 MB / 0.5701 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/0.4306, allocations: 2.17 MB / 0.5722 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/0.4339, allocations: 1.641 MB / 0.5738 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.4341, allocations: 53.97 kB / 0.5739 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.4342, allocations: 52.56 kB / 0.5739 GB, free: 6.934 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 4.709e-06/0.4342, allocations: 0 / 0.5739 GB, free: 6.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.03411/0.4683, allocations: 12.82 MB / 0.5864 GB, free: 10.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.4684, allocations: 128.8 kB / 0.5866 GB, free: 10.02 MB / 430.1 MB [/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 aimc0.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 aimc0.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 aimc.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 aimc.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.003713/0.4721, allocations: 2.311 MB / 0.5888 GB, free: 7.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002156/0.4723, allocations: 62.27 kB / 0.5889 GB, free: 7.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.4739, allocations: 1.926 MB / 0.5908 GB, free: 5.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000775/0.4747, allocations: 0.7588 MB / 0.5915 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007784/0.4755, allocations: 449 kB / 0.5919 GB, free: 4.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4756, allocations: 309.1 kB / 0.5922 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.4777, allocations: 1.249 MB / 0.5935 GB, free: 2.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/0.4805, allocations: 1.992 MB / 0.5954 GB, free: 0.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/0.4953, allocations: 6.187 MB / 0.6014 GB, free: 10.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-05/0.4953, allocations: 8.875 kB / 0.6014 GB, free: 10.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.009018/0.5043, allocations: 4.424 MB / 0.6058 GB, free: 5.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.5044, allocations: 16.62 kB / 0.6058 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/0.5044, allocations: 23.94 kB / 0.6058 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/0.5069, allocations: 0.9966 MB / 0.6068 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.5089, allocations: 0.5217 MB / 0.6073 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.5274, allocations: 16.67 MB / 0.6236 GB, free: 2.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/0.5299, allocations: 187.7 kB / 0.6238 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/0.5302, allocations: 104 kB / 0.6238 GB, free: 2.594 MB / 462.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.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.004206/0.5344, allocations: 2.296 MB / 0.6261 GB, free: 304 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002706/0.5371, allocations: 1.964 MB / 0.628 GB, free: 14.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01412/0.5512, allocations: 6.12 MB / 0.634 GB, free: 7.695 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.15e-05/0.5512, allocations: 8 kB / 0.634 GB, free: 7.688 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.008147/0.5594, allocations: 4.383 MB / 0.6383 GB, free: 3.418 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.5594, allocations: 16.56 kB / 0.6383 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.5595, allocations: 20 kB / 0.6383 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/0.5618, allocations: 0.9979 MB / 0.6393 GB, free: 2.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/0.564, allocations: 0.5166 MB / 0.6398 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/0.5831, allocations: 16.68 MB / 0.6561 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.5858, allocations: 159.9 kB / 0.6562 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/0.586, allocations: 112 kB / 0.6563 GB, free: 124 kB / 494.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.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: 95 * Number of states: 0 () * Number of discrete variables: 4 (logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,actuator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 8 systems {(2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%), (2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007261/0.5868, allocations: 380.9 kB / 0.6567 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005732/0.5873, allocations: 278.3 kB / 0.657 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00734/0.5947, allocations: 3.832 MB / 0.6607 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.5947, allocations: 20 kB / 0.6607 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.5947, allocations: 8 kB / 0.6607 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.5947, allocations: 11.95 kB / 0.6607 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/0.6101, allocations: 7.865 MB / 0.6684 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/0.6101, allocations: 19.92 kB / 0.6684 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.6116, allocations: 332.2 kB / 0.6688 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/0.6143, allocations: 1.039 MB / 0.6698 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.6145, allocations: 67.95 kB / 0.6698 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/0.6324, allocations: 16.33 MB / 0.6858 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.6324, allocations: 11.98 kB / 0.6858 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.6426, allocations: 5.674 MB / 0.6913 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00204/0.6446, allocations: 0.5332 MB / 0.6919 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/0.6451, allocations: 51.98 kB / 0.6919 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.6468, allocations: 151.8 kB / 0.6921 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004475/0.6472, allocations: 197.4 kB / 0.6922 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/0.6473, allocations: 67.97 kB / 0.6923 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002598/0.6499, allocations: 1.538 MB / 0.6938 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6499, allocations: 4 kB / 0.6938 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005271/0.6552, allocations: 1.449 MB / 0.6952 GB, free: 7.152 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01019/0.6654, allocations: 6.336 MB / 0.7014 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0163/0.6817, allocations: 9.571 MB / 0.7108 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.6817, allocations: 8.25 kB / 0.7108 GB, free: 6.812 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006805/0.6885, allocations: 4.019 MB / 0.7147 GB, free: 2.648 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003824/0.6924, allocations: 0.7334 MB / 0.7154 GB, free: 1.93 MB / 0.545 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.221/0.9133, allocations: 23.24 MB / 0.7381 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/0.9159, allocations: 2.339 MB / 0.7404 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002305/0.9182, allocations: 0.7793 MB / 0.7412 GB, free: 175.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/0.9199, allocations: 1.625 MB / 0.7427 GB, free: 173.9 MB / 0.545 GB Notification: Performance of SimCode: time 9.31e-07/0.9199, allocations: 0 / 0.7427 GB, free: 173.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/1.073, allocations: 88.09 MB / 0.8288 GB, free: 95.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16.35, allocations: 7.672 kB / 0.8288 GB, free: 95.15 MB / 0.545 GB " [Timeout remaining time 643] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0006 EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.295411597937346] Failed to read output from testmodel.py, exit status != 0: 16.51671473775059 16.527036395 16.169138782 Calling exit ...