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 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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.004798/0.004798, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001272/0.001272, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04195/0.04195, allocations: 8.321 MB / 298.9 MB, free: 6.508 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 63.91 kB / 413 MB, free: 22.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08829, allocations: 51.26 MB / 464.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01169/0.1, allocations: 9.681 MB / 473.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005071/0.1051, allocations: 2.7 MB / 476.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007221/0.1059, allocations: 51.81 kB / 476.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.107, allocations: 492.3 kB / 477.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.1085, allocations: 0.6792 MB / 477.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1095, allocations: 0.5344 MB / 478.4 MB, free: 4.934 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.002979/0.1125, allocations: 2.676 MB / 481.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.1153, allocations: 2.296 MB / 483.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.1168, allocations: 1.184 MB / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.1187, allocations: 1.428 MB / 486 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000458/0.1192, allocations: 332 kB / 486.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000758/0.1199, allocations: 419.8 kB / 486.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008907/0.1208, allocations: 0.8611 MB / 487.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.1224, allocations: 1.427 MB / 489 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004357/0.1267, allocations: 4.142 MB / 493.1 MB, free: 6.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1267, allocations: 0 / 493.1 MB, free: 6.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1268, allocations: 0 / 493.1 MB, free: 6.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.811e-05/0.1268, allocations: 0 / 493.1 MB, free: 6.074 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.005861/0.1327, allocations: 2.96 MB / 496.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1327, allocations: 8.031 kB / 496.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004483/0.1332, allocations: 337.5 kB / 496.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006914/0.1339, allocations: 299.2 kB / 496.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.1362, allocations: 1.435 MB / 498.2 MB, free: 0.918 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.0002819/0.1365, allocations: 242.8 kB / 498.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.1369, allocations: 232 kB / 498.6 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00511/0.142, allocations: 2.958 MB / 0.4898 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-05/0.1421, allocations: 15.94 kB / 0.4898 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.1423, allocations: 92 kB / 0.4899 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.1424, allocations: 104.5 kB / 0.49 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004404/0.1468, allocations: 2.379 MB / 0.4924 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.1602, allocations: 8.72 MB / 0.5009 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/0.1631, allocations: 1.632 MB / 0.5025 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1775/0.3407, allocations: 0.9502 MB / 0.5034 GB, free: 44.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.341, allocations: 125.8 kB / 0.5035 GB, free: 44.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/0.3425, allocations: 0.7828 MB / 0.5043 GB, free: 44.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 4.409e-06/0.3425, allocations: 0 / 0.5043 GB, free: 44.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.02098/0.3635, allocations: 7.006 MB / 0.5111 GB, free: 41.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.3636, allocations: 249.7 kB / 0.5114 GB, free: 41.57 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.00179/0.3654, allocations: 1.235 MB / 0.5126 GB, free: 41.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-05/0.3655, allocations: 47.8 kB / 0.5126 GB, free: 41.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007298/0.3662, allocations: 1.034 MB / 0.5136 GB, free: 40.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.3665, allocations: 442.7 kB / 0.514 GB, free: 39.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004212/0.367, allocations: 259.9 kB / 0.5143 GB, free: 39.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.367, allocations: 306.3 kB / 0.5146 GB, free: 39.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.3682, allocations: 0.719 MB / 0.5153 GB, free: 39.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.3696, allocations: 1.135 MB / 0.5164 GB, free: 38.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008247/0.3779, allocations: 3.607 MB / 0.5199 GB, free: 36.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.3779, allocations: 5.812 kB / 0.5199 GB, free: 36.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004225/0.3822, allocations: 2.568 MB / 0.5224 GB, free: 35.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.3822, allocations: 37.52 kB / 0.5225 GB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.3823, allocations: 11.81 kB / 0.5225 GB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.3833, allocations: 0.4997 MB / 0.523 GB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.3843, allocations: 311.5 kB / 0.5233 GB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005993/0.3903, allocations: 8.812 MB / 0.5319 GB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.3918, allocations: 122.5 kB / 0.532 GB, free: 27.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.392, allocations: 61.42 kB / 0.532 GB, free: 27.92 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.002137/0.3941, allocations: 1.289 MB / 0.5333 GB, free: 27.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001099/0.3952, allocations: 1.1 MB / 0.5344 GB, free: 25.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007167/0.4024, allocations: 3.54 MB / 0.5378 GB, free: 22.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.135e-06/0.4024, allocations: 4 kB / 0.5378 GB, free: 22.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003581/0.406, allocations: 2.53 MB / 0.5403 GB, free: 19.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.4061, allocations: 37.7 kB / 0.5403 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4061, allocations: 8 kB / 0.5403 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009324/0.407, allocations: 0.4998 MB / 0.5408 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000924/0.4079, allocations: 295.5 kB / 0.5411 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005721/0.4137, allocations: 8.799 MB / 0.5497 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.415, allocations: 131.9 kB / 0.5498 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.316e-05/0.4151, allocations: 61.23 kB / 0.5499 GB, free: 9.117 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.0004058/0.4155, allocations: 298.3 kB / 0.5502 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.4158, allocations: 152.9 kB / 0.5503 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/0.4191, allocations: 2.214 MB / 0.5525 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.4191, allocations: 15.94 kB / 0.5525 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4191, allocations: 4.984 kB / 0.5525 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4191, allocations: 7.969 kB / 0.5525 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006004/0.4252, allocations: 4.73 MB / 0.5571 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4252, allocations: 8.031 kB / 0.5571 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007753/0.426, allocations: 199.8 kB / 0.5573 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.4271, allocations: 0.5203 MB / 0.5578 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.279e-05/0.4272, allocations: 39.97 kB / 0.5579 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008607/0.4358, allocations: 8.622 MB / 0.5663 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.4358, allocations: 4 kB / 0.5663 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005736/0.4416, allocations: 3.283 MB / 0.5695 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007176/0.4423, allocations: 372 kB / 0.5699 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.4425, allocations: 28 kB / 0.5699 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009502/0.4435, allocations: 107.9 kB / 0.57 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002761/0.4437, allocations: 108.7 kB / 0.5701 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.271e-05/0.4438, allocations: 43.97 kB / 0.5701 GB, free: 3.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.4451, allocations: 0.8142 MB / 0.5709 GB, free: 2.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4451, allocations: 8 kB / 0.5709 GB, free: 2.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002509/0.4476, allocations: 0.7851 MB / 0.5717 GB, free: 1.949 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.006306/0.4539, allocations: 3.909 MB / 0.5755 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01115/0.4651, allocations: 6.735 MB / 0.5821 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.4651, allocations: 0.6875 kB / 0.5821 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004698/0.4698, allocations: 2.852 MB / 0.5849 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.4719, allocations: 396.2 kB / 0.5853 GB, free: 3.633 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.02142/0.4933, allocations: 12.58 MB / 0.5975 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/0.4951, allocations: 1.841 MB / 0.5993 GB, free: 4.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001273/0.4964, allocations: 424 kB / 0.5997 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.4975, allocations: 0.8586 MB / 0.6006 GB, free: 3.43 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4975, allocations: 3.609 kB / 0.6006 GB, free: 3.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/0.6073, allocations: 49.22 MB / 0.6487 GB, free: 2.672 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.52, allocations: 0 / 0.6487 GB, free: 2.672 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 & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)