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.001787/0.001787, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00163/0.00163, allocations: 216.2 kB / 22.26 MB, free: 5.078 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04427/0.04427, allocations: 8.531 MB / 321 MB, free: 10.62 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.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.001972/0.001972, allocations: 64.25 kB / 446.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1075, allocations: 55.43 MB / 0.4906 GB, free: 8.449 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.01966/0.1272, allocations: 16.5 MB / 0.5067 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008799/0.136, allocations: 4.107 MB / 0.5107 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003542/0.1395, allocations: 123.2 kB / 0.5108 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.1421, allocations: 0.8413 MB / 0.5117 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005013/0.1471, allocations: 1.359 MB / 0.513 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.1495, allocations: 0.8697 MB / 0.5138 GB, free: 0.5547 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.2289/0.3784, allocations: 4.971 MB / 0.5187 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003667/0.3821, allocations: 2.515 MB / 0.5211 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003847/0.3859, allocations: 2.294 MB / 0.5234 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005563/0.3915, allocations: 2.803 MB / 0.5261 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002234/0.3937, allocations: 0.6082 MB / 0.5267 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.3966, allocations: 0.7069 MB / 0.5274 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002641/0.3993, allocations: 1.666 MB / 0.529 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008539/0.4078, allocations: 2.681 MB / 0.5316 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.4212, allocations: 7.867 MB / 0.5393 GB, free: 4.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.4212, allocations: 0 / 0.5393 GB, free: 4.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4212, allocations: 2.844 kB / 0.5393 GB, free: 4.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003356/0.4216, allocations: 0 / 0.5393 GB, free: 4.105 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.01607/0.4376, allocations: 5.098 MB / 0.5443 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.4377, allocations: 9.531 kB / 0.5443 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/0.4392, allocations: 0.5922 MB / 0.5449 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.4415, allocations: 0.5838 MB / 0.5455 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006505/0.448, allocations: 2.624 MB / 0.548 GB, free: 14.36 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.0004489/0.4484, allocations: 443.3 kB / 0.5485 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/0.4497, allocations: 431.1 kB / 0.5489 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.4603, allocations: 5.445 MB / 0.5542 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.4604, allocations: 25.05 kB / 0.5542 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004218/0.4608, allocations: 182.5 kB / 0.5544 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.461, allocations: 194.9 kB / 0.5546 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008181/0.4692, allocations: 4.338 MB / 0.5588 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03362/0.5028, allocations: 15.94 MB / 0.5744 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004519/0.5073, allocations: 2.169 MB / 0.5765 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/0.5105, allocations: 1.647 MB / 0.5781 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.5108, allocations: 53.09 kB / 0.5782 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.5108, allocations: 56.55 kB / 0.5782 GB, free: 2.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 3.818e-06/0.5108, allocations: 4 kB / 0.5782 GB, free: 2.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.0325/0.5433, allocations: 12.83 MB / 0.5907 GB, free: 5.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/0.5434, allocations: 124.8 kB / 0.5909 GB, free: 5.734 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.003695/0.5471, allocations: 2.279 MB / 0.5931 GB, free: 3.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003683/0.5475, allocations: 61.7 kB / 0.5931 GB, free: 3.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.5491, allocations: 1.925 MB / 0.595 GB, free: 1.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00089/0.55, allocations: 0.7631 MB / 0.5958 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007577/0.5507, allocations: 449 kB / 0.5962 GB, free: 236 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5509, allocations: 305.1 kB / 0.5965 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/0.553, allocations: 1.245 MB / 0.5977 GB, free: 14.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/0.5558, allocations: 1.933 MB / 0.5996 GB, free: 12.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/0.5706, allocations: 6.191 MB / 0.6056 GB, free: 6.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.018e-05/0.5707, allocations: 4 kB / 0.6056 GB, free: 6.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.009175/0.5798, allocations: 4.429 MB / 0.61 GB, free: 1.641 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.5799, allocations: 16 kB / 0.61 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/0.5799, allocations: 23.94 kB / 0.61 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/0.5823, allocations: 1.001 MB / 0.611 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.5844, allocations: 0.5264 MB / 0.6115 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/0.6038, allocations: 16.78 MB / 0.6279 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/0.6067, allocations: 175.7 kB / 0.628 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006509/0.6074, allocations: 108 kB / 0.6281 GB, free: 14.11 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.004827/0.6122, allocations: 2.302 MB / 0.6304 GB, free: 11.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002651/0.6149, allocations: 1.908 MB / 0.6323 GB, free: 9.594 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01387/0.6287, allocations: 6.132 MB / 0.6382 GB, free: 3.176 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-05/0.6288, allocations: 4 kB / 0.6382 GB, free: 3.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.008518/0.6373, allocations: 4.374 MB / 0.6425 GB, free: 14.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.6373, allocations: 16.56 kB / 0.6425 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-05/0.6373, allocations: 23.98 kB / 0.6426 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/0.6397, allocations: 1.003 MB / 0.6435 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.6416, allocations: 0.5148 MB / 0.644 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/0.6595, allocations: 16.78 MB / 0.6604 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/0.6621, allocations: 159.9 kB / 0.6606 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003441/0.6624, allocations: 108 kB / 0.6607 GB, free: 11.25 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.0008024/0.6632, allocations: 381.1 kB / 0.661 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000744/0.6639, allocations: 274.3 kB / 0.6613 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007825/0.6718, allocations: 3.839 MB / 0.6651 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/0.6718, allocations: 20 kB / 0.6651 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-05/0.6718, allocations: 8 kB / 0.6651 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.72e-05/0.6719, allocations: 11.95 kB / 0.6651 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/0.6899, allocations: 8.297 MB / 0.6732 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/0.6899, allocations: 16 kB / 0.6732 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.6913, allocations: 331.5 kB / 0.6735 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/0.6941, allocations: 1.041 MB / 0.6745 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000274/0.6943, allocations: 67.95 kB / 0.6746 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/0.7119, allocations: 16.42 MB / 0.6906 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.7119, allocations: 11.94 kB / 0.6907 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.7223, allocations: 5.675 MB / 0.6962 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/0.7245, allocations: 0.5254 MB / 0.6967 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006448/0.7251, allocations: 59.98 kB / 0.6968 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.7267, allocations: 147.8 kB / 0.6969 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004848/0.7272, allocations: 205.3 kB / 0.6971 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.7273, allocations: 67.98 kB / 0.6972 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002517/0.7299, allocations: 1.538 MB / 0.6987 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7299, allocations: 0 / 0.6987 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005523/0.7354, allocations: 1.453 MB / 0.7001 GB, free: 1.637 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.01007/0.7455, allocations: 6.338 MB / 0.7063 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01581/0.7613, allocations: 9.571 MB / 0.7156 GB, free: 1.312 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/0.7613, allocations: 0 / 0.7156 GB, free: 1.312 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2162/0.9775, allocations: 4.016 MB / 0.7195 GB, free: 178.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/0.981, allocations: 0.7252 MB / 0.7203 GB, free: 178.5 MB / 0.545 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.03835/1.019, allocations: 23.27 MB / 0.743 GB, free: 171.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002912/1.022, allocations: 2.877 MB / 0.7458 GB, free: 170.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002451/1.025, allocations: 0.7821 MB / 0.7466 GB, free: 170.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/1.027, allocations: 1.613 MB / 0.7481 GB, free: 169.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.362e-06/1.027, allocations: 0 / 0.7481 GB, free: 169.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1475/1.174, allocations: 86.05 MB / 0.8322 GB, free: 92.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.6/18.77, allocations: 8.062 kB / 0.8322 GB, free: 92.23 MB / 0.545 GB " [Timeout remaining time 641] (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: 21.742082832999586] Failed to read output from testmodel.py, exit status != 0: 18.935623785000644 18.957607998 18.532071956 Calling exit ...