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.001989/0.001989, allocations: 79.69 kB / 19.25 MB, free: 0.6211 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.0009479/0.0009479, allocations: 166 kB / 22.56 MB, free: 1.961 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.8789/0.8789, allocations: 177.1 MB / 202.9 MB, free: 5.715 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.02702/0.02702, allocations: 6.474 MB / 265.8 MB, free: 6.797 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.896e-06/2.896e-06, allocations: 0 / 391.8 MB, free: 5.621 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/2.074e-05, allocations: 5.375 kB / 391.8 MB, free: 5.617 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.01191/0.01193, allocations: 14.21 MB / 406.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00892/0.02085, allocations: 3.99 MB / 410 MB, free: 3.336 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.02267, allocations: 123.2 kB / 410.2 MB, free: 3.215 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.02409, allocations: 0.8179 MB / 411 MB, free: 2.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.02679, allocations: 1.404 MB / 412.4 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.02808, allocations: 0.8658 MB / 413.3 MB, free: 112 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.00427/0.03235, allocations: 5.15 MB / 418.4 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.03464, allocations: 2.42 MB / 420.8 MB, free: 8.434 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.03799, allocations: 3.361 MB / 424.2 MB, free: 5.066 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.04012, allocations: 2.338 MB / 426.5 MB, free: 2.723 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005075/0.04063, allocations: 0.6055 MB / 427.1 MB, free: 2.117 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007785/0.04141, allocations: 0.7029 MB / 427.8 MB, free: 1.414 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.04261, allocations: 1.702 MB / 429.5 MB, free: 15.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.04398, allocations: 1.851 MB / 431.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004881/0.04886, allocations: 7.961 MB / 439.3 MB, free: 5.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.04887, allocations: 3.938 kB / 439.3 MB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.04887, allocations: 0 / 439.3 MB, free: 5.863 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.519e-05/0.04895, allocations: 4 kB / 439.4 MB, free: 5.859 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.005972/0.05492, allocations: 5.059 MB / 444.4 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.05497, allocations: 8.031 kB / 444.4 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005114/0.05548, allocations: 0.5888 MB / 445 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1478/0.2032, allocations: 0.581 MB / 445.6 MB, free: 85.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/0.2065, allocations: 2.718 MB / 448.3 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.0001972/0.2067, allocations: 435.2 kB / 448.7 MB, free: 84.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004715/0.2072, allocations: 440 kB / 449.2 MB, free: 84.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005402/0.2126, allocations: 5.701 MB / 454.9 MB, free: 82.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-05/0.2126, allocations: 14.11 kB / 454.9 MB, free: 82.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/0.2129, allocations: 179 kB / 455 MB, free: 81.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.213, allocations: 202.3 kB / 455.2 MB, free: 81.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/0.2172, allocations: 4.339 MB / 459.6 MB, free: 80.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.2289, allocations: 14.92 MB / 474.5 MB, free: 72.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.2309, allocations: 2.17 MB / 476.7 MB, free: 71.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.2324, allocations: 1.651 MB / 478.3 MB, free: 71.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.2326, allocations: 57.36 kB / 478.4 MB, free: 71.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.2326, allocations: 58.91 kB / 478.4 MB, free: 71.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 2.995e-06/0.2326, allocations: 0 / 478.4 MB, free: 71.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=213): time 0.01767/0.2502, allocations: 12.81 MB / 491.3 MB, free: 67.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.2503, allocations: 133.8 kB / 491.4 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.00225/0.2525, allocations: 2.305 MB / 493.7 MB, free: 66.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-05/0.2526, allocations: 65.39 kB / 493.7 MB, free: 66.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.2533, allocations: 1.916 MB / 495.7 MB, free: 64.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/0.2537, allocations: 0.7543 MB / 496.4 MB, free: 64.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/0.2541, allocations: 446.6 kB / 496.9 MB, free: 63.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.703e-05/0.2541, allocations: 305.7 kB / 497.2 MB, free: 63.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.2553, allocations: 1.24 MB / 498.4 MB, free: 62.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.2566, allocations: 1.983 MB / 0.4887 GB, free: 60.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006721/0.2633, allocations: 6.193 MB / 0.4947 GB, free: 54.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.2633, allocations: 8 kB / 0.4947 GB, free: 54.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.003813/0.2671, allocations: 4.432 MB / 0.499 GB, free: 50.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.2671, allocations: 12 kB / 0.499 GB, free: 50.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.2671, allocations: 23.75 kB / 0.4991 GB, free: 50.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.2682, allocations: 0.999 MB / 0.5 GB, free: 49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/0.2691, allocations: 0.5226 MB / 0.5006 GB, free: 48.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007337/0.2765, allocations: 16.66 MB / 0.5168 GB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.2777, allocations: 171.8 kB / 0.517 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.2778, allocations: 112 kB / 0.5171 GB, free: 30.65 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.002458/0.2803, allocations: 2.293 MB / 0.5193 GB, free: 28.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001194/0.2815, allocations: 1.966 MB / 0.5213 GB, free: 26.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006516/0.288, allocations: 6.12 MB / 0.5272 GB, free: 19.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.906e-06/0.288, allocations: 4 kB / 0.5272 GB, free: 19.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.003937/0.2919, allocations: 4.393 MB / 0.5315 GB, free: 15.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2919, allocations: 18.17 kB / 0.5315 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.2919, allocations: 24 kB / 0.5316 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.2931, allocations: 0.9924 MB / 0.5325 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/0.2939, allocations: 0.5109 MB / 0.533 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007772/0.3017, allocations: 16.67 MB / 0.5493 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.3029, allocations: 167.8 kB / 0.5495 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.303, allocations: 108 kB / 0.5496 GB, free: 11.83 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.0005531/0.3036, allocations: 387.9 kB / 0.5499 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.3039, allocations: 286.2 kB / 0.5502 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/0.3084, allocations: 3.832 MB / 0.554 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3084, allocations: 24 kB / 0.554 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.3084, allocations: 8 kB / 0.554 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.3084, allocations: 11.95 kB / 0.554 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008815/0.3172, allocations: 7.875 MB / 0.5617 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.3172, allocations: 8 kB / 0.5617 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.318, allocations: 331.5 kB / 0.562 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.3194, allocations: 1.046 MB / 0.563 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.3195, allocations: 63.97 kB / 0.5631 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009945/0.3294, allocations: 16.32 MB / 0.579 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.3294, allocations: 15.92 kB / 0.579 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006089/0.3355, allocations: 5.642 MB / 0.5846 GB, free: 6.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009612/0.3365, allocations: 0.5293 MB / 0.5851 GB, free: 6.238 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.3367, allocations: 63.92 kB / 0.5851 GB, free: 6.176 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008196/0.3375, allocations: 143.8 kB / 0.5853 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.3379, allocations: 201.5 kB / 0.5855 GB, free: 5.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.24e-05/0.338, allocations: 67.98 kB / 0.5855 GB, free: 5.773 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001857/0.3398, allocations: 1.534 MB / 0.587 GB, free: 4.227 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3398, allocations: 0 / 0.587 GB, free: 4.227 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003233/0.3431, allocations: 1.457 MB / 0.5885 GB, free: 2.77 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.005973/0.349, allocations: 6.333 MB / 0.5946 GB, free: 12.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009001/0.358, allocations: 9.567 MB / 0.604 GB, free: 2.461 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.358, allocations: 0 / 0.604 GB, free: 2.461 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1378/0.4959, allocations: 4.013 MB / 0.6079 GB, free: 130.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.4982, allocations: 0.7167 MB / 0.6086 GB, free: 130.7 MB / 474.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.02007/0.5182, allocations: 22.9 MB / 0.631 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.5198, allocations: 2.335 MB / 0.6332 GB, free: 122.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001343/0.5211, allocations: 0.7912 MB / 0.634 GB, free: 122 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009996/0.5221, allocations: 1.62 MB / 0.6356 GB, free: 120.6 MB / 474.7 MB Notification: Performance of SimCode: time 8.81e-07/0.5221, allocations: 3.25 kB / 0.6356 GB, free: 120.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/0.6338, allocations: 88.13 MB / 0.7217 GB, free: 53.02 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.527/10.16, allocations: 12.06 kB / 0.7217 GB, free: 53.01 MB / 474.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 & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0006 EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.10957353003323] Failed to read output from testmodel.py, exit status != 0: 10.284930687397718 10.291286158 10.241112653 Calling exit ...