Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005126/0.005126, allocations: 97.05 kB / 15.73 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 192 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04053/0.04053, allocations: 8.418 MB / 299 MB, free: 6.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.89 kB / 413.3 MB, free: 22.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08614/0.088, allocations: 51.37 MB / 464.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01133/0.09936, allocations: 9.68 MB / 474.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00556/0.105, allocations: 2.696 MB / 477 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.1063, allocations: 55.75 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1078, allocations: 0.4886 MB / 477.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.1099, allocations: 0.6713 MB / 478.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1111, allocations: 0.5372 MB / 478.8 MB, free: 4.574 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0 * sqrt(1.0 - 0.0667) / (2.0 * aimc.pi * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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. Notification: Performance of NFFlatten.flatten: time 0.003768/0.1148, allocations: 2.671 MB / 481.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003049/0.1179, allocations: 2.296 MB / 483.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.1198, allocations: 1.184 MB / 484.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.1221, allocations: 1.432 MB / 486.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006013/0.1228, allocations: 336 kB / 486.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008976/0.1237, allocations: 415.9 kB / 487.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008459/0.1245, allocations: 0.8688 MB / 488 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001635/0.1262, allocations: 1.416 MB / 489.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004438/0.1306, allocations: 4.142 MB / 493.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1306, allocations: 0 / 493.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1307, allocations: 0 / 493.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.887e-05/0.1307, allocations: 0 / 493.5 MB, free: 5.723 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.005743/0.1365, allocations: 2.964 MB / 496.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1365, allocations: 15.89 kB / 496.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004365/0.137, allocations: 337.5 kB / 496.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007119/0.1377, allocations: 303.2 kB / 497.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.1402, allocations: 1.428 MB / 498.6 MB, free: 0.5586 MB / 366.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.1405, allocations: 239.1 kB / 498.8 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004354/0.1409, allocations: 232 kB / 499 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005108/0.1461, allocations: 2.965 MB / 0.4902 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.89e-05/0.1461, allocations: 7.953 kB / 0.4902 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.1464, allocations: 99.91 kB / 0.4903 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.1465, allocations: 108.5 kB / 0.4904 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004511/0.151, allocations: 2.372 MB / 0.4928 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.1664, allocations: 8.72 MB / 0.5013 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.19/0.3565, allocations: 1.625 MB / 0.5029 GB, free: 43.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.3588, allocations: 0.9661 MB / 0.5038 GB, free: 43.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.3591, allocations: 122.7 kB / 0.5039 GB, free: 42.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/0.3605, allocations: 0.7843 MB / 0.5047 GB, free: 42.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.795e-06/0.3605, allocations: 2.5 kB / 0.5047 GB, free: 42.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.0146/0.3752, allocations: 6.997 MB / 0.5115 GB, free: 40.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.3753, allocations: 252.3 kB / 0.5118 GB, free: 40.15 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.3772, allocations: 1.232 MB / 0.513 GB, free: 39.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.3774, allocations: 47.48 kB / 0.513 GB, free: 39.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008368/0.3782, allocations: 1.036 MB / 0.514 GB, free: 38.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.3786, allocations: 447 kB / 0.5144 GB, free: 38.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004025/0.379, allocations: 260.3 kB / 0.5147 GB, free: 38.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.379, allocations: 305.6 kB / 0.515 GB, free: 38.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.3803, allocations: 0.72 MB / 0.5157 GB, free: 37.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.3816, allocations: 1.133 MB / 0.5168 GB, free: 37.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008044/0.3897, allocations: 3.606 MB / 0.5203 GB, free: 35.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/0.3898, allocations: 2.75 kB / 0.5203 GB, free: 35.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004239/0.394, allocations: 2.575 MB / 0.5228 GB, free: 34.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.3941, allocations: 39.77 kB / 0.5229 GB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.3941, allocations: 8.031 kB / 0.5229 GB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.3951, allocations: 0.5074 MB / 0.5234 GB, free: 34.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.3961, allocations: 300.2 kB / 0.5237 GB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005698/0.4018, allocations: 8.805 MB / 0.5323 GB, free: 26.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.4033, allocations: 139.1 kB / 0.5324 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.4035, allocations: 58.48 kB / 0.5325 GB, free: 26.66 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001881/0.4054, allocations: 1.284 MB / 0.5337 GB, free: 25.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001068/0.4064, allocations: 1.102 MB / 0.5348 GB, free: 24.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007055/0.4135, allocations: 3.536 MB / 0.5382 GB, free: 21.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-05/0.4136, allocations: 4 kB / 0.5382 GB, free: 21.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003618/0.4172, allocations: 2.526 MB / 0.5407 GB, free: 18.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.4172, allocations: 37.7 kB / 0.5407 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4173, allocations: 8 kB / 0.5407 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009358/0.4182, allocations: 0.4988 MB / 0.5412 GB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/0.4191, allocations: 295.5 kB / 0.5415 GB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00555/0.4247, allocations: 8.809 MB / 0.5501 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.4263, allocations: 135.8 kB / 0.5502 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.4264, allocations: 63.45 kB / 0.5503 GB, free: 8.055 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004332/0.4269, allocations: 297.9 kB / 0.5506 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.4271, allocations: 143.1 kB / 0.5507 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/0.4304, allocations: 2.211 MB / 0.5529 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4305, allocations: 12 kB / 0.5529 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4305, allocations: 4.125 kB / 0.5529 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.4305, allocations: 11.97 kB / 0.5529 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006209/0.4367, allocations: 4.746 MB / 0.5576 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.4368, allocations: 4 kB / 0.5576 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/0.4375, allocations: 199.7 kB / 0.5577 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/0.4388, allocations: 0.5158 MB / 0.5582 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.4389, allocations: 35.97 kB / 0.5583 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008927/0.4478, allocations: 8.62 MB / 0.5667 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4479, allocations: 4 kB / 0.5667 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005981/0.4539, allocations: 3.275 MB / 0.5699 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008768/0.4548, allocations: 372 kB / 0.5703 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.455, allocations: 32 kB / 0.5703 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009775/0.456, allocations: 107.9 kB / 0.5704 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/0.4563, allocations: 116.7 kB / 0.5705 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.775e-05/0.4564, allocations: 39.98 kB / 0.5705 GB, free: 2.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.4576, allocations: 0.8107 MB / 0.5713 GB, free: 1.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4576, allocations: 0 / 0.5713 GB, free: 1.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002699/0.4603, allocations: 0.789 MB / 0.5721 GB, free: 0.9023 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(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.006081/0.4664, allocations: 3.896 MB / 0.5759 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01083/0.4773, allocations: 6.744 MB / 0.5825 GB, free: 5.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.4773, allocations: 3.938 kB / 0.5825 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004639/0.482, allocations: 2.855 MB / 0.5853 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.484, allocations: 401 kB / 0.5857 GB, free: 2.582 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/0.5052, allocations: 12.6 MB / 0.598 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.507, allocations: 1.837 MB / 0.5998 GB, free: 3.645 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001358/0.5083, allocations: 431.9 kB / 0.6002 GB, free: 3.219 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.5095, allocations: 0.8547 MB / 0.601 GB, free: 2.367 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5095, allocations: 0 / 0.601 GB, free: 2.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/0.6165, allocations: 49.21 MB / 0.6491 GB, free: 1.605 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.25, allocations: 1.031 kB / 0.6491 GB, free: 1.605 MB / 478.1 MB (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)