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.00127/0.00127, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00165/0.00165, allocations: 215.9 kB / 23.03 MB, free: 4.949 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04287/0.04287, allocations: 8.541 MB / 321.8 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 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.89 kB / 447.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1063, allocations: 55.42 MB / 0.4913 GB, free: 8.148 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.01893/0.1252, allocations: 14.18 MB / 0.5051 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008219/0.1334, allocations: 3.974 MB / 0.509 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.1358, allocations: 123.2 kB / 0.5091 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.138, allocations: 0.8102 MB / 0.5099 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.1431, allocations: 1.367 MB / 0.5112 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.1461, allocations: 0.86 MB / 0.5121 GB, free: 2.746 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.2269/0.373, allocations: 4.977 MB / 0.5169 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003519/0.3765, allocations: 2.516 MB / 0.5194 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.3806, allocations: 2.293 MB / 0.5216 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005748/0.3864, allocations: 2.797 MB / 0.5244 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003204/0.3896, allocations: 0.6093 MB / 0.525 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005772/0.3954, allocations: 0.7017 MB / 0.5256 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003778/0.3992, allocations: 1.663 MB / 0.5273 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007255/0.4064, allocations: 2.171 MB / 0.5294 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.4175, allocations: 7.917 MB / 0.5371 GB, free: 5.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4175, allocations: 0 / 0.5371 GB, free: 5.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4175, allocations: 0 / 0.5371 GB, free: 5.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003226/0.4178, allocations: 0.5625 kB / 0.5371 GB, free: 5.203 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.0137/0.4315, allocations: 5.098 MB / 0.5421 GB, free: 1.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.4316, allocations: 14.06 kB / 0.5421 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001864/0.4318, allocations: 113.6 kB / 0.5422 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00106/0.4328, allocations: 0.5864 MB / 0.5428 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.4347, allocations: 0.5833 MB / 0.5434 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00604/0.4408, allocations: 2.631 MB / 0.5459 GB, free: 15.45 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.0005446/0.4413, allocations: 440.3 kB / 0.5464 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.4428, allocations: 424.8 kB / 0.5468 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.4578, allocations: 5.706 MB / 0.5523 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001521/0.458, allocations: 17.69 kB / 0.5524 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006231/0.4586, allocations: 174.5 kB / 0.5525 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/0.4588, allocations: 205.9 kB / 0.5527 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.4689, allocations: 4.341 MB / 0.557 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03409/0.503, allocations: 14.64 MB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.5072, allocations: 2.163 MB / 0.5734 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003122/0.5103, allocations: 1.649 MB / 0.575 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.5106, allocations: 53.95 kB / 0.575 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/0.5107, allocations: 64.81 kB / 0.5751 GB, free: 6.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 5.22e-06/0.5107, allocations: 0 / 0.5751 GB, free: 6.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.03471/0.5454, allocations: 12.8 MB / 0.5876 GB, free: 9.707 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5455, allocations: 128.8 kB / 0.5877 GB, free: 9.555 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.003998/0.5495, allocations: 2.279 MB / 0.5899 GB, free: 7.254 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004013/0.5499, allocations: 61.7 kB / 0.59 GB, free: 7.188 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001618/0.5515, allocations: 1.926 MB / 0.5919 GB, free: 5.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009268/0.5524, allocations: 0.765 MB / 0.5926 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007991/0.5532, allocations: 453 kB / 0.5931 GB, free: 4.047 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5533, allocations: 305.1 kB / 0.5934 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.5555, allocations: 1.245 MB / 0.5946 GB, free: 2.492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00275/0.5582, allocations: 1.984 MB / 0.5965 GB, free: 208 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/0.5738, allocations: 6.187 MB / 0.6025 GB, free: 9.805 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.77e-05/0.5739, allocations: 8 kB / 0.6026 GB, free: 9.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.01157/0.5855, allocations: 4.429 MB / 0.6069 GB, free: 5.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.5855, allocations: 16.56 kB / 0.6069 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-05/0.5856, allocations: 20 kB / 0.6069 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/0.5881, allocations: 1 MB / 0.6079 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.5903, allocations: 0.5232 MB / 0.6084 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/0.6091, allocations: 16.68 MB / 0.6247 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.6121, allocations: 171.8 kB / 0.6249 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/0.6125, allocations: 108 kB / 0.625 GB, free: 2.164 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.004698/0.6172, allocations: 2.29 MB / 0.6272 GB, free: 15.87 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002719/0.6199, allocations: 1.967 MB / 0.6291 GB, free: 13.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01447/0.6344, allocations: 6.121 MB / 0.6351 GB, free: 7.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.223e-05/0.6344, allocations: 4 kB / 0.6351 GB, free: 7.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.008923/0.6433, allocations: 4.39 MB / 0.6394 GB, free: 2.988 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.6434, allocations: 16.62 kB / 0.6394 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/0.6434, allocations: 20 kB / 0.6394 GB, free: 2.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002519/0.6459, allocations: 0.9993 MB / 0.6404 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/0.6481, allocations: 0.5217 MB / 0.6409 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/0.6661, allocations: 16.68 MB / 0.6572 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/0.6688, allocations: 163.9 kB / 0.6574 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000365/0.6692, allocations: 108 kB / 0.6575 GB, free: 15.69 MB / 0.4981 GB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 4 (logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,actuator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%), (2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007572/0.6699, allocations: 379.4 kB / 0.6578 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/0.6706, allocations: 278.3 kB / 0.6581 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007713/0.6783, allocations: 3.836 MB / 0.6618 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.6783, allocations: 23.98 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/0.6783, allocations: 8 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/0.6784, allocations: 7.969 kB / 0.6619 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/0.6976, allocations: 7.881 MB / 0.6696 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.6976, allocations: 4 kB / 0.6696 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.6991, allocations: 335.4 kB / 0.6699 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.7019, allocations: 1.034 MB / 0.6709 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/0.7021, allocations: 67.95 kB / 0.671 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/0.7196, allocations: 16.32 MB / 0.6869 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/0.7196, allocations: 11.94 kB / 0.6869 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009864/0.7295, allocations: 5.679 MB / 0.6925 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.7311, allocations: 0.5293 MB / 0.693 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000494/0.7316, allocations: 59.97 kB / 0.693 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.7332, allocations: 147.9 kB / 0.6932 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004737/0.7337, allocations: 197.4 kB / 0.6934 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.7338, allocations: 71.97 kB / 0.6934 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002537/0.7364, allocations: 1.538 MB / 0.6949 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7364, allocations: 4 kB / 0.6949 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006102/0.7425, allocations: 1.453 MB / 0.6964 GB, free: 6.758 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.01111/0.7536, allocations: 6.335 MB / 0.7025 GB, free: 280 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01703/0.7706, allocations: 9.57 MB / 0.7119 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/0.7706, allocations: 8.125 kB / 0.7119 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006874/0.7775, allocations: 4.027 MB / 0.7158 GB, free: 2.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004681/0.7822, allocations: 0.7202 MB / 0.7165 GB, free: 1.543 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.2583/1.04, allocations: 23.25 MB / 0.7392 GB, free: 175.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003024/1.043, allocations: 2.34 MB / 0.7415 GB, free: 175 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002612/1.046, allocations: 0.7924 MB / 0.7423 GB, free: 174.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00229/1.048, allocations: 1.616 MB / 0.7439 GB, free: 173.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.292e-06/1.048, allocations: 0 / 0.7439 GB, free: 173.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1936/1.242, allocations: 88.44 MB / 0.8302 GB, free: 94.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.98/19.22, allocations: 3.938 kB / 0.8302 GB, free: 94.72 MB / 0.545 GB " [Timeout remaining time 641] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_fmu --startTime=0 --stopTime=3 --stepSize=0.0006 --timeout=50 --tolerance=0.0001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.175216856994666] Failed to read output from testmodel.py, exit status != 0: 19.442900089081377 19.460842464 19.039597905 Calling exit ...