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.001749/0.001749, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002197/0.002197, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.04293/0.04293, allocations: 8.543 MB / 317.4 MB, free: 11.76 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.001954/0.001954, allocations: 63.89 kB / 441.7 MB, free: 3.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.115, allocations: 55.38 MB / 497.1 MB, free: 11.91 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.01978/0.1347, allocations: 16.46 MB / 0.5015 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1454, allocations: 4.091 MB / 0.5055 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003447/0.1489, allocations: 123.2 kB / 0.5057 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.1523, allocations: 0.8452 MB / 0.5065 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005952/0.1582, allocations: 1.343 MB / 0.5078 GB, free: 4.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.1614, allocations: 0.8543 MB / 0.5086 GB, free: 4.102 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.2292/0.3906, allocations: 4.98 MB / 0.5135 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004051/0.3946, allocations: 3.165 MB / 0.5166 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/0.398, allocations: 2.292 MB / 0.5188 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004753/0.4028, allocations: 2.796 MB / 0.5215 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001901/0.4047, allocations: 0.609 MB / 0.5221 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.4072, allocations: 0.705 MB / 0.5228 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002429/0.4096, allocations: 1.658 MB / 0.5244 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006065/0.4157, allocations: 2.687 MB / 0.5271 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.4272, allocations: 7.863 MB / 0.5348 GB, free: 3.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.4272, allocations: 0 / 0.5348 GB, free: 3.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4272, allocations: 0 / 0.5348 GB, free: 3.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003834/0.4276, allocations: 5.156 kB / 0.5348 GB, free: 3.977 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.01551/0.4431, allocations: 5.167 MB / 0.5398 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.4431, allocations: 13.61 kB / 0.5398 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/0.4444, allocations: 0.5907 MB / 0.5404 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.4467, allocations: 0.5861 MB / 0.541 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006683/0.4534, allocations: 2.705 MB / 0.5436 GB, free: 14.02 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.0004376/0.4538, allocations: 386 kB / 0.544 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.4551, allocations: 433.3 kB / 0.5444 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.4691, allocations: 5.444 MB / 0.5497 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/0.4693, allocations: 20.34 kB / 0.5497 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005608/0.4699, allocations: 177.2 kB / 0.5499 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002008/0.4701, allocations: 198.2 kB / 0.5501 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.4805, allocations: 4.349 MB / 0.5543 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03763/0.5182, allocations: 16.22 MB / 0.5702 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004946/0.5231, allocations: 2.621 MB / 0.5727 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003545/0.5266, allocations: 1.648 MB / 0.5743 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003584/0.527, allocations: 131.1 kB / 0.5745 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.5271, allocations: 59.12 kB / 0.5745 GB, free: 2.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 4.158e-06/0.5271, allocations: 3.938 kB / 0.5745 GB, free: 2.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.03919/0.5663, allocations: 13.65 MB / 0.5879 GB, free: 4.789 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.5664, allocations: 131.4 kB / 0.588 GB, free: 4.637 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.005127/0.5715, allocations: 2.276 MB / 0.5902 GB, free: 2.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005035/0.572, allocations: 61.7 kB / 0.5903 GB, free: 2.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.5738, allocations: 1.921 MB / 0.5921 GB, free: 344 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.5749, allocations: 0.7639 MB / 0.5929 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.5761, allocations: 459.2 kB / 0.5933 GB, free: 15.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5763, allocations: 301.1 kB / 0.5936 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/0.5786, allocations: 1.241 MB / 0.5948 GB, free: 13.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00288/0.5815, allocations: 1.934 MB / 0.5967 GB, free: 11.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01651/0.598, allocations: 6.189 MB / 0.6028 GB, free: 4.961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.629e-05/0.598, allocations: 8 kB / 0.6028 GB, free: 4.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.01061/0.6086, allocations: 4.58 MB / 0.6072 GB, free: 460 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/0.6087, allocations: 19.92 kB / 0.6073 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-05/0.6087, allocations: 24 kB / 0.6073 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/0.6116, allocations: 0.9968 MB / 0.6082 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.614, allocations: 0.5215 MB / 0.6088 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0213/0.6353, allocations: 17.6 MB / 0.626 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/0.6385, allocations: 171.8 kB / 0.6261 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006142/0.6391, allocations: 104 kB / 0.6262 GB, free: 12.01 MB / 478.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.00553/0.6447, allocations: 2.303 MB / 0.6285 GB, free: 9.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003045/0.6477, allocations: 1.911 MB / 0.6303 GB, free: 7.504 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01537/0.6631, allocations: 6.124 MB / 0.6363 GB, free: 1.172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.889e-05/0.6631, allocations: 8 kB / 0.6363 GB, free: 1.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.009543/0.6726, allocations: 4.532 MB / 0.6407 GB, free: 12.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.6727, allocations: 12 kB / 0.6408 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.882e-05/0.6727, allocations: 24 kB / 0.6408 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/0.6753, allocations: 0.9999 MB / 0.6418 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.6775, allocations: 0.5253 MB / 0.6423 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/0.6981, allocations: 17.59 MB / 0.6594 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/0.7012, allocations: 159.8 kB / 0.6596 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005821/0.7018, allocations: 104 kB / 0.6597 GB, free: 8.293 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.001137/0.7029, allocations: 396.9 kB / 0.6601 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009461/0.7038, allocations: 278.3 kB / 0.6603 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008348/0.7122, allocations: 3.979 MB / 0.6642 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.7122, allocations: 20 kB / 0.6642 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.878e-05/0.7122, allocations: 8 kB / 0.6643 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/0.7123, allocations: 15.89 kB / 0.6643 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/0.7314, allocations: 8.479 MB / 0.6725 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/0.7314, allocations: 4 kB / 0.6725 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.7331, allocations: 332.1 kB / 0.6729 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002984/0.7361, allocations: 1.044 MB / 0.6739 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003962/0.7365, allocations: 67.91 kB / 0.674 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01868/0.7551, allocations: 17.25 MB / 0.6908 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/0.7552, allocations: 15.64 kB / 0.6908 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.7658, allocations: 5.814 MB / 0.6965 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/0.7675, allocations: 0.6084 MB / 0.6971 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007928/0.7683, allocations: 55.98 kB / 0.6971 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001997/0.7703, allocations: 147.8 kB / 0.6973 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005322/0.7709, allocations: 184.5 kB / 0.6975 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/0.7711, allocations: 75.97 kB / 0.6975 GB, free: 260 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003143/0.7742, allocations: 1.53 MB / 0.699 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7742, allocations: 0 / 0.699 GB, free: 14.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005857/0.7801, allocations: 1.465 MB / 0.7005 GB, free: 13.25 MB / 0.545 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.00988/0.7899, allocations: 6.481 MB / 0.7068 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01646/0.8064, allocations: 9.887 MB / 0.7164 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/0.8064, allocations: 0.875 kB / 0.7164 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00684/0.8133, allocations: 4.168 MB / 0.7205 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00418/0.8174, allocations: 0.7146 MB / 0.7212 GB, free: 7.539 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2524/1.07, allocations: 23.37 MB / 0.744 GB, free: 191.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003039/1.073, allocations: 2.874 MB / 0.7468 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002618/1.075, allocations: 0.7781 MB / 0.7476 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/1.077, allocations: 1.619 MB / 0.7492 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.077, allocations: 0 / 0.7492 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1489/1.226, allocations: 83.56 MB / 0.8308 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/17.4, allocations: 15.5 kB / 0.8308 GB, free: 120.3 MB / 0.5606 GB " [Timeout remaining time 642] (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.389287579993834] Failed to read output from testmodel.py, exit status != 0: 17.535382611007662 17.552672554 17.121816183 Calling exit ...