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.001498/0.001498, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002012/0.002012, allocations: 213.6 kB / 23.03 MB, free: 4.922 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.06342/0.06342, allocations: 8.545 MB / 321.8 MB, free: 10.4 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="cs",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.003155/0.003155, allocations: 63.91 kB / 447.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1581, allocations: 55.42 MB / 0.4913 GB, free: 8.109 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.03331/0.1914, allocations: 14.19 MB / 0.5051 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.205, allocations: 3.974 MB / 0.509 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003493/0.2085, allocations: 123.2 kB / 0.5091 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.2124, allocations: 0.814 MB / 0.5099 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007807/0.2202, allocations: 1.363 MB / 0.5113 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004118/0.2243, allocations: 0.8582 MB / 0.5121 GB, free: 2.707 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.2582/0.4825, allocations: 4.979 MB / 0.517 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003693/0.4862, allocations: 2.515 MB / 0.5194 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003452/0.4896, allocations: 2.291 MB / 0.5217 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006576/0.4962, allocations: 2.799 MB / 0.5244 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003046/0.4992, allocations: 0.6122 MB / 0.525 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.5028, allocations: 0.6978 MB / 0.5257 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003215/0.5061, allocations: 1.665 MB / 0.5273 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005013/0.5111, allocations: 2.168 MB / 0.5294 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.5226, allocations: 7.922 MB / 0.5371 GB, free: 5.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5226, allocations: 0 / 0.5371 GB, free: 5.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5226, allocations: 0 / 0.5371 GB, free: 5.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003326/0.5229, allocations: 0 / 0.5371 GB, free: 5.168 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.01568/0.5386, allocations: 5.098 MB / 0.5421 GB, free: 1.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.5387, allocations: 9.188 kB / 0.5421 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002012/0.5389, allocations: 113.8 kB / 0.5422 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00179/0.5407, allocations: 0.5873 MB / 0.5428 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.543, allocations: 0.5906 MB / 0.5434 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006336/0.5494, allocations: 2.621 MB / 0.546 GB, free: 15.44 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.0005382/0.5499, allocations: 444.3 kB / 0.5464 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/0.5512, allocations: 431.9 kB / 0.5468 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.566, allocations: 5.697 MB / 0.5524 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001886/0.5662, allocations: 22.09 kB / 0.5524 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007979/0.567, allocations: 179.7 kB / 0.5525 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/0.5672, allocations: 204 kB / 0.5527 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009732/0.5769, allocations: 4.338 MB / 0.557 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0327/0.6096, allocations: 14.64 MB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004848/0.6144, allocations: 2.164 MB / 0.5734 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/0.6179, allocations: 1.646 MB / 0.575 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.6182, allocations: 53.97 kB / 0.575 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.872e-05/0.6182, allocations: 55 kB / 0.5751 GB, free: 6.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 7.434e-06/0.6183, allocations: 4 kB / 0.5751 GB, free: 6.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.03539/0.6536, allocations: 12.82 MB / 0.5876 GB, free: 9.676 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.6537, allocations: 124.8 kB / 0.5877 GB, free: 9.527 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.004085/0.6578, allocations: 2.279 MB / 0.59 GB, free: 7.227 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004138/0.6582, allocations: 63.58 kB / 0.59 GB, free: 7.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.6599, allocations: 1.923 MB / 0.5919 GB, free: 5.227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000966/0.6609, allocations: 0.7644 MB / 0.5926 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007992/0.6617, allocations: 449.1 kB / 0.5931 GB, free: 4.027 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6618, allocations: 309 kB / 0.5934 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.664, allocations: 1.241 MB / 0.5946 GB, free: 2.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/0.667, allocations: 1.987 MB / 0.5965 GB, free: 184 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/0.6818, allocations: 6.194 MB / 0.6026 GB, free: 9.777 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-05/0.6818, allocations: 4 kB / 0.6026 GB, free: 9.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.009397/0.6912, allocations: 4.423 MB / 0.6069 GB, free: 5.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.6913, allocations: 24.02 kB / 0.6069 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.752e-05/0.6913, allocations: 20 kB / 0.6069 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/0.6939, allocations: 0.9947 MB / 0.6079 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/0.6962, allocations: 0.5278 MB / 0.6084 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/0.7156, allocations: 16.68 MB / 0.6247 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.7184, allocations: 171.8 kB / 0.6249 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003056/0.7187, allocations: 108 kB / 0.625 GB, free: 2.141 MB / 462.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00447/0.7232, allocations: 2.301 MB / 0.6272 GB, free: 15.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002775/0.7259, allocations: 1.964 MB / 0.6291 GB, free: 13.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01505/0.741, allocations: 6.127 MB / 0.6351 GB, free: 7.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.209e-05/0.741, allocations: 8 kB / 0.6351 GB, free: 7.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.008787/0.7498, allocations: 4.379 MB / 0.6394 GB, free: 2.965 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.7498, allocations: 20.09 kB / 0.6394 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.328e-05/0.7499, allocations: 20 kB / 0.6394 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/0.7523, allocations: 1.001 MB / 0.6404 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.7543, allocations: 0.5149 MB / 0.6409 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/0.7734, allocations: 16.68 MB / 0.6572 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/0.7764, allocations: 163.8 kB / 0.6574 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003877/0.7767, allocations: 108 kB / 0.6575 GB, free: 15.66 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.0007525/0.7775, allocations: 374.5 kB / 0.6578 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006288/0.7781, allocations: 274.3 kB / 0.6581 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.7885, allocations: 3.845 MB / 0.6618 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/0.7885, allocations: 20 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/0.7885, allocations: 8 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-05/0.7886, allocations: 15.95 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/0.8127, allocations: 7.879 MB / 0.6696 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/0.8127, allocations: 8.938 kB / 0.6696 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/0.8152, allocations: 339.5 kB / 0.6699 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00482/0.82, allocations: 1.032 MB / 0.6709 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003642/0.8204, allocations: 63.97 kB / 0.671 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02829/0.8487, allocations: 16.33 MB / 0.6869 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.79e-05/0.8487, allocations: 11.94 kB / 0.6869 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/0.8651, allocations: 5.67 MB / 0.6925 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002828/0.8679, allocations: 0.5332 MB / 0.693 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/0.8692, allocations: 55.98 kB / 0.6931 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003598/0.8728, allocations: 143.8 kB / 0.6932 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008767/0.8737, allocations: 201.4 kB / 0.6934 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003807/0.874, allocations: 75.97 kB / 0.6935 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005651/0.8797, allocations: 1.534 MB / 0.695 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8797, allocations: 0 / 0.695 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01376/0.8934, allocations: 1.453 MB / 0.6964 GB, free: 6.715 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.01737/0.9108, allocations: 6.331 MB / 0.7026 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02123/0.932, allocations: 9.575 MB / 0.7119 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.708e-05/0.9321, allocations: 7.938 kB / 0.7119 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008053/0.9401, allocations: 4.024 MB / 0.7158 GB, free: 2.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005022/0.9451, allocations: 0.725 MB / 0.7166 GB, free: 1.496 MB / 0.545 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2554/1.201, allocations: 23.25 MB / 0.7393 GB, free: 175.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/1.203, allocations: 2.341 MB / 0.7415 GB, free: 175.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002199/1.205, allocations: 0.7813 MB / 0.7423 GB, free: 175 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.207, allocations: 1.621 MB / 0.7439 GB, free: 173.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/1.207, allocations: 0 / 0.7439 GB, free: 173.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1508/1.358, allocations: 88.45 MB / 0.8303 GB, free: 94.67 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.02/19.38, allocations: 4.062 kB / 0.8303 GB, free: 94.66 MB / 0.545 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA_fmu --startTime=0 --stopTime=3 --stepSize=0.0006 --timeout=50 --tolerance=0.0001 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: 23.322248712996952] Failed to read output from testmodel.py, exit status != 0: 19.60009080998134 19.60989354 19.084764053 Calling exit ...