Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05677/0.05677, allocations: 8.034 MB / 23.53 MB, free: 4.816 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.001022/0.001022, allocations: 113.8 kB / 26.12 MB, free: 3.062 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.001272/0.001272, allocations: 197 kB / 28.8 MB, free: 400 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.396/1.396, allocations: 222.9 MB / 254.2 MB, free: 4.773 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.02106/0.02106, allocations: 3.128 MB / 309.3 MB, free: 2.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001983, allocations: 95.84 kB / 373.7 MB, free: 1.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2233, allocations: 51.98 MB / 425.6 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.008452/0.2318, allocations: 9.127 MB / 434.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00536/0.2372, allocations: 2.63 MB / 437.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.2393, allocations: 43.81 kB / 437.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.2407, allocations: 468.5 kB / 437.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.2425, allocations: 0.6521 MB / 438.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2437, allocations: 0.4915 MB / 439 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002113/0.2458, allocations: 2.476 MB / 441.5 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.2474, allocations: 2.049 MB / 443.6 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.2486, allocations: 1.09 MB / 444.7 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.2498, allocations: 1.327 MB / 446 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003413/0.2501, allocations: 300 kB / 446.3 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005908/0.2507, allocations: 391.8 kB / 446.7 MB, free: 288 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006758/0.2514, allocations: 0.7871 MB / 447.4 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.2528, allocations: 1.287 MB / 448.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.2561, allocations: 3.696 MB / 452.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2561, allocations: 0 / 452.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2561, allocations: 0 / 452.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.169e-05/0.2562, allocations: 0 / 452.4 MB, free: 10.49 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.005301/0.2615, allocations: 2.709 MB / 455.1 MB, free: 7.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2616, allocations: 8.031 kB / 455.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007386/0.2623, allocations: 270 kB / 455.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.2642, allocations: 1.29 MB / 456.7 MB, free: 6.105 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.0002354/0.2645, allocations: 237.7 kB / 456.9 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/0.2648, allocations: 211.9 kB / 457.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/0.269, allocations: 2.703 MB / 459.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-05/0.269, allocations: 11.91 kB / 459.9 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.2692, allocations: 84 kB / 459.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.6e-05/0.2693, allocations: 100 kB / 460 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.2731, allocations: 2.225 MB / 462.3 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.2852, allocations: 8.024 MB / 470.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.2879, allocations: 1.605 MB / 471.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.2895, allocations: 0.9518 MB / 472.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.2898, allocations: 118.1 kB / 473 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.291, allocations: 0.785 MB / 473.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 3.436e-06/0.291, allocations: 0 / 473.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01416/0.3052, allocations: 6.646 MB / 480.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.3054, allocations: 252.3 kB / 480.6 MB, free: 13.49 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.001864/0.3073, allocations: 1.199 MB / 481.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.3074, allocations: 49.7 kB / 481.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000794/0.3082, allocations: 0.9347 MB / 482.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.3086, allocations: 418.2 kB / 483.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004004/0.309, allocations: 247.4 kB / 483.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3091, allocations: 365.9 kB / 483.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.3103, allocations: 0.7113 MB / 484.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.3119, allocations: 1.104 MB / 485.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008359/0.3202, allocations: 3.61 MB / 489.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.3203, allocations: 4 kB / 489.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00431/0.3246, allocations: 2.513 MB / 491.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.3247, allocations: 42 kB / 491.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3247, allocations: 12 kB / 491.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.3258, allocations: 0.5076 MB / 492.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.3269, allocations: 291.5 kB / 492.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007754/0.3346, allocations: 8.806 MB / 0.4897 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.3363, allocations: 131.9 kB / 0.4898 GB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.3364, allocations: 52.16 kB / 0.4898 GB, free: 7.539 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.002235/0.3386, allocations: 1.242 MB / 0.4911 GB, free: 6.297 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001344/0.34, allocations: 1.072 MB / 0.4921 GB, free: 5.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008065/0.3481, allocations: 3.536 MB / 0.4956 GB, free: 1.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-05/0.3481, allocations: 4 kB / 0.4956 GB, free: 1.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003965/0.3521, allocations: 2.474 MB / 0.498 GB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.3521, allocations: 41.7 kB / 0.498 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3521, allocations: 8 kB / 0.498 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.3532, allocations: 0.5001 MB / 0.4985 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/0.3542, allocations: 283.6 kB / 0.4988 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/0.3617, allocations: 8.798 MB / 0.5074 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.3632, allocations: 139.8 kB / 0.5075 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.3633, allocations: 55.98 kB / 0.5076 GB, free: 4.453 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.000422/0.3637, allocations: 304.6 kB / 0.5078 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.364, allocations: 134.4 kB / 0.508 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.3678, allocations: 2.207 MB / 0.5101 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.3678, allocations: 15.94 kB / 0.5101 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3679, allocations: 4 kB / 0.5101 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.3679, allocations: 7.969 kB / 0.5102 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2687/0.6366, allocations: 4.62 MB / 0.5147 GB, free: 85.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.6367, allocations: 4.5 kB / 0.5147 GB, free: 85.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009228/0.6376, allocations: 204.7 kB / 0.5149 GB, free: 85.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.6391, allocations: 0.5171 MB / 0.5154 GB, free: 85.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.6392, allocations: 38.05 kB / 0.5154 GB, free: 85.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006585/0.6458, allocations: 8.633 MB / 0.5238 GB, free: 78.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6458, allocations: 3.906 kB / 0.5238 GB, free: 78.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005141/0.651, allocations: 3.242 MB / 0.527 GB, free: 77.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007165/0.6517, allocations: 356 kB / 0.5273 GB, free: 76.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.6519, allocations: 36.14 kB / 0.5274 GB, free: 76.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009475/0.6529, allocations: 102.4 kB / 0.5275 GB, free: 76.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/0.6532, allocations: 119.7 kB / 0.5276 GB, free: 76.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/0.6532, allocations: 39.89 kB / 0.5276 GB, free: 76.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000976/0.6542, allocations: 0.7946 MB / 0.5284 GB, free: 76.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6542, allocations: 0 / 0.5284 GB, free: 76.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002378/0.6566, allocations: 0.7467 MB / 0.5291 GB, free: 76.37 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.0003355/0.657, allocations: 201.2 kB / 0.5293 GB, free: 76.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009624/0.6666, allocations: 7.11 MB / 0.5363 GB, free: 71.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.6667, allocations: 0 / 0.5363 GB, free: 71.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003706/0.6704, allocations: 2.847 MB / 0.5391 GB, free: 68.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.6727, allocations: 375.6 kB / 0.5394 GB, free: 68.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/0.679, allocations: 4.289 MB / 0.5436 GB, free: 64.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.6802, allocations: 1.754 MB / 0.5453 GB, free: 62.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001284/0.6815, allocations: 411.6 kB / 0.5457 GB, free: 62.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.6817, allocations: 103.4 kB / 0.5458 GB, free: 62 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6817, allocations: 4 kB / 0.5458 GB, free: 61.99 MB / 382.1 MB Notification: Performance of Templates: time 0.04353/0.7253, allocations: 31.3 MB / 0.5764 GB, free: 31.02 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.makefile (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.sim & ./EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)