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.05169/0.05169, allocations: 8.033 MB / 23 MB, free: 0.5664 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.000778/0.0007781, allocations: 95.78 kB / 25.56 MB, free: 3.793 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.001129/0.001129, allocations: 185.3 kB / 28.23 MB, free: 1.133 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.418/1.418, allocations: 223.3 MB / 254 MB, free: 5.715 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01207/0.01207, allocations: 3.106 MB / 310 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004649, allocations: 12 kB / 374.8 MB, free: 80 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2847, allocations: 52.98 MB / 427.8 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.007321/0.2921, allocations: 8.047 MB / 435.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00615/0.2983, allocations: 2.506 MB / 438.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.3002, allocations: 39.81 kB / 438.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.3014, allocations: 353.7 kB / 438.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.3032, allocations: 0.5476 MB / 439.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.3042, allocations: 337.4 kB / 439.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00281/0.3071, allocations: 2.492 MB / 442.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.3086, allocations: 1.34 MB / 443.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.3101, allocations: 0.8054 MB / 444.2 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.3113, allocations: 1.07 MB / 445.3 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.3116, allocations: 127.9 kB / 445.4 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005146/0.3121, allocations: 187.9 kB / 445.6 MB, free: 2.621 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00045/0.3125, allocations: 0.584 MB / 446.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.313, allocations: 444.6 kB / 446.6 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.3154, allocations: 2.972 MB / 449.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3155, allocations: 0 / 449.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.3155, allocations: 0 / 449.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.602e-05/0.3155, allocations: 0 / 449.6 MB, free: 14.61 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.005059/0.3206, allocations: 2.35 MB / 451.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3207, allocations: 8.031 kB / 451.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000812/0.3215, allocations: 265.1 kB / 452.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.3237, allocations: 1.255 MB / 453.5 MB, free: 10.62 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.0002977/0.324, allocations: 227.5 kB / 453.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.3243, allocations: 215.8 kB / 453.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004817/0.3291, allocations: 2.719 MB / 456.6 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.322e-05/0.3292, allocations: 7.938 kB / 456.6 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/0.3294, allocations: 80 kB / 456.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.3295, allocations: 100 kB / 456.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004211/0.3337, allocations: 2.257 MB / 459 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/0.3476, allocations: 8.071 MB / 467.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.3504, allocations: 1.66 MB / 468.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.3522, allocations: 0.9868 MB / 469.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/0.3525, allocations: 118.1 kB / 469.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/0.3539, allocations: 0.7929 MB / 470.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 4.388e-06/0.354, allocations: 0 / 470.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01615/0.3701, allocations: 6.814 MB / 477.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/0.3704, allocations: 244.3 kB / 477.7 MB, free: 1.664 MB / 334.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.002624/0.373, allocations: 1.199 MB / 478.9 MB, free: 464 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.3732, allocations: 53.7 kB / 479 MB, free: 404 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.3743, allocations: 0.9232 MB / 479.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004872/0.3748, allocations: 422 kB / 480.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3749, allocations: 28 kB / 480.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.3751, allocations: 357.9 kB / 480.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.3767, allocations: 0.7183 MB / 481.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.3786, allocations: 1.119 MB / 482.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.3802, allocations: 0.903 MB / 483.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.3802, allocations: 4 kB / 483.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005205/0.3855, allocations: 2.56 MB / 486 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003297/0.3858, allocations: 422.2 kB / 486.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.3858, allocations: 8 kB / 486.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.3871, allocations: 0.5101 MB / 486.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.3882, allocations: 307.5 kB / 487.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008429/0.3966, allocations: 8.076 MB / 495.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.3982, allocations: 143.8 kB / 495.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.3984, allocations: 59.98 kB / 495.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.3985, allocations: 4 kB / 495.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004621/0.4031, allocations: 2.365 MB / 497.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/0.4031, allocations: 15.95 kB / 497.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.4044, allocations: 0.4999 MB / 498.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4054, allocations: 291.6 kB / 498.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007867/0.4133, allocations: 8.075 MB / 0.4949 GB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.4147, allocations: 135.8 kB / 0.495 GB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.4149, allocations: 59.98 kB / 0.4951 GB, free: 2.914 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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,$PRE.wReq.T_start,wReq.T_start,$PRE.wReq.count,wReq.count,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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001476/0.4164, allocations: 0.722 MB / 0.4958 GB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.4167, allocations: 138.4 kB / 0.4959 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004213/0.421, allocations: 2.254 MB / 0.4981 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.421, allocations: 12 kB / 0.4981 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/0.421, allocations: 4 kB / 0.4981 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.421, allocations: 7.969 kB / 0.4981 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007996/0.429, allocations: 4.658 MB / 0.5027 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.4291, allocations: 4.469 kB / 0.5027 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000865/0.4299, allocations: 219.7 kB / 0.5029 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.4313, allocations: 0.5114 MB / 0.5034 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.4314, allocations: 39.98 kB / 0.5034 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007554/0.439, allocations: 7.906 MB / 0.5111 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.439, allocations: 7.938 kB / 0.5111 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2354/0.6744, allocations: 3.293 MB / 0.5144 GB, free: 82.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008679/0.6753, allocations: 360 kB / 0.5147 GB, free: 82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.6755, allocations: 34.81 kB / 0.5147 GB, free: 82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009406/0.6765, allocations: 121.6 kB / 0.5149 GB, free: 82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.6768, allocations: 112.7 kB / 0.515 GB, free: 82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.216e-05/0.6769, allocations: 42.81 kB / 0.515 GB, free: 82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001146/0.678, allocations: 0.7892 MB / 0.5158 GB, free: 81.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.678, allocations: 0 / 0.5158 GB, free: 81.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002474/0.6805, allocations: 0.7495 MB / 0.5165 GB, free: 81.89 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003064/0.6808, allocations: 152 kB / 0.5166 GB, free: 81.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009317/0.6902, allocations: 6.757 MB / 0.5232 GB, free: 77.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.6902, allocations: 1.219 kB / 0.5232 GB, free: 77.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003938/0.6942, allocations: 2.874 MB / 0.5261 GB, free: 75.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.6966, allocations: 363.6 kB / 0.5264 GB, free: 75.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006736/0.7034, allocations: 5.059 MB / 0.5313 GB, free: 73.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.7045, allocations: 1.747 MB / 0.533 GB, free: 72.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001245/0.7057, allocations: 406.1 kB / 0.5334 GB, free: 72.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.706, allocations: 96.77 kB / 0.5335 GB, free: 72.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.706, allocations: 4 kB / 0.5335 GB, free: 72.14 MB / 382.1 MB Notification: Performance of Templates: time 0.04326/0.7493, allocations: 28.88 MB / 0.5617 GB, free: 45.64 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)