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.001119/0.001119, allocations: 84.44 kB / 19.18 MB, free: 0.7383 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.00123/0.00123, allocations: 173.9 kB / 22.46 MB, free: 2.102 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.9523/0.9523, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.02748/0.02748, allocations: 6.476 MB / 265.7 MB, free: 6.84 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.833e-06, allocations: 0 / 393.2 MB, free: 2.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/3.197e-05, allocations: 13.09 kB / 393.2 MB, free: 2.957 MB / 314.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.01688/0.01691, allocations: 14.22 MB / 407.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009871/0.02679, allocations: 3.986 MB / 411.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/0.03013, allocations: 131.2 kB / 411.5 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1438/0.1739, allocations: 0.8166 MB / 412.3 MB, free: 17.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.1783, allocations: 1.398 MB / 413.7 MB, free: 17.47 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.1801, allocations: 0.867 MB / 414.6 MB, free: 17.46 MB / 330.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.005745/0.1859, allocations: 5.14 MB / 419.7 MB, free: 16.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.1889, allocations: 2.421 MB / 422.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005761/0.1946, allocations: 3.359 MB / 425.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004017/0.1987, allocations: 2.333 MB / 427.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001671/0.2003, allocations: 0.6081 MB / 428.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.2024, allocations: 0.7067 MB / 429.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.2037, allocations: 1.704 MB / 430.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002731/0.2064, allocations: 1.851 MB / 432.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005561/0.212, allocations: 7.973 MB / 440.7 MB, free: 6.066 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.212, allocations: 0 / 440.7 MB, free: 6.066 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.212, allocations: 0 / 440.7 MB, free: 6.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001967/0.2122, allocations: 0 / 440.7 MB, free: 6.066 MB / 330.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.007861/0.22, allocations: 5.049 MB / 445.7 MB, free: 2.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2201, allocations: 8.031 kB / 445.8 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005998/0.2207, allocations: 0.5874 MB / 446.3 MB, free: 1.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009821/0.2217, allocations: 0.5875 MB / 446.9 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.2253, allocations: 2.617 MB / 449.5 MB, free: 14.51 MB / 346.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.000276/0.2256, allocations: 441.9 kB / 450 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004375/0.226, allocations: 431.1 kB / 450.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007966/0.234, allocations: 5.706 MB / 456.1 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.2341, allocations: 19.08 kB / 456.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002977/0.2344, allocations: 178.4 kB / 456.3 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.2345, allocations: 196.4 kB / 456.5 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0061/0.2406, allocations: 4.339 MB / 460.8 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01972/0.2604, allocations: 14.65 MB / 475.5 MB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.2632, allocations: 2.166 MB / 477.6 MB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.265, allocations: 1.654 MB / 479.3 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.2652, allocations: 53.97 kB / 479.4 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.2652, allocations: 52.56 kB / 479.4 MB, free: 464 kB / 362.7 MB Notification: Performance of pre-optimization done (n=179): time 3.787e-06/0.2652, allocations: 0 / 479.4 MB, free: 464 kB / 362.7 MB Notification: Performance of matching and sorting (n=213): time 0.01975/0.285, allocations: 12.82 MB / 492.2 MB, free: 3.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.285, allocations: 128.2 kB / 492.3 MB, free: 3.535 MB / 378.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.002744/0.2878, allocations: 2.307 MB / 494.7 MB, free: 1.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.2879, allocations: 61.7 kB / 494.7 MB, free: 1.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.289, allocations: 1.926 MB / 496.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006386/0.2897, allocations: 0.7496 MB / 497.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000514/0.2902, allocations: 456.3 kB / 497.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.2903, allocations: 301.1 kB / 498.1 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.2919, allocations: 1.241 MB / 499.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.2936, allocations: 1.983 MB / 0.4896 GB, free: 10.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008438/0.302, allocations: 6.181 MB / 0.4956 GB, free: 3.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.464e-05/0.3021, allocations: 11.94 kB / 0.4957 GB, free: 3.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.00526/0.3073, allocations: 4.431 MB / 0.5 GB, free: 15.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.3073, allocations: 14.5 kB / 0.5 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.3074, allocations: 20 kB / 0.5 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.3089, allocations: 1.003 MB / 0.501 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.31, allocations: 0.5177 MB / 0.5015 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.3208, allocations: 16.66 MB / 0.5178 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.3226, allocations: 179.8 kB / 0.5179 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.3228, allocations: 107.6 kB / 0.518 GB, free: 12.15 MB / 426.7 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003099/0.3259, allocations: 2.292 MB / 0.5203 GB, free: 9.855 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001781/0.3277, allocations: 1.958 MB / 0.5222 GB, free: 7.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007973/0.3357, allocations: 6.133 MB / 0.5282 GB, free: 1.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.701e-05/0.3357, allocations: 8 kB / 0.5282 GB, free: 1.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.005254/0.341, allocations: 4.381 MB / 0.5325 GB, free: 12.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.341, allocations: 12 kB / 0.5325 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.341, allocations: 20 kB / 0.5325 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.3426, allocations: 1.012 MB / 0.5335 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.3436, allocations: 0.5148 MB / 0.534 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.3545, allocations: 16.66 MB / 0.5503 GB, free: 9.816 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.3562, allocations: 159.8 kB / 0.5504 GB, free: 9.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.3564, allocations: 115.9 kB / 0.5505 GB, free: 9.547 MB / 458.7 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 4 (logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,actuator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%), (2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005564/0.357, allocations: 372 kB / 0.5509 GB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/0.3573, allocations: 282.2 kB / 0.5511 GB, free: 8.902 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/0.3617, allocations: 3.836 MB / 0.5549 GB, free: 5.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.3618, allocations: 20 kB / 0.5549 GB, free: 5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/0.3618, allocations: 12 kB / 0.5549 GB, free: 4.988 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.3618, allocations: 7.969 kB / 0.5549 GB, free: 4.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009604/0.3714, allocations: 7.882 MB / 0.5626 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.3714, allocations: 4 kB / 0.5626 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.3722, allocations: 335.5 kB / 0.563 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.374, allocations: 1.036 MB / 0.564 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.3741, allocations: 75.89 kB / 0.564 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1501/0.5242, allocations: 16.3 MB / 0.58 GB, free: 144.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.5242, allocations: 12.81 kB / 0.58 GB, free: 144.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006255/0.5305, allocations: 5.65 MB / 0.5855 GB, free: 143.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.5316, allocations: 0.5266 MB / 0.586 GB, free: 143.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.5319, allocations: 63.5 kB / 0.5861 GB, free: 143.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008431/0.5327, allocations: 145.4 kB / 0.5862 GB, free: 143.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003497/0.5331, allocations: 197.1 kB / 0.5864 GB, free: 143.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.5332, allocations: 75.2 kB / 0.5865 GB, free: 143.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001944/0.5351, allocations: 1.531 MB / 0.588 GB, free: 142.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5351, allocations: 0 / 0.588 GB, free: 142.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00377/0.5389, allocations: 1.457 MB / 0.5894 GB, free: 142.8 MB / 474.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.006406/0.5453, allocations: 6.327 MB / 0.5956 GB, free: 140 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00887/0.5542, allocations: 9.569 MB / 0.6049 GB, free: 134.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.5542, allocations: 7.625 kB / 0.6049 GB, free: 134.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003308/0.5575, allocations: 4.014 MB / 0.6088 GB, free: 131.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.56, allocations: 0.705 MB / 0.6095 GB, free: 131.5 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1886:3-1886:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02465/0.5846, allocations: 22.91 MB / 0.6319 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/0.5866, allocations: 2.344 MB / 0.6342 GB, free: 109 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001612/0.5882, allocations: 0.7836 MB / 0.6349 GB, free: 108.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.5893, allocations: 1.621 MB / 0.6365 GB, free: 106.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5893, allocations: 0 / 0.6365 GB, free: 106.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1787/0.768, allocations: 88.1 MB / 0.7226 GB, free: 19.29 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.83, allocations: 13.36 kB / 0.7226 GB, free: 19.28 MB / 474.7 MB " [Timeout remaining time 649] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_fmu --startTime=0 --stopTime=3 --stepSize=0.0006 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-cvode.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3 --stepSize=0.0006 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_OMSimulator-cs-cvode.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-euler.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3 --stepSize=0.0006 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_OMSimulator-cs-euler.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy_res.csv --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0006 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 14.487522533163428]