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.001959/0.001959, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002475/0.002475, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.816 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.04442/0.04442, allocations: 8.541 MB / 321 MB, free: 10.43 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 79.89 kB / 446.9 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1025, allocations: 55.41 MB / 0.4905 GB, free: 8.16 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.01923/0.1217, allocations: 14.2 MB / 0.5044 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009066/0.1308, allocations: 3.974 MB / 0.5083 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002659/0.1334, allocations: 131.2 kB / 0.5084 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.1361, allocations: 0.8141 MB / 0.5092 GB, free: 4.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.1408, allocations: 1.355 MB / 0.5105 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.1432, allocations: 0.8621 MB / 0.5114 GB, free: 2.73 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.2097/0.353, allocations: 4.978 MB / 0.5162 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003441/0.3564, allocations: 2.411 MB / 0.5186 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.3603, allocations: 2.294 MB / 0.5208 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005567/0.3659, allocations: 2.61 MB / 0.5234 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002019/0.3679, allocations: 0.609 MB / 0.524 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.3704, allocations: 0.6972 MB / 0.5246 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.3724, allocations: 1.662 MB / 0.5263 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004268/0.3767, allocations: 2.17 MB / 0.5284 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.3867, allocations: 7.912 MB / 0.5361 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.3867, allocations: 3.406 kB / 0.5361 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3867, allocations: 3.938 kB / 0.5361 GB, free: 5.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000287/0.387, allocations: 0 / 0.5361 GB, free: 5.504 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.01249/0.3995, allocations: 5.103 MB / 0.5411 GB, free: 2.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3995, allocations: 8.75 kB / 0.5411 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009068/0.4004, allocations: 0.5875 MB / 0.5417 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.4022, allocations: 0.5866 MB / 0.5422 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005982/0.4082, allocations: 2.622 MB / 0.5448 GB, free: 15.76 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.0004168/0.4086, allocations: 442.2 kB / 0.5452 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009358/0.4095, allocations: 426.5 kB / 0.5456 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/0.4221, allocations: 5.708 MB / 0.5512 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.4222, allocations: 20.92 kB / 0.5512 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004434/0.4226, allocations: 176.9 kB / 0.5514 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.4228, allocations: 201.2 kB / 0.5516 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007869/0.4307, allocations: 4.338 MB / 0.5558 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02751/0.4582, allocations: 14.63 MB / 0.5701 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/0.462, allocations: 2.164 MB / 0.5722 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/0.4651, allocations: 1.646 MB / 0.5738 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.4654, allocations: 53.95 kB / 0.5739 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.4654, allocations: 56.56 kB / 0.5739 GB, free: 6.887 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 4.278e-06/0.4654, allocations: 0 / 0.5739 GB, free: 6.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.03291/0.4983, allocations: 12.81 MB / 0.5865 GB, free: 10.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/0.4984, allocations: 132.1 kB / 0.5866 GB, free: 9.973 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.003731/0.5022, allocations: 2.309 MB / 0.5888 GB, free: 7.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002582/0.5024, allocations: 61.7 kB / 0.5889 GB, free: 7.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.5039, allocations: 1.927 MB / 0.5908 GB, free: 5.637 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007388/0.5047, allocations: 0.7589 MB / 0.5915 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008289/0.5055, allocations: 457 kB / 0.592 GB, free: 4.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5056, allocations: 311.1 kB / 0.5922 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.5078, allocations: 1.238 MB / 0.5935 GB, free: 2.883 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00277/0.5106, allocations: 1.992 MB / 0.5954 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/0.5248, allocations: 6.197 MB / 0.6015 GB, free: 10.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-05/0.5249, allocations: 4 kB / 0.6015 GB, free: 10.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.008495/0.5333, allocations: 4.425 MB / 0.6058 GB, free: 5.863 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.5334, allocations: 12 kB / 0.6058 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/0.5334, allocations: 23.94 kB / 0.6058 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/0.5358, allocations: 1.007 MB / 0.6068 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.5378, allocations: 0.5183 MB / 0.6073 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/0.5556, allocations: 16.67 MB / 0.6236 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.5582, allocations: 179.7 kB / 0.6238 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/0.5584, allocations: 108 kB / 0.6239 GB, free: 2.551 MB / 462.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004221/0.5627, allocations: 2.294 MB / 0.6261 GB, free: 260 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002597/0.5653, allocations: 1.965 MB / 0.628 GB, free: 13.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01368/0.5789, allocations: 6.122 MB / 0.634 GB, free: 7.656 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.205e-05/0.579, allocations: 12 kB / 0.634 GB, free: 7.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.008368/0.5873, allocations: 4.379 MB / 0.6383 GB, free: 3.379 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.5874, allocations: 15.94 kB / 0.6383 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.16e-05/0.5874, allocations: 27.98 kB / 0.6383 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002331/0.5897, allocations: 0.9971 MB / 0.6393 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.5916, allocations: 0.5096 MB / 0.6398 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/0.6092, allocations: 16.68 MB / 0.6561 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/0.6118, allocations: 155.8 kB / 0.6562 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002501/0.612, allocations: 108 kB / 0.6563 GB, free: 88 kB / 494.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.0007296/0.6127, allocations: 386.5 kB / 0.6567 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005501/0.6133, allocations: 282.2 kB / 0.657 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007124/0.6204, allocations: 3.834 MB / 0.6607 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.6204, allocations: 20 kB / 0.6607 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.6204, allocations: 8 kB / 0.6607 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/0.6205, allocations: 15.95 kB / 0.6608 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.636, allocations: 7.87 MB / 0.6684 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/0.636, allocations: 12.06 kB / 0.6685 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.6376, allocations: 335.6 kB / 0.6688 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002746/0.6403, allocations: 1.037 MB / 0.6698 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003742/0.6407, allocations: 63.97 kB / 0.6699 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/0.6586, allocations: 16.33 MB / 0.6858 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/0.6586, allocations: 11.94 kB / 0.6858 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/0.6689, allocations: 5.672 MB / 0.6914 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/0.6711, allocations: 0.5332 MB / 0.6919 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000637/0.6717, allocations: 59.98 kB / 0.6919 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.6734, allocations: 143.8 kB / 0.6921 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000452/0.6738, allocations: 201.4 kB / 0.6923 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.674, allocations: 71.97 kB / 0.6923 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002719/0.6767, allocations: 1.53 MB / 0.6938 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6767, allocations: 4 kB / 0.6938 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00555/0.6823, allocations: 1.453 MB / 0.6952 GB, free: 7.137 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.009933/0.6922, allocations: 6.33 MB / 0.7014 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01566/0.7078, allocations: 9.576 MB / 0.7108 GB, free: 6.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/0.7079, allocations: 4 kB / 0.7108 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006469/0.7143, allocations: 4.024 MB / 0.7147 GB, free: 2.633 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/0.7181, allocations: 0.7212 MB / 0.7154 GB, free: 1.926 MB / 0.545 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.239/0.9571, allocations: 23.25 MB / 0.7381 GB, free: 175.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/0.9596, allocations: 2.344 MB / 0.7404 GB, free: 175.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002247/0.9619, allocations: 0.7854 MB / 0.7412 GB, free: 175.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/0.9634, allocations: 1.613 MB / 0.7428 GB, free: 173.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.9634, allocations: 3.938 kB / 0.7428 GB, free: 173.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1543/1.118, allocations: 88.09 MB / 0.8288 GB, free: 95.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.51, allocations: 8.062 kB / 0.8288 GB, free: 95.11 MB / 0.545 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0006 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.50880411826074] Failed to read output from testmodel.py, exit status != 0: 16.675146992318332 16.695600172 16.304899145 Calling exit ...