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.001381/0.001381, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001567/0.001567, allocations: 220.9 kB / 23.04 MB, free: 5.074 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.04267/0.04267, allocations: 8.542 MB / 321.8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_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.002005/0.002005, allocations: 67.98 kB / 447.7 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1138, allocations: 55.42 MB / 0.4913 GB, free: 8.418 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.02026/0.1341, allocations: 16.5 MB / 0.5075 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.1443, allocations: 4.11 MB / 0.5115 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/0.1476, allocations: 127.2 kB / 0.5116 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.1506, allocations: 0.8374 MB / 0.5124 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.1557, allocations: 1.363 MB / 0.5137 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.1584, allocations: 0.8655 MB / 0.5146 GB, free: 0.5234 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.23/0.3884, allocations: 4.979 MB / 0.5195 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003284/0.3916, allocations: 2.51 MB / 0.5219 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.3949, allocations: 2.296 MB / 0.5241 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00574/0.4006, allocations: 2.8 MB / 0.5269 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002451/0.4031, allocations: 0.6091 MB / 0.5275 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.4072, allocations: 0.7039 MB / 0.5282 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003128/0.4103, allocations: 1.664 MB / 0.5298 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00756/0.4179, allocations: 2.687 MB / 0.5324 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.4305, allocations: 7.864 MB / 0.5401 GB, free: 3.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4305, allocations: 3.062 kB / 0.5401 GB, free: 3.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4305, allocations: 0.6875 kB / 0.5401 GB, free: 3.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002549/0.4308, allocations: 0 / 0.5401 GB, free: 3.871 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.01167/0.4425, allocations: 5.104 MB / 0.5451 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4425, allocations: 9.938 kB / 0.5451 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000129/0.4426, allocations: 112.9 kB / 0.5452 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007895/0.4434, allocations: 0.5877 MB / 0.5458 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.4453, allocations: 0.5847 MB / 0.5463 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005388/0.4506, allocations: 2.621 MB / 0.5489 GB, free: 14.11 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.0003618/0.451, allocations: 437.7 kB / 0.5493 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007358/0.4517, allocations: 432 kB / 0.5497 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009803/0.4615, allocations: 5.448 MB / 0.555 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.4617, allocations: 18.95 kB / 0.5551 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004047/0.4621, allocations: 177.2 kB / 0.5552 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.4622, allocations: 200 kB / 0.5554 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007757/0.47, allocations: 4.349 MB / 0.5597 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02741/0.4974, allocations: 15.94 MB / 0.5752 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003921/0.5013, allocations: 2.173 MB / 0.5774 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003135/0.5044, allocations: 1.638 MB / 0.579 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.5047, allocations: 57.08 kB / 0.579 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.5047, allocations: 60.5 kB / 0.5791 GB, free: 2.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 3.657e-06/0.5047, allocations: 3.938 kB / 0.5791 GB, free: 2.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.03456/0.5393, allocations: 12.82 MB / 0.5916 GB, free: 5.555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.408e-05/0.5394, allocations: 136.1 kB / 0.5917 GB, free: 5.398 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.004075/0.5435, allocations: 2.269 MB / 0.5939 GB, free: 3.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.5437, allocations: 65.7 kB / 0.594 GB, free: 3.035 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.5453, allocations: 1.922 MB / 0.5959 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008142/0.5461, allocations: 0.7667 MB / 0.5966 GB, free: 356 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008528/0.547, allocations: 453.8 kB / 0.5971 GB, free: 15.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5471, allocations: 301.1 kB / 0.5974 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.5493, allocations: 1.238 MB / 0.5986 GB, free: 14.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002874/0.5522, allocations: 1.937 MB / 0.6005 GB, free: 12.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01523/0.5674, allocations: 6.192 MB / 0.6065 GB, free: 5.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.766e-05/0.5675, allocations: 4 kB / 0.6065 GB, free: 5.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.01088/0.5784, allocations: 4.436 MB / 0.6108 GB, free: 1.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.177e-05/0.5784, allocations: 19.94 kB / 0.6109 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.569e-05/0.5785, allocations: 20 kB / 0.6109 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/0.5811, allocations: 1.001 MB / 0.6119 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/0.5832, allocations: 0.523 MB / 0.6124 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/0.6017, allocations: 16.77 MB / 0.6287 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.6043, allocations: 175.7 kB / 0.6289 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004463/0.6048, allocations: 112 kB / 0.629 GB, free: 13.76 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.004633/0.6094, allocations: 2.292 MB / 0.6313 GB, free: 11.47 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003016/0.6124, allocations: 1.908 MB / 0.6331 GB, free: 9.258 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01422/0.6266, allocations: 6.131 MB / 0.6391 GB, free: 2.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.235e-05/0.6267, allocations: 11.92 kB / 0.6391 GB, free: 2.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.008139/0.6348, allocations: 4.377 MB / 0.6434 GB, free: 14.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.6348, allocations: 16 kB / 0.6434 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/0.6349, allocations: 20 kB / 0.6434 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/0.6373, allocations: 1 MB / 0.6444 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.6392, allocations: 0.5109 MB / 0.6449 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/0.6574, allocations: 16.78 MB / 0.6613 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.6601, allocations: 159.8 kB / 0.6614 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004756/0.6605, allocations: 108 kB / 0.6615 GB, free: 10.91 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.0009712/0.6615, allocations: 386.1 kB / 0.6619 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008484/0.6624, allocations: 278.2 kB / 0.6622 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007716/0.6701, allocations: 3.848 MB / 0.6659 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.6701, allocations: 20 kB / 0.666 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.071e-05/0.6701, allocations: 8 kB / 0.666 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/0.6701, allocations: 11.91 kB / 0.666 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.6874, allocations: 8.29 MB / 0.6741 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.6874, allocations: 8 kB / 0.6741 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.6888, allocations: 336.3 kB / 0.6744 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002879/0.6917, allocations: 1.033 MB / 0.6754 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000309/0.692, allocations: 63.97 kB / 0.6755 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01825/0.7103, allocations: 16.44 MB / 0.6915 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.7103, allocations: 8 kB / 0.6915 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/0.7214, allocations: 5.665 MB / 0.6971 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/0.7234, allocations: 0.537 MB / 0.6976 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009074/0.7243, allocations: 63.97 kB / 0.6976 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/0.7268, allocations: 139.9 kB / 0.6978 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006751/0.7274, allocations: 201.5 kB / 0.698 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002934/0.7277, allocations: 71.97 kB / 0.698 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003533/0.7313, allocations: 1.534 MB / 0.6995 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7313, allocations: 0 / 0.6995 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007156/0.7384, allocations: 1.457 MB / 0.701 GB, free: 1.293 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.01142/0.7498, allocations: 6.337 MB / 0.7072 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01676/0.7666, allocations: 9.568 MB / 0.7165 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.7666, allocations: 0.875 kB / 0.7165 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.1966/0.9632, allocations: 4.024 MB / 0.7204 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/0.9671, allocations: 0.7172 MB / 0.7211 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.04434/1.011, allocations: 23.28 MB / 0.7439 GB, free: 171.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003945/1.015, allocations: 2.866 MB / 0.7467 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002449/1.018, allocations: 0.7807 MB / 0.7474 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/1.02, allocations: 1.617 MB / 0.749 GB, free: 168.8 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/1.02, allocations: 0 / 0.749 GB, free: 168.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1848/1.205, allocations: 86.08 MB / 0.8331 GB, free: 91.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.84/19.04, allocations: 3.984 kB / 0.8331 GB, free: 91.72 MB / 0.545 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_fmu --startTime=0 --stopTime=3 --stepSize=0.0006 --timeout=50 --tolerance=0.0001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.972859628964216] Failed to read output from testmodel.py, exit status != 0: 19.261435170075856 19.28131889 18.846764475 Calling exit ...