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 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_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0483/0.0483, allocations: 8.039 MB / 23.16 MB, free: 0.5234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009658/0.0009658, allocations: 107.7 kB / 25.72 MB, free: 3.586 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.001148/0.001148, allocations: 197.9 kB / 28.4 MB, free: 0.918 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 253.8 MB, free: 5.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01237/0.01237, allocations: 3.123 MB / 308.8 MB, free: 2.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001715, allocations: 83.86 kB / 372.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2023, allocations: 51.98 MB / 424.9 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.01116/0.2135, allocations: 9.068 MB / 434 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005316/0.2189, allocations: 2.599 MB / 436.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.2203, allocations: 47.75 kB / 436.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.2215, allocations: 405.5 kB / 437 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.2229, allocations: 0.571 MB / 437.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.2241, allocations: 455.5 kB / 438 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002776/0.2268, allocations: 2.758 MB / 440.8 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.2291, allocations: 1.748 MB / 442.6 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.2307, allocations: 0.9573 MB / 443.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.2322, allocations: 1.272 MB / 444.8 MB, free: 1.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.2326, allocations: 180 kB / 445 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000786/0.2334, allocations: 287.8 kB / 445.2 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000681/0.2341, allocations: 0.6659 MB / 445.9 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.2356, allocations: 1.17 MB / 447.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004554/0.2402, allocations: 3.59 MB / 450.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2402, allocations: 0 / 450.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2402, allocations: 0 / 450.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.189e-05/0.2403, allocations: 0 / 450.7 MB, free: 11.79 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.007689/0.248, allocations: 2.716 MB / 453.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.2481, allocations: 8.031 kB / 453.4 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007033/0.2488, allocations: 270 kB / 453.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.2508, allocations: 1.286 MB / 454.9 MB, free: 7.402 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.0002382/0.251, allocations: 227.4 kB / 455.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.2513, allocations: 207.9 kB / 455.4 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004282/0.2556, allocations: 2.711 MB / 458.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-05/0.2557, allocations: 15.89 kB / 458.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.2559, allocations: 87.98 kB / 458.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.256, allocations: 99.97 kB / 458.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003735/0.2597, allocations: 2.225 MB / 460.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.2715, allocations: 8.008 MB / 468.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.2741, allocations: 1.609 MB / 470.1 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.2757, allocations: 0.9535 MB / 471.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.2759, allocations: 130 kB / 471.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/0.2772, allocations: 0.7773 MB / 472 MB, free: 5.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.725e-06/0.2772, allocations: 0 / 472 MB, free: 5.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01378/0.291, allocations: 6.648 MB / 478.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.2912, allocations: 248.3 kB / 478.9 MB, free: 14.79 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.1017764061411688 / (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.1017764061411688 / (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.001794/0.293, allocations: 1.203 MB / 480.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.2931, allocations: 53.69 kB / 480.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007599/0.2939, allocations: 0.9231 MB / 481 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.2942, allocations: 414.2 kB / 481.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/0.2946, allocations: 251.4 kB / 481.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2948, allocations: 369.8 kB / 482.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.296, allocations: 0.7153 MB / 482.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.2976, allocations: 1.103 MB / 483.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008429/0.306, allocations: 3.583 MB / 487.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.306, allocations: 4 kB / 487.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004127/0.3102, allocations: 2.525 MB / 490 MB, free: 3.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.3102, allocations: 37.7 kB / 490 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.3102, allocations: 8.312 kB / 490 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.3114, allocations: 0.5021 MB / 490.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.3124, allocations: 295.5 kB / 490.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007408/0.3198, allocations: 8.075 MB / 498.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.3213, allocations: 135.8 kB / 499 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.3214, allocations: 63.92 kB / 499.1 MB, free: 9.598 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.002245/0.3237, allocations: 1.231 MB / 0.4886 GB, free: 8.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001414/0.3251, allocations: 1.072 MB / 0.4896 GB, free: 7.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008159/0.3333, allocations: 3.513 MB / 0.4931 GB, free: 3.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.135e-06/0.3333, allocations: 4 kB / 0.4931 GB, free: 3.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004147/0.3375, allocations: 2.482 MB / 0.4955 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.3375, allocations: 42.02 kB / 0.4955 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.3375, allocations: 8 kB / 0.4955 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.3387, allocations: 0.5079 MB / 0.496 GB, free: 364 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009961/0.3397, allocations: 279.6 kB / 0.4963 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007285/0.347, allocations: 8.079 MB / 0.5042 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.3485, allocations: 143.8 kB / 0.5043 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.3486, allocations: 59.98 kB / 0.5044 GB, free: 7.273 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.0004362/0.3491, allocations: 293.4 kB / 0.5047 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.3494, allocations: 134.4 kB / 0.5048 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/0.3533, allocations: 2.199 MB / 0.5069 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.3534, allocations: 15.94 kB / 0.507 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.3534, allocations: 4 kB / 0.507 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3534, allocations: 11.98 kB / 0.507 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.211/0.5643, allocations: 4.634 MB / 0.5115 GB, free: 84.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/0.5644, allocations: 4.453 kB / 0.5115 GB, free: 84.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.5655, allocations: 193.4 kB / 0.5117 GB, free: 84.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.567, allocations: 0.5188 MB / 0.5122 GB, free: 84.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.5672, allocations: 37.91 kB / 0.5122 GB, free: 84.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006539/0.5737, allocations: 7.903 MB / 0.52 GB, free: 79.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5737, allocations: 6.562 kB / 0.52 GB, free: 79.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004799/0.5786, allocations: 3.242 MB / 0.5231 GB, free: 77.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/0.5791, allocations: 362.9 kB / 0.5235 GB, free: 77.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.5793, allocations: 39.66 kB / 0.5235 GB, free: 77.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008668/0.5802, allocations: 101.5 kB / 0.5236 GB, free: 77.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/0.5804, allocations: 112.7 kB / 0.5237 GB, free: 77.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-05/0.5805, allocations: 39.41 kB / 0.5238 GB, free: 77.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.5815, allocations: 0.8026 MB / 0.5245 GB, free: 77.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5816, allocations: 0 / 0.5245 GB, free: 77.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002225/0.5838, allocations: 0.7427 MB / 0.5253 GB, free: 77.21 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.0002896/0.5841, allocations: 198.2 kB / 0.5254 GB, free: 77.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007913/0.592, allocations: 6.692 MB / 0.532 GB, free: 72.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.592, allocations: 0 / 0.532 GB, free: 72.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003366/0.5954, allocations: 2.847 MB / 0.5348 GB, free: 70.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.597, allocations: 358.1 kB / 0.5351 GB, free: 70.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/0.6022, allocations: 5.15 MB / 0.5401 GB, free: 66.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/0.6031, allocations: 1.751 MB / 0.5418 GB, free: 65.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.6041, allocations: 415.6 kB / 0.5422 GB, free: 64.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.6044, allocations: 95.42 kB / 0.5423 GB, free: 64.62 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6044, allocations: 0 / 0.5423 GB, free: 64.62 MB / 382.1 MB Notification: Performance of Templates: time 0.03486/0.6393, allocations: 30.15 MB / 0.5718 GB, free: 34.78 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.makefile (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=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)