Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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.02979/0.02979, allocations: 6.462 MB / 16.29 MB, free: 3.164 MB / 18.57 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003934/0.03372, allocations: 2.48 MB / 18.77 MB, free: 0.8672 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.0005377/0.0005377, allocations: 67.27 kB / 19.59 MB, free: 184 kB / 18.57 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008156/0.001353, allocations: 439.7 kB / 20.02 MB, free: 5.945 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.0006781/0.0006781, allocations: 158.7 kB / 20.9 MB, free: 5.066 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008293/0.001507, allocations: 479.5 kB / 21.37 MB, free: 4.598 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.8829/0.8829, allocations: 177.1 MB / 199.3 MB, free: 11.41 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1398/1.023, allocations: 53.65 MB / 252.9 MB, free: 8.84 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.008676/0.008676, allocations: 2.517 MB / 256.2 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002627/0.0113, allocations: 1.309 MB / 257.5 MB, free: 4.359 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) 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_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.wFollowing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 258.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.765e-05, allocations: 6.25 kB / 258.9 MB, free: 2.922 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.007853/0.007871, allocations: 9.611 MB / 268.5 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004086/0.01196, allocations: 2.925 MB / 271.4 MB, free: 6.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005064/0.01246, allocations: 63.62 kB / 271.5 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006455/0.01311, allocations: 0.504 MB / 272 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000902/0.01401, allocations: 0.7291 MB / 272.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.01457, allocations: 0.5655 MB / 273.3 MB, free: 4.461 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.001579/0.01615, allocations: 2.771 MB / 276.1 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.01717, allocations: 1.329 MB / 277.4 MB, free: 272 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.01884, allocations: 2.036 MB / 279.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009338/0.01977, allocations: 1.302 MB / 280.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002538/0.02002, allocations: 332 kB / 281.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.02046, allocations: 435.8 kB / 281.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004378/0.0209, allocations: 0.7092 MB / 282.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006245/0.02153, allocations: 0.8072 MB / 283 MB, free: 10.63 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.02331, allocations: 2.157 MB / 285.2 MB, free: 8.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.02333, allocations: 4 kB / 285.2 MB, free: 8.465 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.02333, allocations: 0 / 285.2 MB, free: 8.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.958e-05/0.02336, allocations: 0 / 285.2 MB, free: 8.465 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.002861/0.02622, allocations: 3.216 MB / 288.4 MB, free: 5.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.02625, allocations: 11.98 kB / 288.4 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006295/0.02688, allocations: 0.4899 MB / 288.9 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.02803, allocations: 0.9335 MB / 289.8 MB, free: 3.715 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.0001825/0.02821, allocations: 288 kB / 290.1 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.02842, allocations: 252 kB / 290.3 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.0304, allocations: 1.842 MB / 292.2 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.31e-05/0.03044, allocations: 11.92 kB / 292.2 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.03056, allocations: 96 kB / 292.3 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.553e-05/0.03064, allocations: 108.6 kB / 292.4 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.0315, allocations: 0.6726 MB / 293.1 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00555/0.03705, allocations: 5.81 MB / 298.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.03807, allocations: 0.6858 MB / 299.6 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.0386, allocations: 450.5 kB / 300 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.03872, allocations: 48.92 kB / 300 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004455/0.03917, allocations: 0.5172 MB / 300.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=107): time 2.114e-06/0.03917, allocations: 0 / 300.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.004193/0.04336, allocations: 2.712 MB / 303.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.04341, allocations: 94.11 kB / 303.4 MB, free: 5.598 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.0005601/0.04397, allocations: 0.8019 MB / 304.2 MB, free: 4.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.04403, allocations: 45.7 kB / 304.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.0444, allocations: 0.923 MB / 305.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.04461, allocations: 440.2 kB / 305.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.04485, allocations: 255.4 kB / 305.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.04491, allocations: 305.1 kB / 306.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.04541, allocations: 217.3 kB / 306.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.04583, allocations: 0.7443 MB / 307.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.04672, allocations: 1.14 MB / 308.2 MB, free: 320 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.04672, allocations: 4 kB / 308.2 MB, free: 316 kB / 298.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.00117/0.04789, allocations: 1.078 MB / 309.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.04793, allocations: 41.64 kB / 309.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.04794, allocations: 8 kB / 309.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004953/0.04844, allocations: 271.4 kB / 309.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/0.04902, allocations: 319.5 kB / 309.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.05225, allocations: 5.901 MB / 315.8 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.05268, allocations: 87.94 kB / 315.9 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.484e-05/0.05274, allocations: 51.98 kB / 316 MB, free: 8.125 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.0004887/0.05323, allocations: 336.2 kB / 316.3 MB, free: 7.789 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004066/0.05364, allocations: 0.7403 MB / 317 MB, free: 6.844 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008657/0.0545, allocations: 1.125 MB / 318.2 MB, free: 5.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.651e-06/0.05451, allocations: 11.94 kB / 318.2 MB, free: 5.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.001133/0.05564, allocations: 1.078 MB / 319.2 MB, free: 4.418 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.05567, allocations: 39.88 kB / 319.3 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.05568, allocations: 12 kB / 319.3 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/0.05614, allocations: 278.7 kB / 319.6 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/0.05694, allocations: 311.5 kB / 319.9 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.0597, allocations: 5.896 MB / 325.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.06015, allocations: 95.98 kB / 325.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/0.06021, allocations: 47.98 kB / 325.9 MB, free: 13.36 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.0002142/0.06042, allocations: 296.8 kB / 326.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.06057, allocations: 123.9 kB / 326.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.06186, allocations: 0.8832 MB / 327.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.06186, allocations: 12 kB / 327.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.06187, allocations: 8 kB / 327.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.06188, allocations: 11.91 kB / 327.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.06446, allocations: 2.503 MB / 329.7 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.06446, allocations: 4 kB / 329.7 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.0649, allocations: 204.2 kB / 329.9 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.06516, allocations: 187 kB / 330.1 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005726/0.06573, allocations: 314.4 kB / 330.4 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.06578, allocations: 39.97 kB / 330.5 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00306/0.06884, allocations: 5.885 MB / 336.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.06885, allocations: 4 kB / 336.4 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.07021, allocations: 1.325 MB / 337.7 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.07032, allocations: 35.98 kB / 337.7 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.07067, allocations: 67.94 kB / 337.8 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.07083, allocations: 128.6 kB / 337.9 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.07089, allocations: 27.98 kB / 337.9 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003146/0.0712, allocations: 388.4 kB / 338.3 MB, free: 320 kB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0712, allocations: 0 / 338.3 MB, free: 320 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.1155/0.1867, allocations: 0.7767 MB / 339.1 MB, free: 62.68 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.0002928/0.187, allocations: 171.7 kB / 339.3 MB, free: 62.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003921/0.1909, allocations: 4.847 MB / 344.1 MB, free: 59.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-05/0.1909, allocations: 23.75 kB / 344.1 MB, free: 59.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.1924, allocations: 2.142 MB / 346.3 MB, free: 57.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.1934, allocations: 447.8 kB / 346.7 MB, free: 57.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.2066, allocations: 3.917 MB / 350.6 MB, free: 56.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/0.2073, allocations: 0.5267 MB / 351.2 MB, free: 56.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006418/0.2079, allocations: 193.8 kB / 351.3 MB, free: 56.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/0.2085, allocations: 355.3 kB / 351.7 MB, free: 56.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2085, allocations: 0 / 351.7 MB, free: 56.12 MB / 330.7 MB Notification: Performance of Templates: time 0.03164/0.2401, allocations: 33.58 MB / 385.3 MB, free: 31.01 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.makefile [Timeout 660] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.sim & ./EHPTexamples_EHPTexamples.ElectricDrives.wFollowing -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.400310829281807]