Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04658/0.04658, allocations: 8.597 MB / 24.72 MB, free: 4.762 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009616/0.0009616, allocations: 103.1 kB / 27.43 MB, free: 2.566 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.001118/0.001118, allocations: 187.3 kB / 30.26 MB, free: 6.293 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 255.8 MB, free: 4.016 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01266/0.01266, allocations: 3.132 MB / 311 MB, free: 1.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 91.84 kB / 375.5 MB, free: 1.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2158, allocations: 52.13 MB / 427.6 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.008272/0.2241, allocations: 9.118 MB / 436.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.2295, allocations: 2.626 MB / 439.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.2309, allocations: 47.81 kB / 439.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.2322, allocations: 472.5 kB / 439.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.2341, allocations: 0.6482 MB / 440.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/0.2351, allocations: 0.4937 MB / 441 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.2371, allocations: 2.472 MB / 443.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.2389, allocations: 2.053 MB / 445.5 MB, free: 2.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.2401, allocations: 1.09 MB / 446.6 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.2412, allocations: 1.331 MB / 448 MB, free: 156 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003354/0.2415, allocations: 300 kB / 448.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006255/0.2422, allocations: 395.8 kB / 448.6 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000678/0.2429, allocations: 0.787 MB / 449.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.2441, allocations: 1.287 MB / 450.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.2475, allocations: 3.696 MB / 454.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2475, allocations: 0 / 454.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2475, allocations: 0 / 454.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.316e-05/0.2476, allocations: 0 / 454.4 MB, free: 9.684 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.00523/0.2528, allocations: 2.709 MB / 457.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2529, allocations: 8.031 kB / 457.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006709/0.2536, allocations: 270 kB / 457.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.2558, allocations: 1.283 MB / 458.7 MB, free: 5.305 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.0002322/0.256, allocations: 227.4 kB / 458.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002672/0.2563, allocations: 211.8 kB / 459.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004143/0.2604, allocations: 2.719 MB / 461.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.729e-05/0.2605, allocations: 7.906 kB / 461.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.2607, allocations: 84 kB / 461.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.2608, allocations: 104 kB / 462 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003802/0.2646, allocations: 2.221 MB / 464.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.277, allocations: 8.02 MB / 472.2 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.2796, allocations: 1.609 MB / 473.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.2813, allocations: 0.9517 MB / 474.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.2816, allocations: 126 kB / 474.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.2829, allocations: 0.7772 MB / 475.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 3.125e-06/0.2829, allocations: 0 / 475.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01396/0.2969, allocations: 6.65 MB / 482.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.297, allocations: 252.3 kB / 482.6 MB, free: 12.68 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:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.2987, allocations: 1.203 MB / 483.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.2989, allocations: 45.7 kB / 483.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007089/0.2996, allocations: 0.9309 MB / 484.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.2999, allocations: 402.2 kB / 485.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000406/0.3003, allocations: 263.4 kB / 485.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3004, allocations: 361.9 kB / 485.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.3016, allocations: 0.7153 MB / 486.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.303, allocations: 1.092 MB / 487.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008492/0.3115, allocations: 3.614 MB / 491.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.3116, allocations: 0 / 491.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004284/0.3159, allocations: 2.521 MB / 493.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.3159, allocations: 33.7 kB / 493.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.316, allocations: 12 kB / 493.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.3172, allocations: 0.5079 MB / 494.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.3182, allocations: 299.5 kB / 494.6 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007525/0.3258, allocations: 8.804 MB / 0.4916 GB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.3273, allocations: 119.9 kB / 0.4917 GB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.3274, allocations: 64.05 kB / 0.4918 GB, free: 6.73 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.002119/0.3296, allocations: 1.242 MB / 0.493 GB, free: 5.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00142/0.331, allocations: 1.08 MB / 0.494 GB, free: 4.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008233/0.3392, allocations: 3.532 MB / 0.4975 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-05/0.3393, allocations: 0 / 0.4975 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004472/0.3438, allocations: 2.482 MB / 0.4999 GB, free: 14.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.3438, allocations: 37.69 kB / 0.4999 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.3439, allocations: 15.94 kB / 0.4999 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.345, allocations: 0.5037 MB / 0.5004 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000999/0.346, allocations: 283.6 kB / 0.5007 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007935/0.354, allocations: 8.796 MB / 0.5093 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.3555, allocations: 139.8 kB / 0.5094 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.3556, allocations: 59.98 kB / 0.5095 GB, free: 3.633 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005014/0.3561, allocations: 299.5 kB / 0.5098 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.3564, allocations: 134.4 kB / 0.5099 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/0.3601, allocations: 2.203 MB / 0.5121 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.3601, allocations: 15.94 kB / 0.5121 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3601, allocations: 4 kB / 0.5121 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.3602, allocations: 3.984 kB / 0.5121 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1897/0.5499, allocations: 4.625 MB / 0.5166 GB, free: 84.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.5499, allocations: 2.75 kB / 0.5166 GB, free: 84.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008383/0.5508, allocations: 201.5 kB / 0.5168 GB, free: 84.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.5521, allocations: 0.5191 MB / 0.5173 GB, free: 83.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.787e-05/0.5523, allocations: 33.42 kB / 0.5173 GB, free: 83.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006158/0.5584, allocations: 8.628 MB / 0.5257 GB, free: 76.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5584, allocations: 3.719 kB / 0.5258 GB, free: 76.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/0.5638, allocations: 3.249 MB / 0.5289 GB, free: 75.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008491/0.5647, allocations: 362.1 kB / 0.5293 GB, free: 75.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.5649, allocations: 35.59 kB / 0.5293 GB, free: 75.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/0.5658, allocations: 102.6 kB / 0.5294 GB, free: 75.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.566, allocations: 111.9 kB / 0.5295 GB, free: 75.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/0.5661, allocations: 39.03 kB / 0.5295 GB, free: 75.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009742/0.5671, allocations: 0.8011 MB / 0.5303 GB, free: 75.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5671, allocations: 0.875 kB / 0.5303 GB, free: 75.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001973/0.5691, allocations: 0.7486 MB / 0.5311 GB, free: 74.94 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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003041/0.5694, allocations: 185.7 kB / 0.5312 GB, free: 74.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007958/0.5774, allocations: 6.707 MB / 0.5378 GB, free: 70.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.5774, allocations: 4 kB / 0.5378 GB, free: 70.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003457/0.5808, allocations: 2.839 MB / 0.5406 GB, free: 67.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.5825, allocations: 389.6 kB / 0.5409 GB, free: 67.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/0.5877, allocations: 4.275 MB / 0.5451 GB, free: 62.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009456/0.5887, allocations: 1.746 MB / 0.5468 GB, free: 61.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001069/0.5898, allocations: 415.6 kB / 0.5472 GB, free: 60.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.59, allocations: 103.4 kB / 0.5473 GB, free: 60.52 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.59, allocations: 0 / 0.5473 GB, free: 60.52 MB / 382.1 MB Notification: Performance of Templates: time 0.03844/0.6285, allocations: 31.31 MB / 0.5779 GB, free: 29.53 MB / 382.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.makefile (rm -f EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.sim & ./EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)