Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.002276/0.002276, allocations: 211.9 kB / 22.25 MB, free: 5.137 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04357/0.04357, allocations: 8.538 MB / 321 MB, free: 10.61 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.89 kB / 446.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.122, allocations: 55.41 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.0209/0.1429, allocations: 16.51 MB / 0.5067 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.1543, allocations: 4.107 MB / 0.5107 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004314/0.1586, allocations: 123.2 kB / 0.5108 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.1622, allocations: 0.8452 MB / 0.5116 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007047/0.1693, allocations: 1.347 MB / 0.513 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.1726, allocations: 0.8733 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.2632/0.4358, allocations: 4.983 MB / 0.5187 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003651/0.4394, allocations: 2.514 MB / 0.5211 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004019/0.4435, allocations: 2.293 MB / 0.5234 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006073/0.4495, allocations: 2.803 MB / 0.5261 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002802/0.4523, allocations: 0.6078 MB / 0.5267 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.4563, allocations: 0.7042 MB / 0.5274 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003284/0.4595, allocations: 1.667 MB / 0.529 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008967/0.4685, allocations: 2.679 MB / 0.5316 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.482, allocations: 7.868 MB / 0.5393 GB, free: 3.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.482, allocations: 1.625 kB / 0.5393 GB, free: 3.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.482, allocations: 0 / 0.5393 GB, free: 3.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003784/0.4824, allocations: 3.344 kB / 0.5393 GB, free: 3.859 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.01819/0.5006, allocations: 5.099 MB / 0.5443 GB, free: 500 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.5006, allocations: 8.875 kB / 0.5443 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001784/0.5024, allocations: 0.5878 MB / 0.5449 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.5051, allocations: 0.5886 MB / 0.5455 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008504/0.5136, allocations: 2.62 MB / 0.548 GB, free: 14.12 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.0005833/0.5142, allocations: 439.9 kB / 0.5484 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001853/0.5161, allocations: 435.5 kB / 0.5489 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.5306, allocations: 5.445 MB / 0.5542 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/0.5308, allocations: 19.39 kB / 0.5542 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004433/0.5312, allocations: 174.6 kB / 0.5544 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001863/0.5314, allocations: 206.2 kB / 0.5546 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009758/0.5412, allocations: 4.34 MB / 0.5588 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03658/0.5778, allocations: 15.95 MB / 0.5744 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/0.5822, allocations: 2.177 MB / 0.5765 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003208/0.5854, allocations: 1.646 MB / 0.5781 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.5857, allocations: 53.95 kB / 0.5782 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/0.5857, allocations: 60.5 kB / 0.5782 GB, free: 2.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 3.908e-06/0.5857, allocations: 0 / 0.5782 GB, free: 2.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.03448/0.6202, allocations: 12.82 MB / 0.5907 GB, free: 5.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.6203, allocations: 128.8 kB / 0.5909 GB, free: 5.504 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.00433/0.6247, allocations: 2.273 MB / 0.5931 GB, free: 3.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004008/0.6251, allocations: 61.7 kB / 0.5931 GB, free: 3.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001677/0.6267, allocations: 1.927 MB / 0.595 GB, free: 1.203 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.6278, allocations: 0.7597 MB / 0.5958 GB, free: 464 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007707/0.6285, allocations: 457 kB / 0.5962 GB, free: 0 / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6287, allocations: 301.1 kB / 0.5965 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.6309, allocations: 1.245 MB / 0.5977 GB, free: 14.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002871/0.6337, allocations: 1.931 MB / 0.5996 GB, free: 12.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/0.6487, allocations: 6.184 MB / 0.6056 GB, free: 5.832 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.572e-05/0.6487, allocations: 8.875 kB / 0.6056 GB, free: 5.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.008595/0.6573, allocations: 4.436 MB / 0.61 GB, free: 1.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.6573, allocations: 12 kB / 0.61 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.179e-05/0.6574, allocations: 27.94 kB / 0.61 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/0.6598, allocations: 1.001 MB / 0.611 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.6619, allocations: 0.5149 MB / 0.6115 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/0.6803, allocations: 16.78 MB / 0.6279 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/0.683, allocations: 175.7 kB / 0.628 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003389/0.6833, allocations: 104 kB / 0.6281 GB, free: 13.89 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.004384/0.6877, allocations: 2.301 MB / 0.6304 GB, free: 11.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002688/0.6904, allocations: 1.904 MB / 0.6322 GB, free: 9.383 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01435/0.7047, allocations: 6.128 MB / 0.6382 GB, free: 2.965 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.692e-05/0.7048, allocations: 11.94 kB / 0.6382 GB, free: 2.953 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.008629/0.7134, allocations: 4.378 MB / 0.6425 GB, free: 14.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.7134, allocations: 16 kB / 0.6425 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/0.7134, allocations: 20 kB / 0.6426 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/0.7159, allocations: 1 MB / 0.6435 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.7179, allocations: 0.5187 MB / 0.644 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01849/0.7364, allocations: 16.77 MB / 0.6604 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.7391, allocations: 155.8 kB / 0.6606 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003834/0.7395, allocations: 108 kB / 0.6607 GB, free: 11.04 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.0007318/0.7402, allocations: 390.6 kB / 0.661 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006119/0.7408, allocations: 282.3 kB / 0.6613 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00741/0.7482, allocations: 3.835 MB / 0.665 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/0.7482, allocations: 20 kB / 0.6651 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.28e-05/0.7483, allocations: 8 kB / 0.6651 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.841e-05/0.7483, allocations: 7.969 kB / 0.6651 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/0.7665, allocations: 8.304 MB / 0.6732 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.7665, allocations: 8.938 kB / 0.6732 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.768, allocations: 335.5 kB / 0.6735 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/0.7708, allocations: 1.03 MB / 0.6745 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/0.7711, allocations: 67.97 kB / 0.6746 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/0.7905, allocations: 16.44 MB / 0.6906 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/0.7905, allocations: 11.94 kB / 0.6907 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/0.8011, allocations: 5.671 MB / 0.6962 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/0.8032, allocations: 0.537 MB / 0.6967 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005172/0.8037, allocations: 59.98 kB / 0.6968 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.8052, allocations: 143.8 kB / 0.6969 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004481/0.8056, allocations: 193.5 kB / 0.6971 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.8058, allocations: 67.97 kB / 0.6972 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002629/0.8084, allocations: 1.538 MB / 0.6987 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8084, allocations: 0 / 0.6987 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005154/0.8136, allocations: 1.457 MB / 0.7001 GB, free: 1.418 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.01021/0.8238, allocations: 6.329 MB / 0.7063 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01838/0.8421, allocations: 9.568 MB / 0.7156 GB, free: 1.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.8422, allocations: 4 kB / 0.7156 GB, free: 1.094 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2285/1.071, allocations: 4.023 MB / 0.7195 GB, free: 178 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004075/1.075, allocations: 0.711 MB / 0.7202 GB, free: 178 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.04375/1.119, allocations: 23.28 MB / 0.743 GB, free: 171.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002975/1.121, allocations: 2.868 MB / 0.7458 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003125/1.125, allocations: 0.7846 MB / 0.7465 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002574/1.127, allocations: 1.615 MB / 0.7481 GB, free: 168.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.733e-06/1.127, allocations: 0 / 0.7481 GB, free: 168.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1859/1.313, allocations: 86.05 MB / 0.8322 GB, free: 91.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.19/19.51, allocations: 7.922 kB / 0.8322 GB, free: 91.9 MB / 0.545 GB " [Timeout remaining time 640] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0006 EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.707862593000755] Failed to read output from testmodel.py, exit status != 0: 19.673719307000283 19.691571766 19.205536894 Calling exit ...