Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04653/0.04654, allocations: 8.033 MB / 23.67 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 100.7 kB / 26.25 MB, free: 3.168 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 195.2 kB / 28.95 MB, free: 492 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 254.4 MB, free: 4.664 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0126/0.0126, allocations: 3.123 MB / 309.4 MB, free: 2.305 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 87.86 kB / 426.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1048, allocations: 51.97 MB / 478.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.0103/0.1151, allocations: 9.135 MB / 488 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005263/0.1204, allocations: 2.634 MB / 490.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000968/0.1214, allocations: 47.81 kB / 490.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.1226, allocations: 464.6 kB / 491.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.1242, allocations: 0.6443 MB / 491.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009706/0.1252, allocations: 0.5107 MB / 492.3 MB, free: 52 kB / 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.002427/0.1276, allocations: 2.486 MB / 494.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.1298, allocations: 2.053 MB / 496.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.1311, allocations: 1.094 MB / 497.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.1326, allocations: 1.323 MB / 499.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003808/0.133, allocations: 300 kB / 499.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007003/0.1337, allocations: 399.8 kB / 499.9 MB, free: 8.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007424/0.1345, allocations: 0.7909 MB / 0.489 GB, free: 7.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.1358, allocations: 1.291 MB / 0.4903 GB, free: 6.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.1395, allocations: 3.76 MB / 0.4939 GB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1396, allocations: 4 kB / 0.4939 GB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1396, allocations: 0 / 0.4939 GB, free: 2.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.576e-05/0.1396, allocations: 0 / 0.4939 GB, free: 2.457 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.005683/0.1453, allocations: 2.765 MB / 0.4966 GB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1454, allocations: 12.03 kB / 0.4966 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007958/0.1462, allocations: 279.4 kB / 0.4969 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.1484, allocations: 1.338 MB / 0.4982 GB, free: 13.95 MB / 382.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.0003288/0.1488, allocations: 227.4 kB / 0.4984 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/0.1491, allocations: 208 kB / 0.4986 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004729/0.1538, allocations: 2.719 MB / 0.5013 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.188e-05/0.1539, allocations: 7.953 kB / 0.5013 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.1541, allocations: 84 kB / 0.5014 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.1543, allocations: 100 kB / 0.5015 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004281/0.1585, allocations: 2.229 MB / 0.5036 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01298/0.1715, allocations: 7.937 MB / 0.5114 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.234/0.4055, allocations: 1.6 MB / 0.513 GB, free: 39.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.4076, allocations: 0.9516 MB / 0.5139 GB, free: 39.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/0.4079, allocations: 124 kB / 0.514 GB, free: 39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.4092, allocations: 0.7779 MB / 0.5148 GB, free: 38.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.477e-06/0.4092, allocations: 1.625 kB / 0.5148 GB, free: 38.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01536/0.4246, allocations: 6.718 MB / 0.5213 GB, free: 36.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.4247, allocations: 250.8 kB / 0.5216 GB, free: 36.21 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.002035/0.4268, allocations: 1.2 MB / 0.5227 GB, free: 35.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/0.4269, allocations: 52.67 kB / 0.5228 GB, free: 35.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007429/0.4276, allocations: 0.9473 MB / 0.5237 GB, free: 35.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.4279, allocations: 433.9 kB / 0.5241 GB, free: 34.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.4284, allocations: 252.2 kB / 0.5244 GB, free: 34.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.4285, allocations: 368.7 kB / 0.5247 GB, free: 34.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.4297, allocations: 0.7167 MB / 0.5254 GB, free: 34.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.4312, allocations: 1.097 MB / 0.5265 GB, free: 33.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008377/0.4396, allocations: 3.581 MB / 0.53 GB, free: 31.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.4396, allocations: 6.75 kB / 0.53 GB, free: 31.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004145/0.4438, allocations: 2.534 MB / 0.5325 GB, free: 30.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.4438, allocations: 37.92 kB / 0.5325 GB, free: 30.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.4438, allocations: 15.88 kB / 0.5325 GB, free: 30.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009942/0.4448, allocations: 0.4958 MB / 0.533 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009167/0.4458, allocations: 290.7 kB / 0.5333 GB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/0.4519, allocations: 8.804 MB / 0.5419 GB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.4534, allocations: 123.4 kB / 0.542 GB, free: 22.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.4535, allocations: 64.23 kB / 0.5421 GB, free: 22.79 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002261/0.4558, allocations: 1.232 MB / 0.5433 GB, free: 21.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001114/0.4569, allocations: 1.076 MB / 0.5443 GB, free: 20.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00698/0.4639, allocations: 3.511 MB / 0.5477 GB, free: 16.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.151e-06/0.4639, allocations: 4 kB / 0.5477 GB, free: 16.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003631/0.4676, allocations: 2.493 MB / 0.5502 GB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.4676, allocations: 40.77 kB / 0.5502 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4676, allocations: 8 kB / 0.5502 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009542/0.4686, allocations: 0.502 MB / 0.5507 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/0.4695, allocations: 287.5 kB / 0.551 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006423/0.4759, allocations: 8.795 MB / 0.5596 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.4778, allocations: 135.9 kB / 0.5597 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.4779, allocations: 63.92 kB / 0.5598 GB, free: 4.035 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (150): * Single equations (assignments): 143 * 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.000647/0.4785, allocations: 293.5 kB / 0.56 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/0.4789, allocations: 147.6 kB / 0.5602 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/0.4825, allocations: 2.215 MB / 0.5624 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.4826, allocations: 16 kB / 0.5624 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4826, allocations: 4 kB / 0.5624 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.4826, allocations: 3.984 kB / 0.5624 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008743/0.4913, allocations: 4.624 MB / 0.5669 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.4914, allocations: 4 kB / 0.5669 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008808/0.4923, allocations: 204.2 kB / 0.5671 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.4937, allocations: 0.5114 MB / 0.5676 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.777e-05/0.4938, allocations: 43.97 kB / 0.5676 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008072/0.5019, allocations: 8.615 MB / 0.576 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.5019, allocations: 11.98 kB / 0.5761 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005945/0.5079, allocations: 3.256 MB / 0.5792 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/0.5088, allocations: 368.1 kB / 0.5796 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004123/0.5092, allocations: 32 kB / 0.5796 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.5104, allocations: 103.9 kB / 0.5797 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/0.5108, allocations: 116.7 kB / 0.5798 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.5109, allocations: 35.98 kB / 0.5799 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00152/0.5124, allocations: 0.798 MB / 0.5806 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5124, allocations: 0 / 0.5806 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003331/0.5158, allocations: 0.7499 MB / 0.5814 GB, free: 13.09 MB / 414.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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * 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.0004376/0.5162, allocations: 194.5 kB / 0.5816 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01137/0.5276, allocations: 6.708 MB / 0.5881 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.5276, allocations: 4 kB / 0.5881 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004741/0.5324, allocations: 2.854 MB / 0.5909 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/0.5351, allocations: 376.8 kB / 0.5913 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00853/0.5437, allocations: 4.307 MB / 0.5955 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.5457, allocations: 1.742 MB / 0.5972 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001489/0.5472, allocations: 415.6 kB / 0.5976 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.5476, allocations: 99.42 kB / 0.5977 GB, free: 11.96 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5476, allocations: 4 kB / 0.5977 GB, free: 11.96 MB / 430.1 MB Notification: Performance of Templates: time 0.05756/0.6052, allocations: 31.77 MB / 0.6287 GB, free: 12.5 MB / 462.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.makefile (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.sim & ./EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)