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.001345/0.001345, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00149/0.00149, allocations: 220 kB / 22.25 MB, free: 5.258 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.816 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.04388/0.04388, allocations: 8.538 MB / 321 MB, free: 10.45 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.002023/0.002023, allocations: 63.91 kB / 446.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1099, allocations: 55.44 MB / 0.4905 GB, free: 8.152 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.01915/0.129, allocations: 14.18 MB / 0.5044 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.1397, allocations: 3.986 MB / 0.5083 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00361/0.1433, allocations: 123.2 kB / 0.5084 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.1461, allocations: 0.8179 MB / 0.5092 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004482/0.1506, allocations: 1.363 MB / 0.5105 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1528, allocations: 0.8578 MB / 0.5113 GB, free: 2.734 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.2435/0.3962, allocations: 4.979 MB / 0.5162 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003986/0.4002, allocations: 2.512 MB / 0.5187 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003466/0.4037, allocations: 2.299 MB / 0.5209 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005066/0.4087, allocations: 2.797 MB / 0.5236 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.4103, allocations: 0.6093 MB / 0.5242 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.4131, allocations: 0.6977 MB / 0.5249 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001856/0.4149, allocations: 1.663 MB / 0.5265 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00352/0.4185, allocations: 2.173 MB / 0.5287 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009469/0.4279, allocations: 7.909 MB / 0.5364 GB, free: 5.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.4279, allocations: 3.938 kB / 0.5364 GB, free: 5.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4279, allocations: 3.625 kB / 0.5364 GB, free: 5.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002925/0.4282, allocations: 5.203 kB / 0.5364 GB, free: 5.227 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.01494/0.4432, allocations: 5.093 MB / 0.5414 GB, free: 1.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4432, allocations: 9.625 kB / 0.5414 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001172/0.4444, allocations: 0.5932 MB / 0.542 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.4463, allocations: 0.5833 MB / 0.5425 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006259/0.4526, allocations: 2.624 MB / 0.5451 GB, free: 15.49 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.0004538/0.4531, allocations: 438.7 kB / 0.5455 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008961/0.4539, allocations: 435.2 kB / 0.5459 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/0.4658, allocations: 5.702 MB / 0.5515 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.466, allocations: 14.28 kB / 0.5515 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005686/0.4665, allocations: 178.6 kB / 0.5517 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002371/0.4668, allocations: 198.4 kB / 0.5519 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/0.4788, allocations: 4.341 MB / 0.5561 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03478/0.5135, allocations: 14.64 MB / 0.5704 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004339/0.5179, allocations: 2.161 MB / 0.5725 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/0.5212, allocations: 1.64 MB / 0.5741 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.5215, allocations: 57 kB / 0.5742 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.5216, allocations: 59.66 kB / 0.5742 GB, free: 6.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 4.889e-06/0.5216, allocations: 0 / 0.5742 GB, free: 6.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.0382/0.5598, allocations: 12.82 MB / 0.5867 GB, free: 9.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5599, allocations: 124.8 kB / 0.5869 GB, free: 9.746 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.004738/0.5646, allocations: 2.311 MB / 0.5891 GB, free: 7.414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004781/0.5651, allocations: 61.7 kB / 0.5892 GB, free: 7.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001737/0.5668, allocations: 1.93 MB / 0.5911 GB, free: 5.406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.5678, allocations: 0.759 MB / 0.5918 GB, free: 4.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009779/0.5688, allocations: 457 kB / 0.5922 GB, free: 4.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.569, allocations: 305.1 kB / 0.5925 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.5712, allocations: 1.245 MB / 0.5937 GB, free: 2.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002853/0.5741, allocations: 1.991 MB / 0.5957 GB, free: 360 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/0.5889, allocations: 6.194 MB / 0.6017 GB, free: 9.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-05/0.589, allocations: 4.75 kB / 0.6017 GB, free: 9.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.009115/0.5981, allocations: 4.424 MB / 0.6061 GB, free: 5.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.5981, allocations: 12 kB / 0.6061 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.513e-05/0.5982, allocations: 27.94 kB / 0.6061 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/0.6006, allocations: 1.003 MB / 0.6071 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.6027, allocations: 0.5181 MB / 0.6076 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/0.6214, allocations: 16.67 MB / 0.6239 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/0.6245, allocations: 175.8 kB / 0.624 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005545/0.625, allocations: 108 kB / 0.6241 GB, free: 2.312 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.004959/0.63, allocations: 2.291 MB / 0.6264 GB, free: 24 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002691/0.6327, allocations: 1.964 MB / 0.6283 GB, free: 13.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01448/0.6472, allocations: 6.125 MB / 0.6343 GB, free: 7.426 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.86e-05/0.6472, allocations: 4 kB / 0.6343 GB, free: 7.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.009561/0.6568, allocations: 4.385 MB / 0.6386 GB, free: 3.148 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.6568, allocations: 16 kB / 0.6386 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.593e-05/0.6569, allocations: 20 kB / 0.6386 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.6595, allocations: 0.999 MB / 0.6396 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.6617, allocations: 0.5098 MB / 0.6401 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/0.6802, allocations: 16.68 MB / 0.6564 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/0.6829, allocations: 165.7 kB / 0.6565 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003457/0.6832, allocations: 103.9 kB / 0.6566 GB, free: 15.86 MB / 0.4981 GB 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.0007568/0.684, allocations: 392.9 kB / 0.657 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006365/0.6846, allocations: 274.3 kB / 0.6573 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007231/0.6918, allocations: 3.836 MB / 0.661 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.6919, allocations: 20 kB / 0.661 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/0.6919, allocations: 12 kB / 0.661 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-05/0.6919, allocations: 7.969 kB / 0.661 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/0.712, allocations: 7.876 MB / 0.6687 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.712, allocations: 8 kB / 0.6687 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.7135, allocations: 335.4 kB / 0.6691 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/0.7163, allocations: 1.029 MB / 0.6701 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/0.7165, allocations: 75.89 kB / 0.6701 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/0.7346, allocations: 16.32 MB / 0.6861 GB, free: 0.7148 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/0.7346, allocations: 16 kB / 0.6861 GB, free: 0.6992 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.7449, allocations: 5.674 MB / 0.6916 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/0.747, allocations: 0.5343 MB / 0.6922 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006859/0.7477, allocations: 63.98 kB / 0.6922 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.7493, allocations: 143.8 kB / 0.6924 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004926/0.7498, allocations: 201.4 kB / 0.6925 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.75, allocations: 67.97 kB / 0.6926 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002664/0.7526, allocations: 1.538 MB / 0.6941 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7526, allocations: 0 / 0.6941 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005622/0.7583, allocations: 1.453 MB / 0.6955 GB, free: 6.883 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.01031/0.7686, allocations: 6.328 MB / 0.7017 GB, free: 412 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01654/0.7851, allocations: 9.573 MB / 0.7111 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/0.7851, allocations: 0 / 0.7111 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006738/0.7919, allocations: 4.032 MB / 0.715 GB, free: 2.379 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/0.7958, allocations: 0.725 MB / 0.7157 GB, free: 1.672 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.2452/1.041, allocations: 23.25 MB / 0.7384 GB, free: 175.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002805/1.044, allocations: 2.346 MB / 0.7407 GB, free: 174.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002313/1.046, allocations: 0.7835 MB / 0.7415 GB, free: 174.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/1.048, allocations: 1.62 MB / 0.743 GB, free: 173.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/1.048, allocations: 0 / 0.743 GB, free: 173.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1508/1.199, allocations: 89.12 MB / 0.8301 GB, free: 94.15 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/16.93, allocations: 3.938 kB / 0.8301 GB, free: 94.14 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: 20.021177113987505] Failed to read output from testmodel.py, exit status != 0: 17.09727958199801 17.116214205 16.68453892 Calling exit ...