Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008855/0.0008855, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008478/0.0008478, allocations: 214.5 kB / 22.25 MB, free: 3.578 MB / 13.93 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 0.9064/0.9064, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.02796/0.02796, allocations: 8.544 MB / 321 MB, free: 9.414 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me_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.001695/0.001695, allocations: 71.88 kB / 448.4 MB, free: 38.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07344/0.07514, allocations: 55.43 MB / 0.492 GB, free: 14.52 MB / 362.7 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.01095/0.08608, allocations: 14.2 MB / 0.5059 GB, free: 264 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006743/0.09283, allocations: 3.97 MB / 0.5098 GB, free: 12.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.09445, allocations: 123.2 kB / 0.5099 GB, free: 12.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.09606, allocations: 0.8179 MB / 0.5107 GB, free: 11.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.09863, allocations: 1.363 MB / 0.512 GB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.09984, allocations: 0.8647 MB / 0.5129 GB, free: 9.098 MB / 378.7 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.004064/0.1039, allocations: 4.985 MB / 0.5177 GB, free: 4.094 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.1061, allocations: 2.416 MB / 0.5201 GB, free: 1.594 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.1082, allocations: 2.294 MB / 0.5223 GB, free: 15.29 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.1111, allocations: 2.607 MB / 0.5249 GB, free: 12.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009141/0.112, allocations: 0.6133 MB / 0.5255 GB, free: 12.06 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008628/0.1129, allocations: 0.699 MB / 0.5262 GB, free: 11.36 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008581/0.1137, allocations: 1.667 MB / 0.5278 GB, free: 9.691 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.1155, allocations: 2.171 MB / 0.5299 GB, free: 7.512 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004625/0.1201, allocations: 7.906 MB / 0.5376 GB, free: 15.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1201, allocations: 0 / 0.5376 GB, free: 15.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1201, allocations: 0 / 0.5376 GB, free: 15.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001826/0.1203, allocations: 0 / 0.5376 GB, free: 15.58 MB / 410.7 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.006334/0.1267, allocations: 5.106 MB / 0.5426 GB, free: 10.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1267, allocations: 8.031 kB / 0.5426 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004595/0.1272, allocations: 0.5887 MB / 0.5432 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008848/0.128, allocations: 0.5875 MB / 0.5438 GB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003142/0.1312, allocations: 2.616 MB / 0.5463 GB, free: 6.551 MB / 410.7 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.0002424/0.1314, allocations: 443.3 kB / 0.5468 GB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/0.1318, allocations: 428 kB / 0.5472 GB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1539/0.2857, allocations: 5.695 MB / 0.5527 GB, free: 54.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.2859, allocations: 14.84 kB / 0.5527 GB, free: 54.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005034/0.2864, allocations: 177.8 kB / 0.5529 GB, free: 54.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000184/0.2865, allocations: 202.5 kB / 0.5531 GB, free: 54.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005955/0.2925, allocations: 4.333 MB / 0.5573 GB, free: 53.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01595/0.3085, allocations: 14.64 MB / 0.5716 GB, free: 45.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.3105, allocations: 2.17 MB / 0.5738 GB, free: 44.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.312, allocations: 1.633 MB / 0.5754 GB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.3121, allocations: 57.95 kB / 0.5754 GB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.3121, allocations: 56.5 kB / 0.5755 GB, free: 43.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 3.787e-06/0.3121, allocations: 0 / 0.5755 GB, free: 43.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=213): time 0.01498/0.3271, allocations: 12.81 MB / 0.588 GB, free: 30.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.3272, allocations: 132.8 kB / 0.5881 GB, free: 30.45 MB / 410.7 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.001909/0.3291, allocations: 2.307 MB / 0.5904 GB, free: 28.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.3292, allocations: 65.7 kB / 0.5904 GB, free: 28.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005207/0.3297, allocations: 1.925 MB / 0.5923 GB, free: 26.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.33, allocations: 0.7587 MB / 0.593 GB, free: 25.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003873/0.3304, allocations: 457 kB / 0.5935 GB, free: 25.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.289e-05/0.3304, allocations: 310.9 kB / 0.5938 GB, free: 24.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3314, allocations: 1.241 MB / 0.595 GB, free: 23.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.3327, allocations: 1.977 MB / 0.5969 GB, free: 21.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006548/0.3392, allocations: 6.194 MB / 0.603 GB, free: 14.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.3392, allocations: 8 kB / 0.603 GB, free: 14.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.003922/0.3431, allocations: 4.432 MB / 0.6073 GB, free: 10.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3432, allocations: 16 kB / 0.6073 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.3432, allocations: 22.62 kB / 0.6073 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.3443, allocations: 0.9976 MB / 0.6083 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/0.3451, allocations: 0.5249 MB / 0.6088 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008505/0.3536, allocations: 16.67 MB / 0.6251 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.3552, allocations: 179.6 kB / 0.6253 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.3553, allocations: 112 kB / 0.6254 GB, free: 6.82 MB / 426.7 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.002732/0.3581, allocations: 2.292 MB / 0.6276 GB, free: 4.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001559/0.3596, allocations: 1.958 MB / 0.6295 GB, free: 2.258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007709/0.3673, allocations: 6.134 MB / 0.6355 GB, free: 11.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.428e-05/0.3673, allocations: 4 kB / 0.6355 GB, free: 11.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.004995/0.3723, allocations: 4.393 MB / 0.6398 GB, free: 7.391 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3723, allocations: 19.94 kB / 0.6398 GB, free: 7.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.3724, allocations: 20 kB / 0.6398 GB, free: 7.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.3736, allocations: 0.9922 MB / 0.6408 GB, free: 6.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009142/0.3745, allocations: 0.5109 MB / 0.6413 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009964/0.3845, allocations: 16.68 MB / 0.6576 GB, free: 4.246 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.3859, allocations: 155.8 kB / 0.6578 GB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.3861, allocations: 104 kB / 0.6579 GB, free: 3.992 MB / 458.7 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.0004881/0.3865, allocations: 381.3 kB / 0.6582 GB, free: 3.621 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.3868, allocations: 278.3 kB / 0.6585 GB, free: 3.348 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.3911, allocations: 3.844 MB / 0.6622 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.3911, allocations: 20 kB / 0.6623 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3911, allocations: 8 kB / 0.6623 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.3911, allocations: 7.969 kB / 0.6623 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008613/0.3997, allocations: 7.88 MB / 0.67 GB, free: 7.406 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/0.3997, allocations: 8 kB / 0.67 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007066/0.4004, allocations: 335.4 kB / 0.6703 GB, free: 7.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.4018, allocations: 1.034 MB / 0.6713 GB, free: 6.008 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.4019, allocations: 67.95 kB / 0.6714 GB, free: 5.941 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009769/0.4117, allocations: 16.34 MB / 0.6873 GB, free: 4.711 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4117, allocations: 8 kB / 0.6873 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005641/0.4174, allocations: 5.668 MB / 0.6929 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.4184, allocations: 0.5293 MB / 0.6934 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/0.4188, allocations: 63.97 kB / 0.6934 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007325/0.4196, allocations: 143.9 kB / 0.6936 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.4199, allocations: 201.4 kB / 0.6938 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.894e-05/0.42, allocations: 67.97 kB / 0.6938 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00155/0.4215, allocations: 1.534 MB / 0.6953 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4215, allocations: 0 / 0.6953 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003037/0.4245, allocations: 1.461 MB / 0.6968 GB, free: 10.89 MB / 0.4948 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.005873/0.4304, allocations: 6.337 MB / 0.703 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008851/0.4393, allocations: 9.573 MB / 0.7123 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.4393, allocations: 0 / 0.7123 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003631/0.4429, allocations: 4.03 MB / 0.7162 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.445, allocations: 0.7161 MB / 0.7169 GB, free: 5.676 MB / 0.5105 GB [/var/lib/jenkins/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.02443/0.4694, allocations: 23.26 MB / 0.7396 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.4713, allocations: 2.344 MB / 0.7419 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001737/0.473, allocations: 0.7836 MB / 0.7427 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/0.4743, allocations: 1.612 MB / 0.7443 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of SimCode: time 9.31e-07/0.4743, allocations: 0 / 0.7443 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3507/0.8251, allocations: 88.2 MB / 0.8304 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/9.343, allocations: 9.984 kB / 0.8304 GB, free: 147.7 MB / 0.5573 GB " [Timeout remaining time 651] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_fmu --startTime=0 --stopTime=3 --stepSize=0.0006 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-cvode.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3 --stepSize=0.0006 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_OMSimulator-cs-cvode.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-euler.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3 --stepSize=0.0006 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_OMSimulator-cs-euler.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy_res.csv --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0006 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 12.867470230907202]