Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.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.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04128/0.04128, allocations: 8.037 MB / 24.3 MB, free: 32 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.001003/0.001003, allocations: 104.8 kB / 26.87 MB, free: 3.023 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.001149/0.001149, allocations: 193.9 kB / 29.58 MB, free: 344 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.33/1.33, allocations: 222.9 MB / 255 MB, free: 4.715 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01253/0.01253, allocations: 3.134 MB / 310.1 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001779, allocations: 91.86 kB / 375.1 MB, free: 1.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2019, allocations: 51.98 MB / 427.1 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.007327/0.2093, allocations: 9.026 MB / 436.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003585/0.2129, allocations: 2.54 MB / 438.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006789/0.2136, allocations: 47.81 kB / 438.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008745/0.2145, allocations: 464.6 kB / 439.2 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.2156, allocations: 0.652 MB / 439.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.2163, allocations: 0.4897 MB / 440.3 MB, free: 8.062 MB / 302.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: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: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.001682/0.218, allocations: 2.479 MB / 442.8 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.2196, allocations: 2.045 MB / 444.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.2206, allocations: 1.09 MB / 445.9 MB, free: 2.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.2217, allocations: 1.315 MB / 447.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002754/0.222, allocations: 300 kB / 447.5 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004828/0.2225, allocations: 383.8 kB / 447.9 MB, free: 404 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006263/0.2231, allocations: 0.7871 MB / 448.7 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.2244, allocations: 1.287 MB / 450 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.2274, allocations: 3.711 MB / 453.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2274, allocations: 0 / 453.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2274, allocations: 0 / 453.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.336e-05/0.2274, allocations: 0 / 453.7 MB, free: 10.59 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.005008/0.2325, allocations: 2.693 MB / 456.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2325, allocations: 12.02 kB / 456.4 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006532/0.2332, allocations: 266 kB / 456.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.2355, allocations: 1.322 MB / 458 MB, free: 6.184 MB / 318.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.0002378/0.2357, allocations: 219.4 kB / 458.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/0.2361, allocations: 211.9 kB / 458.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004136/0.2402, allocations: 2.694 MB / 461.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.332e-05/0.2403, allocations: 4 kB / 461.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.2405, allocations: 87.98 kB / 461.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.2406, allocations: 95.98 kB / 461.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003673/0.2442, allocations: 2.209 MB / 463.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.2561, allocations: 7.859 MB / 471.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.2587, allocations: 1.588 MB / 472.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.2604, allocations: 0.9388 MB / 473.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.2607, allocations: 130 kB / 474 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.2619, allocations: 0.7617 MB / 474.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.946e-06/0.2619, allocations: 0 / 474.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01388/0.2758, allocations: 6.605 MB / 481.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.276, allocations: 252.3 kB / 481.6 MB, free: 13.91 MB / 350.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: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: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.001808/0.2778, allocations: 1.195 MB / 482.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.2779, allocations: 49.7 kB / 482.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008228/0.2787, allocations: 0.9193 MB / 483.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.2791, allocations: 406.1 kB / 484.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.2795, allocations: 246.8 kB / 484.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2796, allocations: 369.8 kB / 484.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.2808, allocations: 0.7015 MB / 485.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.2822, allocations: 1.089 MB / 486.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008393/0.2906, allocations: 3.555 MB / 490.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.2906, allocations: 4 kB / 490.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004382/0.295, allocations: 2.515 MB / 492.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.2951, allocations: 37.7 kB / 492.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.2951, allocations: 8 kB / 492.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.2963, allocations: 0.5001 MB / 493.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.2974, allocations: 291.5 kB / 493.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007904/0.3053, allocations: 8.8 MB / 0.4905 GB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.3068, allocations: 131.9 kB / 0.4906 GB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.3069, allocations: 52 kB / 0.4907 GB, free: 8.074 MB / 366.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.002058/0.309, allocations: 1.223 MB / 0.4919 GB, free: 6.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001379/0.3103, allocations: 1.07 MB / 0.4929 GB, free: 5.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008265/0.3186, allocations: 3.485 MB / 0.4963 GB, free: 1.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.119e-05/0.3187, allocations: 4 kB / 0.4963 GB, free: 1.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004254/0.3229, allocations: 2.465 MB / 0.4987 GB, free: 15.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.323, allocations: 37.7 kB / 0.4988 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.323, allocations: 15.98 kB / 0.4988 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.3241, allocations: 0.4998 MB / 0.4993 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.3252, allocations: 283.6 kB / 0.4995 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008598/0.3338, allocations: 8.791 MB / 0.5081 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.3354, allocations: 135.9 kB / 0.5082 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.3356, allocations: 55.98 kB / 0.5083 GB, free: 5.074 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.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 140 * 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.0004577/0.336, allocations: 293.8 kB / 0.5086 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.3363, allocations: 138.3 kB / 0.5087 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/0.3402, allocations: 2.183 MB / 0.5108 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3402, allocations: 15.94 kB / 0.5109 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.3402, allocations: 8 kB / 0.5109 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.3403, allocations: 11.91 kB / 0.5109 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1924/0.5327, allocations: 4.578 MB / 0.5153 GB, free: 84.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.5327, allocations: 6.641 kB / 0.5154 GB, free: 84.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/0.5336, allocations: 193.9 kB / 0.5155 GB, free: 84.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.5349, allocations: 0.5202 MB / 0.516 GB, free: 84.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-05/0.535, allocations: 37.42 kB / 0.5161 GB, free: 84.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006352/0.5414, allocations: 8.608 MB / 0.5245 GB, free: 78.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.5414, allocations: 7.844 kB / 0.5245 GB, free: 78.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/0.5458, allocations: 3.225 MB / 0.5276 GB, free: 76.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008102/0.5466, allocations: 355.4 kB / 0.528 GB, free: 76.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.5469, allocations: 33.2 kB / 0.528 GB, free: 76.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000956/0.5478, allocations: 99.95 kB / 0.5281 GB, free: 76.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002925/0.5481, allocations: 116.3 kB / 0.5282 GB, free: 76.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.5482, allocations: 38.61 kB / 0.5283 GB, free: 76.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.5493, allocations: 0.8015 MB / 0.529 GB, free: 76.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5493, allocations: 0 / 0.529 GB, free: 76.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00205/0.5514, allocations: 0.7448 MB / 0.5298 GB, free: 76.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 90 * 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.000313/0.5517, allocations: 190.7 kB / 0.53 GB, free: 75.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008056/0.5598, allocations: 6.682 MB / 0.5365 GB, free: 71.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.5598, allocations: 0 / 0.5365 GB, free: 71.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003416/0.5632, allocations: 2.838 MB / 0.5392 GB, free: 69.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.5649, allocations: 379.5 kB / 0.5396 GB, free: 68.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005365/0.5703, allocations: 4.183 MB / 0.5437 GB, free: 64.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009514/0.5712, allocations: 1.744 MB / 0.5454 GB, free: 63.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.5723, allocations: 415.6 kB / 0.5458 GB, free: 62.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.5725, allocations: 95.42 kB / 0.5459 GB, free: 62.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5725, allocations: 0 / 0.5459 GB, free: 62.72 MB / 382.1 MB Notification: Performance of Templates: time 0.04119/0.6137, allocations: 31.22 MB / 0.5764 GB, free: 31.84 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & ./EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)