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.001724/0.001724, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002217/0.002217, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.04526/0.04526, allocations: 8.553 MB / 318.1 MB, free: 15.98 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.001918/0.001918, allocations: 70.64 kB / 442.5 MB, free: 40.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08834, allocations: 55.38 MB / 497.8 MB, free: 7.137 MB / 350.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.01726/0.1056, allocations: 16.46 MB / 0.5022 GB, free: 6.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008985/0.1146, allocations: 4.083 MB / 0.5062 GB, free: 2.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.1174, allocations: 127.2 kB / 0.5063 GB, free: 2.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.1198, allocations: 0.8412 MB / 0.5072 GB, free: 1.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004369/0.1242, allocations: 1.347 MB / 0.5085 GB, free: 184 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.1262, allocations: 0.8563 MB / 0.5093 GB, free: 15.32 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.006817/0.1331, allocations: 4.982 MB / 0.5142 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004439/0.1375, allocations: 3.158 MB / 0.5173 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.1411, allocations: 2.301 MB / 0.5195 GB, free: 4.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004553/0.1457, allocations: 2.794 MB / 0.5222 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.147, allocations: 0.6094 MB / 0.5228 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.1486, allocations: 0.7108 MB / 0.5235 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001906/0.1505, allocations: 1.656 MB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004078/0.1546, allocations: 2.688 MB / 0.5278 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.165, allocations: 7.855 MB / 0.5354 GB, free: 4.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.165, allocations: 0 / 0.5354 GB, free: 4.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.165, allocations: 0 / 0.5354 GB, free: 4.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002297/0.1652, allocations: 0 / 0.5354 GB, free: 4.398 MB / 398.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.0139/0.1791, allocations: 5.189 MB / 0.5405 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1792, allocations: 12.03 kB / 0.5405 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001285/0.1793, allocations: 112.8 kB / 0.5406 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001017/0.1803, allocations: 0.5927 MB / 0.5412 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.1822, allocations: 0.5759 MB / 0.5418 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005347/0.1876, allocations: 2.707 MB / 0.5444 GB, free: 11.06 MB / 414.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.000412/0.188, allocations: 391.3 kB / 0.5448 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007098/0.1887, allocations: 428 kB / 0.5452 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/0.2015, allocations: 5.452 MB / 0.5505 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.2016, allocations: 11.95 kB / 0.5505 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004599/0.2021, allocations: 172 kB / 0.5507 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002177/0.2023, allocations: 208.4 kB / 0.5509 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009518/0.2118, allocations: 4.343 MB / 0.5551 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03275/0.2446, allocations: 16.23 MB / 0.571 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.2489, allocations: 2.625 MB / 0.5736 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.2521, allocations: 1.649 MB / 0.5752 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.2524, allocations: 135 kB / 0.5753 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/0.2525, allocations: 60.56 kB / 0.5754 GB, free: 10.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.168e-06/0.2525, allocations: 0 / 0.5754 GB, free: 10.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=213): time 0.2605/0.513, allocations: 13.63 MB / 0.5887 GB, free: 84.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.513, allocations: 130.9 kB / 0.5888 GB, free: 84.81 MB / 446.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.003313/0.5164, allocations: 2.266 MB / 0.591 GB, free: 84.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003247/0.5167, allocations: 62.02 kB / 0.5911 GB, free: 84.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.5178, allocations: 1.923 MB / 0.5929 GB, free: 82.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/0.5184, allocations: 0.766 MB / 0.5937 GB, free: 82.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007089/0.5192, allocations: 452.6 kB / 0.5941 GB, free: 82.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.5192, allocations: 306.8 kB / 0.5944 GB, free: 81.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.5214, allocations: 1.241 MB / 0.5956 GB, free: 81.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/0.5238, allocations: 1.934 MB / 0.5975 GB, free: 80.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/0.5372, allocations: 6.202 MB / 0.6036 GB, free: 77.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.781e-05/0.5372, allocations: 3.938 kB / 0.6036 GB, free: 77.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.007438/0.5447, allocations: 4.576 MB / 0.608 GB, free: 75.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.5447, allocations: 15.47 kB / 0.6081 GB, free: 75.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/0.5447, allocations: 23.5 kB / 0.6081 GB, free: 75.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.5468, allocations: 0.9989 MB / 0.6091 GB, free: 75.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.5485, allocations: 0.5242 MB / 0.6096 GB, free: 75.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.5613, allocations: 17.59 MB / 0.6267 GB, free: 58.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.564, allocations: 185 kB / 0.6269 GB, free: 58.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.5642, allocations: 104 kB / 0.627 GB, free: 58.3 MB / 446.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.003427/0.5676, allocations: 2.299 MB / 0.6293 GB, free: 56.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001728/0.5694, allocations: 1.915 MB / 0.6311 GB, free: 53.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01138/0.5807, allocations: 6.126 MB / 0.6371 GB, free: 47.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.681e-05/0.5808, allocations: 8 kB / 0.6371 GB, free: 47.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.006301/0.5871, allocations: 4.532 MB / 0.6416 GB, free: 42.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5871, allocations: 15.94 kB / 0.6416 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.5871, allocations: 24 kB / 0.6416 GB, free: 42.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/0.5891, allocations: 0.9936 MB / 0.6426 GB, free: 41.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.5907, allocations: 0.5148 MB / 0.6431 GB, free: 41.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.6024, allocations: 17.6 MB / 0.6603 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/0.605, allocations: 159.8 kB / 0.6604 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/0.6053, allocations: 104 kB / 0.6605 GB, free: 22.24 MB / 446.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: 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.0007122/0.606, allocations: 371.7 kB / 0.6609 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/0.6065, allocations: 282.2 kB / 0.6611 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/0.6122, allocations: 3.988 MB / 0.665 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.6123, allocations: 23.61 kB / 0.665 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.6123, allocations: 8 kB / 0.6651 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.6123, allocations: 7.969 kB / 0.6651 GB, free: 17.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.6244, allocations: 8.472 MB / 0.6733 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.6244, allocations: 8.875 kB / 0.6733 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.6257, allocations: 343.1 kB / 0.6737 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/0.628, allocations: 1.044 MB / 0.6747 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.6281, allocations: 75.95 kB / 0.6748 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/0.6437, allocations: 17.24 MB / 0.6916 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.171e-05/0.6437, allocations: 8 kB / 0.6916 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.6539, allocations: 5.817 MB / 0.6973 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/0.6556, allocations: 0.6084 MB / 0.6979 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004149/0.656, allocations: 55.98 kB / 0.6979 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.6575, allocations: 151.8 kB / 0.6981 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004808/0.658, allocations: 185.5 kB / 0.6983 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.6582, allocations: 75.97 kB / 0.6983 GB, free: 13.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002546/0.6607, allocations: 1.53 MB / 0.6998 GB, free: 12.44 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6607, allocations: 0 / 0.6998 GB, free: 12.44 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005267/0.666, allocations: 1.449 MB / 0.7012 GB, free: 10.99 MB / 478.1 MB 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.01003/0.676, allocations: 6.492 MB / 0.7076 GB, free: 4.309 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01645/0.6925, allocations: 9.871 MB / 0.7172 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/0.6925, allocations: 0 / 0.7172 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007038/0.6995, allocations: 4.179 MB / 0.7213 GB, free: 5.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/0.7036, allocations: 0.7211 MB / 0.722 GB, free: 5.039 MB / 494.1 MB [/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.04353/0.7471, allocations: 23.39 MB / 0.7448 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/0.7504, allocations: 2.874 MB / 0.7477 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002536/0.7529, allocations: 0.7797 MB / 0.7484 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/0.7552, allocations: 1.612 MB / 0.75 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.7552, allocations: 8 kB / 0.75 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4357/1.191, allocations: 83.58 MB / 0.8316 GB, free: 157.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.37/17.56, allocations: 16.23 kB / 0.8316 GB, free: 157.7 MB / 0.545 GB " [Timeout remaining time 642] (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: 22.203630739997607] Failed to read output from testmodel.py, exit status != 0: 17.758994926989544 17.771801559 17.604457734 Calling exit ...