Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001315/0.001315, allocations: 108.8 kB / 16.45 MB, free: 6.508 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.001315/0.001315, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04199/0.04199, allocations: 8.551 MB / 317.4 MB, free: 11.81 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-main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_latest_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.002088/0.002088, allocations: 71.88 kB / 441.8 MB, free: 3.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1182, allocations: 55.39 MB / 497.1 MB, free: 12 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.01985/0.138, allocations: 16.45 MB / 0.5016 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1485, allocations: 4.099 MB / 0.5056 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003526/0.1521, allocations: 123.2 kB / 0.5057 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.1552, allocations: 0.8452 MB / 0.5065 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.1609, allocations: 1.347 MB / 0.5078 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.1638, allocations: 0.8579 MB / 0.5087 GB, free: 4.184 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.258/0.4218, allocations: 4.972 MB / 0.5135 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004167/0.426, allocations: 3.165 MB / 0.5166 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004755/0.4307, allocations: 2.288 MB / 0.5188 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004787/0.4355, allocations: 2.797 MB / 0.5216 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001416/0.4369, allocations: 0.6096 MB / 0.5222 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.4389, allocations: 0.7027 MB / 0.5229 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.4409, allocations: 1.663 MB / 0.5245 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005949/0.4468, allocations: 2.681 MB / 0.5271 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.4573, allocations: 7.866 MB / 0.5348 GB, free: 4.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4574, allocations: 0 / 0.5348 GB, free: 4.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4574, allocations: 1.469 kB / 0.5348 GB, free: 4.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003075/0.4577, allocations: 0 / 0.5348 GB, free: 4.039 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.01342/0.4711, allocations: 5.177 MB / 0.5398 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4711, allocations: 9.625 kB / 0.5398 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009895/0.4721, allocations: 0.5875 MB / 0.5404 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.4741, allocations: 0.585 MB / 0.541 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006036/0.4802, allocations: 2.708 MB / 0.5436 GB, free: 14.08 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.0003812/0.4805, allocations: 382.8 kB / 0.544 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009274/0.4815, allocations: 436 kB / 0.5444 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/0.495, allocations: 5.448 MB / 0.5497 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.4952, allocations: 14.86 kB / 0.5497 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008474/0.4961, allocations: 176.6 kB / 0.5499 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000227/0.4963, allocations: 200.7 kB / 0.5501 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.5071, allocations: 4.348 MB / 0.5544 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03101/0.5381, allocations: 16.22 MB / 0.5702 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004375/0.5425, allocations: 2.628 MB / 0.5728 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.5456, allocations: 1.643 MB / 0.5744 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003259/0.546, allocations: 135.1 kB / 0.5745 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.546, allocations: 60.5 kB / 0.5746 GB, free: 2.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 3.496e-06/0.546, allocations: 3.938 kB / 0.5746 GB, free: 2.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.03523/0.5813, allocations: 13.65 MB / 0.5879 GB, free: 4.879 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/0.5813, allocations: 131.4 kB / 0.588 GB, free: 4.727 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.5851, allocations: 2.274 MB / 0.5902 GB, free: 2.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003017/0.5854, allocations: 61.7 kB / 0.5903 GB, free: 2.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.5869, allocations: 1.923 MB / 0.5922 GB, free: 440 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007963/0.5877, allocations: 0.7603 MB / 0.5929 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000774/0.5885, allocations: 453 kB / 0.5933 GB, free: 15.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5886, allocations: 305.1 kB / 0.5936 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.5907, allocations: 1.245 MB / 0.5948 GB, free: 13.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/0.5934, allocations: 1.934 MB / 0.5967 GB, free: 11.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/0.6086, allocations: 6.183 MB / 0.6028 GB, free: 5.055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-05/0.6086, allocations: 8 kB / 0.6028 GB, free: 5.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.008986/0.6176, allocations: 4.588 MB / 0.6073 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.6176, allocations: 16.56 kB / 0.6073 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/0.6177, allocations: 20 kB / 0.6073 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002539/0.6202, allocations: 1.005 MB / 0.6083 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.6223, allocations: 0.5215 MB / 0.6088 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/0.641, allocations: 17.59 MB / 0.626 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/0.6438, allocations: 171.8 kB / 0.6261 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003451/0.6441, allocations: 108 kB / 0.6262 GB, free: 12.09 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.004522/0.6486, allocations: 2.304 MB / 0.6285 GB, free: 9.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00266/0.6513, allocations: 1.91 MB / 0.6303 GB, free: 7.586 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01504/0.6663, allocations: 6.13 MB / 0.6363 GB, free: 1.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.39e-05/0.6663, allocations: 4 kB / 0.6363 GB, free: 1.246 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.008685/0.675, allocations: 4.536 MB / 0.6408 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.6751, allocations: 12 kB / 0.6408 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/0.6751, allocations: 20 kB / 0.6408 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.6776, allocations: 1.002 MB / 0.6418 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/0.6796, allocations: 0.517 MB / 0.6423 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/0.6982, allocations: 17.59 MB / 0.6595 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/0.7009, allocations: 163.8 kB / 0.6596 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/0.7011, allocations: 104 kB / 0.6597 GB, free: 8.371 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.0007194/0.7019, allocations: 390.6 kB / 0.6601 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005665/0.7024, allocations: 274.3 kB / 0.6604 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007527/0.71, allocations: 3.988 MB / 0.6642 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.71, allocations: 24 kB / 0.6643 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.71, allocations: 8 kB / 0.6643 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.71, allocations: 11.91 kB / 0.6643 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.7259, allocations: 8.48 MB / 0.6726 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.7259, allocations: 8 kB / 0.6726 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.7274, allocations: 338.1 kB / 0.6729 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00285/0.7302, allocations: 1.031 MB / 0.6739 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002424/0.7304, allocations: 67.91 kB / 0.674 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01844/0.7489, allocations: 17.26 MB / 0.6908 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/0.7489, allocations: 11.84 kB / 0.6908 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/0.7592, allocations: 5.809 MB / 0.6965 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/0.7612, allocations: 0.6006 MB / 0.6971 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005901/0.7618, allocations: 63.98 kB / 0.6972 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/0.7634, allocations: 139.8 kB / 0.6973 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004897/0.7639, allocations: 194.5 kB / 0.6975 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.764, allocations: 67.98 kB / 0.6975 GB, free: 356 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002626/0.7666, allocations: 1.538 MB / 0.699 GB, free: 14.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7666, allocations: 0 / 0.699 GB, free: 14.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006662/0.7733, allocations: 1.461 MB / 0.7005 GB, free: 13.34 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.01087/0.7842, allocations: 6.492 MB / 0.7068 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01658/0.8007, allocations: 9.875 MB / 0.7165 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.8008, allocations: 0 / 0.7165 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006897/0.8077, allocations: 4.181 MB / 0.7205 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/0.8115, allocations: 0.7115 MB / 0.7212 GB, free: 7.629 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.2578/1.069, 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.002841/1.072, allocations: 2.874 MB / 0.7469 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002367/1.075, allocations: 0.7764 MB / 0.7476 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.076, allocations: 1.613 MB / 0.7492 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/1.076, allocations: 3.938 kB / 0.7492 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/1.23, allocations: 83.56 MB / 0.8308 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.47, allocations: 3.5 kB / 0.8308 GB, free: 120.3 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.608118212781847] Failed to read output from testmodel.py, exit status != 0: 17.60080314287916 17.610222389 17.150561028 Calling exit ...