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.0008704/0.0008704, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009819/0.0009819, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.899/0.899, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.02474/0.02474, allocations: 6.463 MB / 265.7 MB, free: 6.836 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: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 391.6 MB, free: 5.711 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.336e-05, allocations: 6.219 kB / 391.6 MB, free: 5.703 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.01263/0.01265, allocations: 14.21 MB / 405.8 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007142/0.0198, allocations: 3.99 MB / 409.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.02139, allocations: 127.2 kB / 410 MB, free: 3.297 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.02275, allocations: 0.8139 MB / 410.8 MB, free: 2.477 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.02533, allocations: 1.408 MB / 412.2 MB, free: 1.059 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.02664, allocations: 0.8698 MB / 413.1 MB, free: 196 kB / 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.003921/0.03056, allocations: 5.153 MB / 418.2 MB, free: 11.02 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.03266, allocations: 2.412 MB / 420.6 MB, free: 8.527 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00289/0.03555, allocations: 3.364 MB / 424 MB, free: 5.156 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.03752, allocations: 2.338 MB / 426.3 MB, free: 2.812 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005268/0.03805, allocations: 0.6133 MB / 426.9 MB, free: 2.199 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.03878, allocations: 0.7029 MB / 427.6 MB, free: 1.496 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009458/0.03973, allocations: 1.698 MB / 429.3 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.04126, allocations: 1.855 MB / 431.2 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005392/0.04666, allocations: 7.965 MB / 439.2 MB, free: 5.945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.04666, allocations: 0 / 439.2 MB, free: 5.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04666, allocations: 0 / 439.2 MB, free: 5.945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001153/0.04678, allocations: 0 / 439.2 MB, free: 5.945 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.006202/0.05298, allocations: 5.059 MB / 444.2 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.05304, allocations: 12.03 kB / 444.2 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005533/0.05359, allocations: 0.5888 MB / 444.8 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1521/0.2057, allocations: 0.5829 MB / 445.4 MB, free: 85.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.2089, allocations: 2.61 MB / 448 MB, free: 85.02 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.0002002/0.2091, allocations: 438.3 kB / 448.4 MB, free: 84.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003525/0.2094, allocations: 432.9 kB / 448.9 MB, free: 84.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00509/0.2145, allocations: 5.705 MB / 454.6 MB, free: 82.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.76e-05/0.2146, allocations: 17.45 kB / 454.6 MB, free: 82.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.2148, allocations: 178 kB / 454.8 MB, free: 81.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.2149, allocations: 204.5 kB / 455 MB, free: 81.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00505/0.22, allocations: 4.335 MB / 459.3 MB, free: 80.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.2381, allocations: 14.64 MB / 473.9 MB, free: 72.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.2409, allocations: 2.157 MB / 476.1 MB, free: 71.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.2429, allocations: 1.647 MB / 477.7 MB, free: 71.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.2433, allocations: 55.89 kB / 477.8 MB, free: 71.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.2433, allocations: 66 kB / 477.9 MB, free: 71.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.538e-06/0.2433, allocations: 0 / 477.9 MB, free: 71.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=213): time 0.01985/0.2632, allocations: 12.8 MB / 490.7 MB, free: 67.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.2632, allocations: 130.1 kB / 490.8 MB, free: 67.12 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.002708/0.2659, allocations: 2.305 MB / 493.1 MB, free: 66.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.771e-05/0.266, allocations: 65.52 kB / 493.2 MB, free: 66.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007676/0.2668, allocations: 1.919 MB / 495.1 MB, free: 64.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.2671, allocations: 0.7583 MB / 495.8 MB, free: 64.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004854/0.2676, allocations: 447.2 kB / 496.3 MB, free: 63.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.441e-05/0.2677, allocations: 302 kB / 496.6 MB, free: 63.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.269, allocations: 1.242 MB / 497.8 MB, free: 62.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.2705, allocations: 1.984 MB / 499.8 MB, free: 60.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007018/0.2775, allocations: 6.188 MB / 0.4941 GB, free: 54.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/0.2775, allocations: 11.94 kB / 0.4941 GB, free: 54.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.00457/0.2821, allocations: 4.428 MB / 0.4985 GB, free: 50.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.2821, allocations: 19.28 kB / 0.4985 GB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.2821, allocations: 20 kB / 0.4985 GB, free: 50.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.2833, allocations: 1.002 MB / 0.4995 GB, free: 49.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009061/0.2842, allocations: 0.5219 MB / 0.5 GB, free: 48.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007914/0.2921, allocations: 16.66 MB / 0.5163 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.2937, allocations: 171.8 kB / 0.5164 GB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.2938, allocations: 108 kB / 0.5165 GB, free: 31.11 MB / 410.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.00271/0.2965, allocations: 2.3 MB / 0.5188 GB, free: 28.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00125/0.2978, allocations: 1.966 MB / 0.5207 GB, free: 26.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006616/0.3044, allocations: 6.116 MB / 0.5267 GB, free: 20.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.221e-05/0.3044, allocations: 4 kB / 0.5267 GB, free: 20.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.00392/0.3083, allocations: 4.385 MB / 0.5309 GB, free: 15.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3083, allocations: 16 kB / 0.531 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3083, allocations: 20 kB / 0.531 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.3094, allocations: 0.9991 MB / 0.532 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008391/0.3102, allocations: 0.507 MB / 0.5324 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007895/0.3181, allocations: 16.67 MB / 0.5487 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.3196, allocations: 167.8 kB / 0.5489 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.3197, allocations: 104 kB / 0.549 GB, free: 12.3 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: 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.0005453/0.3202, allocations: 391.4 kB / 0.5494 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/0.3206, allocations: 282.3 kB / 0.5496 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.325, allocations: 3.84 MB / 0.5534 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.325, allocations: 27.94 kB / 0.5534 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.325, allocations: 8 kB / 0.5534 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.3251, allocations: 11.95 kB / 0.5534 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009269/0.3343, allocations: 7.855 MB / 0.5611 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.3343, allocations: 11.98 kB / 0.5611 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.3351, allocations: 331.5 kB / 0.5614 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.3365, allocations: 1.035 MB / 0.5624 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.3367, allocations: 67.95 kB / 0.5625 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009765/0.3464, allocations: 16.32 MB / 0.5784 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.3464, allocations: 8 kB / 0.5784 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005929/0.3524, allocations: 5.657 MB / 0.584 GB, free: 7.234 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009077/0.3533, allocations: 0.5215 MB / 0.5845 GB, free: 6.711 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.3535, allocations: 63.92 kB / 0.5845 GB, free: 6.648 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/0.3543, allocations: 147.8 kB / 0.5847 GB, free: 6.504 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/0.3546, allocations: 193.5 kB / 0.5849 GB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-05/0.3546, allocations: 71.97 kB / 0.5849 GB, free: 6.246 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001564/0.3562, allocations: 1.538 MB / 0.5864 GB, free: 4.695 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3562, allocations: 0 / 0.5864 GB, free: 4.695 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003394/0.3596, allocations: 1.453 MB / 0.5879 GB, free: 3.242 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006021/0.3656, allocations: 6.322 MB / 0.594 GB, free: 12.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0088/0.3744, allocations: 9.571 MB / 0.6034 GB, free: 2.938 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3744, allocations: 7.938 kB / 0.6034 GB, free: 2.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003275/0.3777, allocations: 4.01 MB / 0.6073 GB, free: 14.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.3796, allocations: 0.7216 MB / 0.608 GB, free: 14.07 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1739/0.5536, allocations: 22.9 MB / 0.6304 GB, free: 141.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.5551, allocations: 2.339 MB / 0.6326 GB, free: 141.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001369/0.5565, allocations: 0.7833 MB / 0.6334 GB, free: 141.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.5575, allocations: 1.615 MB / 0.635 GB, free: 140.5 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5575, allocations: 0 / 0.635 GB, free: 140.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/0.6652, allocations: 88.02 MB / 0.7209 GB, free: 83.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.636/10.3, allocations: 10.58 kB / 0.721 GB, free: 83.43 MB / 490.7 MB " [Timeout remaining time 650] (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: 12.480376404710114] Failed to read output from testmodel.py, exit status != 0: 10.43117444217205 10.43857668 10.39056528 Calling exit ...