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 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.02943/0.02943, allocations: 6.471 MB / 16.37 MB, free: 3.113 MB / 18.57 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004033/0.03347, allocations: 2.478 MB / 18.85 MB, free: 0.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005351/0.0005351, allocations: 72.02 kB / 19.68 MB, free: 116 kB / 18.57 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001552, allocations: 452.6 kB / 20.12 MB, free: 5.867 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006625/0.0006625, allocations: 154.1 kB / 21.02 MB, free: 4.977 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009469/0.001609, allocations: 487.5 kB / 21.49 MB, free: 4.5 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8638/0.8638, allocations: 177.2 MB / 199.4 MB, free: 11.32 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1515/1.015, allocations: 53.65 MB / 253.1 MB, free: 8.762 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01181/0.01181, allocations: 2.511 MB / 256.3 MB, free: 5.578 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002898/0.01471, allocations: 1.321 MB / 257.7 MB, free: 4.258 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 259.1 MB, free: 2.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.406e-05, allocations: 2.312 kB / 259.1 MB, free: 2.793 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.01027/0.01029, allocations: 9.615 MB / 268.7 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005686/0.01598, allocations: 2.924 MB / 271.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.01768, allocations: 67.62 kB / 271.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.01891, allocations: 0.5002 MB / 272.2 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.02066, allocations: 0.7408 MB / 273 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009892/0.02165, allocations: 0.5499 MB / 273.5 MB, free: 4.328 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.002974/0.02463, allocations: 2.767 MB / 276.3 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.0268, allocations: 1.336 MB / 277.6 MB, free: 136 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/0.03062, allocations: 2.024 MB / 279.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.03293, allocations: 1.321 MB / 281 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008806/0.03381, allocations: 328 kB / 281.3 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.03491, allocations: 423.8 kB / 281.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008488/0.03576, allocations: 0.7248 MB / 282.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.03719, allocations: 0.811 MB / 283.2 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.04036, allocations: 2.145 MB / 285.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479e-05/0.04037, allocations: 0 / 285.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.04038, allocations: 0 / 285.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001099/0.04049, allocations: 0 / 285.4 MB, free: 8.336 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 608 * Number of variables: 608 Notification: Performance of Generate backend data structure: time 0.005855/0.04634, allocations: 3.224 MB / 288.6 MB, free: 5.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.04639, allocations: 11.98 kB / 288.6 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.04757, allocations: 497.6 kB / 289.1 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.04992, allocations: 0.9297 MB / 290 MB, free: 3.586 MB / 282.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.05022, allocations: 292 kB / 290.3 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003918/0.05061, allocations: 252 kB / 290.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.05394, allocations: 1.846 MB / 292.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.603e-05/0.05403, allocations: 4 kB / 292.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.05423, allocations: 95.98 kB / 292.5 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.05436, allocations: 108.6 kB / 292.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.05594, allocations: 0.6687 MB / 293.3 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.06603, allocations: 5.818 MB / 299.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008574/0.06689, allocations: 0.6812 MB / 299.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.06742, allocations: 442.5 kB / 300.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.06754, allocations: 48.92 kB / 300.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.06803, allocations: 0.521 MB / 300.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=107): time 2.765e-06/0.06804, allocations: 0 / 300.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.004772/0.07281, allocations: 2.743 MB / 303.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.07286, allocations: 98.05 kB / 303.6 MB, free: 5.426 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008716/0.07373, allocations: 0.8019 MB / 304.4 MB, free: 4.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.364e-05/0.07382, allocations: 49.7 kB / 304.5 MB, free: 4.551 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000647/0.07446, allocations: 0.923 MB / 305.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.0748, allocations: 440.2 kB / 305.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/0.07517, allocations: 259.4 kB / 306.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.07525, allocations: 301.1 kB / 306.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.07563, allocations: 213.3 kB / 306.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/0.07608, allocations: 0.7443 MB / 307.3 MB, free: 1.453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009854/0.07707, allocations: 1.167 MB / 308.5 MB, free: 120 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.07708, allocations: 8 kB / 308.5 MB, free: 112 kB / 298.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.001344/0.07842, allocations: 1.081 MB / 309.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.07847, allocations: 33.7 kB / 309.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.07848, allocations: 15.98 kB / 309.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.07907, allocations: 279.6 kB / 309.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.07972, allocations: 307.6 kB / 310.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/0.08382, allocations: 5.903 MB / 316.1 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008031/0.08462, allocations: 87.94 kB / 316.2 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.217e-05/0.08471, allocations: 47.98 kB / 316.2 MB, free: 7.934 MB / 314.7 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.000723/0.08543, allocations: 339.5 kB / 316.6 MB, free: 7.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007549/0.08618, allocations: 0.7482 MB / 317.3 MB, free: 6.637 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001017/0.0872, allocations: 1.157 MB / 318.5 MB, free: 5.312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.077e-06/0.08721, allocations: 4.156 kB / 318.5 MB, free: 5.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.001375/0.08858, allocations: 1.085 MB / 319.6 MB, free: 4.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.08862, allocations: 39.89 kB / 319.6 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.08863, allocations: 12 kB / 319.6 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/0.08917, allocations: 267.7 kB / 319.9 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.08975, allocations: 311.5 kB / 320.2 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/0.09651, allocations: 5.893 MB / 326.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.09776, allocations: 95.89 kB / 326.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/0.09806, allocations: 47.98 kB / 326.2 MB, free: 13.14 MB / 330.7 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: 49 * 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 (158): * Single equations (assignments): 151 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004377/0.0985, allocations: 305.3 kB / 326.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.09882, allocations: 127.9 kB / 326.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.1001, allocations: 0.871 MB / 327.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.1001, allocations: 12 kB / 327.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1001, allocations: 4 kB / 327.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.1001, allocations: 11.97 kB / 327.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.1031, allocations: 2.514 MB / 330.1 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1031, allocations: 4.031 kB / 330.1 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.1036, allocations: 199.8 kB / 330.3 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.1039, allocations: 183 kB / 330.4 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006/0.1045, allocations: 326.3 kB / 330.8 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.1045, allocations: 35.98 kB / 330.8 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003199/0.1077, allocations: 5.88 MB / 336.7 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1077, allocations: 8.031 kB / 336.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.109, allocations: 1.324 MB / 338 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.1091, allocations: 39.92 kB / 338 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.1095, allocations: 67.95 kB / 338.1 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.1096, allocations: 120.7 kB / 338.2 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.1097, allocations: 31.98 kB / 338.3 MB, free: 484 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002906/0.11, allocations: 388.4 kB / 338.6 MB, free: 84 kB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.11, allocations: 0 / 338.6 MB, free: 84 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.1698/0.2798, allocations: 0.7832 MB / 339.4 MB, free: 62.79 MB / 330.7 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 (105): * Single equations (assignments): 97 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003411/0.2801, allocations: 170.4 kB / 339.6 MB, free: 62.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004398/0.2845, allocations: 4.888 MB / 344.5 MB, free: 59.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.615e-05/0.2846, allocations: 24.78 kB / 344.5 MB, free: 59.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001767/0.2863, allocations: 2.194 MB / 346.7 MB, free: 58.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.2883, allocations: 3.064 MB / 349.8 MB, free: 55.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.3022, allocations: 3.907 MB / 353.7 MB, free: 53.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.3028, allocations: 0.53 MB / 354.2 MB, free: 53.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000726/0.3035, allocations: 180.6 kB / 354.4 MB, free: 53.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/0.3041, allocations: 363.9 kB / 354.7 MB, free: 53.18 MB / 330.7 MB Notification: Performance of SimCode: time 2.134e-06/0.3041, allocations: 0 / 354.7 MB, free: 53.18 MB / 330.7 MB Notification: Performance of Templates: time 0.03456/0.3387, allocations: 33.4 MB / 388.1 MB, free: 27.73 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.makefile [Timeout 660] (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=240 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.506990314461291]