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.001274/0.001274, allocations: 101.5 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.00144/0.00144, allocations: 217.8 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.06195/0.06195, allocations: 8.554 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 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.002002/0.002002, allocations: 60.05 kB / 447.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1052, allocations: 55.43 MB / 0.4914 GB, free: 8.43 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.02197/0.1271, allocations: 16.51 MB / 0.5075 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.1397, allocations: 4.099 MB / 0.5115 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004583/0.1443, allocations: 127.2 kB / 0.5116 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003967/0.1483, allocations: 0.8335 MB / 0.5124 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006591/0.1548, allocations: 1.363 MB / 0.5138 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.1588, allocations: 0.8654 MB / 0.5146 GB, free: 0.5352 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.2349/0.3936, allocations: 4.982 MB / 0.5195 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.3966, allocations: 2.513 MB / 0.5219 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/0.4008, allocations: 2.291 MB / 0.5242 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006063/0.4068, allocations: 2.804 MB / 0.5269 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002074/0.4089, allocations: 0.6082 MB / 0.5275 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.4116, allocations: 0.7055 MB / 0.5282 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002103/0.4137, allocations: 1.658 MB / 0.5298 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005921/0.4197, allocations: 2.69 MB / 0.5324 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.4304, allocations: 7.859 MB / 0.5401 GB, free: 3.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.4304, allocations: 5.188 kB / 0.5401 GB, free: 3.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4304, allocations: 0 / 0.5401 GB, free: 3.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003025/0.4307, allocations: 0 / 0.5401 GB, free: 3.875 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.01335/0.444, allocations: 5.104 MB / 0.5451 GB, free: 0.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4441, allocations: 9.188 kB / 0.5451 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001621/0.4442, allocations: 115.8 kB / 0.5452 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008569/0.4451, allocations: 0.5878 MB / 0.5458 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.4471, allocations: 0.5862 MB / 0.5464 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006378/0.4535, allocations: 2.623 MB / 0.5489 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.0004243/0.4539, allocations: 438.3 kB / 0.5493 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009353/0.4548, allocations: 430.8 kB / 0.5497 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.4671, allocations: 5.455 MB / 0.5551 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.4672, allocations: 13.61 kB / 0.5551 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004112/0.4676, allocations: 177.6 kB / 0.5552 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/0.4678, allocations: 197.6 kB / 0.5554 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009223/0.477, allocations: 4.348 MB / 0.5597 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03436/0.5113, allocations: 15.94 MB / 0.5753 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/0.5156, allocations: 2.168 MB / 0.5774 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003179/0.5188, allocations: 1.64 MB / 0.579 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.519, allocations: 65.31 kB / 0.579 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/0.5191, allocations: 60.44 kB / 0.5791 GB, free: 2.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 4.478e-06/0.5191, allocations: 0 / 0.5791 GB, free: 2.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.03968/0.5588, allocations: 12.83 MB / 0.5916 GB, free: 5.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.5589, allocations: 124.8 kB / 0.5917 GB, free: 5.418 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.004344/0.5633, allocations: 2.276 MB / 0.594 GB, free: 3.117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005237/0.5638, allocations: 62.55 kB / 0.594 GB, free: 3.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002224/0.566, allocations: 1.917 MB / 0.5959 GB, free: 1.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/0.5673, allocations: 0.7601 MB / 0.5966 GB, free: 380 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/0.569, allocations: 453 kB / 0.5971 GB, free: 15.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.5692, allocations: 309.1 kB / 0.5974 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003282/0.5725, allocations: 1.241 MB / 0.5986 GB, free: 14.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004066/0.5766, allocations: 1.93 MB / 0.6005 GB, free: 12.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02199/0.5986, allocations: 6.191 MB / 0.6065 GB, free: 5.746 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-05/0.5986, allocations: 8 kB / 0.6065 GB, free: 5.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.0103/0.6089, allocations: 4.438 MB / 0.6109 GB, free: 1.328 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.6089, allocations: 12 kB / 0.6109 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/0.609, allocations: 20.62 kB / 0.6109 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/0.6115, allocations: 1.004 MB / 0.6119 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/0.614, allocations: 0.5187 MB / 0.6124 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02093/0.6349, allocations: 16.78 MB / 0.6288 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003478/0.6384, allocations: 179.8 kB / 0.6289 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008418/0.6393, allocations: 108 kB / 0.629 GB, free: 13.81 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.006351/0.6456, allocations: 2.291 MB / 0.6313 GB, free: 11.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003442/0.649, allocations: 1.912 MB / 0.6331 GB, free: 9.305 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01575/0.6648, allocations: 6.128 MB / 0.6391 GB, free: 2.887 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.821e-05/0.6648, allocations: 7.938 kB / 0.6391 GB, free: 2.879 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.009254/0.6741, allocations: 4.377 MB / 0.6434 GB, free: 14.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.6741, allocations: 12 kB / 0.6434 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-05/0.6742, allocations: 20 kB / 0.6434 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.6766, allocations: 0.9998 MB / 0.6444 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.6786, allocations: 0.5148 MB / 0.6449 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.6973, allocations: 16.78 MB / 0.6613 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/0.7006, allocations: 163.9 kB / 0.6615 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006521/0.7012, allocations: 108 kB / 0.6616 GB, free: 10.96 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.0014/0.7026, allocations: 385.8 kB / 0.6619 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/0.7037, allocations: 278.2 kB / 0.6622 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007686/0.7114, allocations: 3.84 MB / 0.6659 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.7114, allocations: 24 kB / 0.666 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/0.7114, allocations: 14.47 kB / 0.666 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/0.7115, allocations: 11.95 kB / 0.666 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.7287, allocations: 8.289 MB / 0.6741 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.7287, allocations: 8 kB / 0.6741 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.7302, allocations: 331.5 kB / 0.6744 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002928/0.7332, allocations: 1.034 MB / 0.6754 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002952/0.7335, allocations: 63.97 kB / 0.6755 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/0.7515, allocations: 16.44 MB / 0.6915 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.7515, allocations: 11.94 kB / 0.6915 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.7616, allocations: 5.672 MB / 0.6971 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/0.7637, allocations: 0.5293 MB / 0.6976 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006392/0.7643, allocations: 59.98 kB / 0.6977 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.7659, allocations: 143.8 kB / 0.6978 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005015/0.7664, allocations: 201.5 kB / 0.698 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.7665, allocations: 71.98 kB / 0.6981 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00252/0.7691, allocations: 1.534 MB / 0.6996 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.7691, allocations: 4 kB / 0.6996 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005541/0.7746, allocations: 1.457 MB / 0.701 GB, free: 1.348 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.009953/0.7846, allocations: 6.335 MB / 0.7072 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01668/0.8012, allocations: 9.568 MB / 0.7165 GB, free: 1.023 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.8012, allocations: 0 / 0.7165 GB, free: 1.023 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2473/1.049, allocations: 4.025 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.004507/1.053, allocations: 0.712 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.04885/1.102, 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.003298/1.105, allocations: 2.871 MB / 0.7467 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002877/1.108, allocations: 0.781 MB / 0.7474 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/1.11, allocations: 1.62 MB / 0.749 GB, free: 168.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.663e-06/1.11, allocations: 0 / 0.749 GB, free: 168.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1827/1.293, allocations: 86.08 MB / 0.8331 GB, free: 91.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.22/19.52, allocations: 10.88 kB / 0.8331 GB, free: 91.77 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.48757235391531] Failed to read output from testmodel.py, exit status != 0: 19.73790884402115 19.75528795 19.321236979 Calling exit ...