Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.05993/0.05993, allocations: 8.622 MB / 23.58 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008618, allocations: 96 kB / 26.28 MB, free: 3.09 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.001125/0.001125, allocations: 178.9 kB / 29.09 MB, free: 304 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.344/1.344, allocations: 223.2 MB / 254.9 MB, free: 3.117 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01173/0.01173, allocations: 3.122 MB / 311.1 MB, free: 1.543 MB / 238.1 MB Warning: Requested package EHPTlib of version 2.1.0, but this package was already loaded with version . OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 12 kB / 376 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2356, allocations: 53.12 MB / 429.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.006444/0.2421, allocations: 7.342 MB / 436.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004682/0.2468, allocations: 2.477 MB / 438.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.2479, allocations: 39.81 kB / 439 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008067/0.2487, allocations: 354 kB / 439.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.25, allocations: 0.5491 MB / 439.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007833/0.2508, allocations: 335.4 kB / 440.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.2527, allocations: 1.56 MB / 441.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.2538, allocations: 1.309 MB / 443.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009458/0.2548, allocations: 0.7551 MB / 443.8 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008409/0.2557, allocations: 0.9337 MB / 444.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.2558, allocations: 124 kB / 444.9 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.2562, allocations: 179.9 kB / 445 MB, free: 3.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.2567, allocations: 0.553 MB / 445.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.2571, allocations: 444.6 kB / 446 MB, free: 2.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.2588, allocations: 2.933 MB / 449 MB, free: 15.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.2588, allocations: 0 / 449 MB, free: 15.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2588, allocations: 0 / 449 MB, free: 15.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.135e-05/0.2589, allocations: 0 / 449 MB, free: 15.88 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.004918/0.2638, allocations: 2.334 MB / 451.3 MB, free: 13.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2639, allocations: 8.031 kB / 451.3 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007725/0.2646, allocations: 261.2 kB / 451.6 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.2669, allocations: 1.262 MB / 452.8 MB, free: 11.9 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.0003046/0.2672, allocations: 223.4 kB / 453 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/0.2676, allocations: 211.8 kB / 453.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004335/0.2719, allocations: 2.683 MB / 455.9 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/0.272, allocations: 4 kB / 455.9 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.2722, allocations: 83.98 kB / 456 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.884e-05/0.2723, allocations: 99.97 kB / 456.1 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004036/0.2763, allocations: 2.241 MB / 458.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.2886, allocations: 8.008 MB / 466.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.2914, allocations: 1.619 MB / 468 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.2916, allocations: 130.1 kB / 468.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.2929, allocations: 0.7959 MB / 468.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.685e-06/0.2929, allocations: 0 / 468.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01407/0.307, allocations: 6.577 MB / 475.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.3071, allocations: 222.6 kB / 475.7 MB, free: 4.391 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: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: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.001616/0.3087, allocations: 1.179 MB / 476.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/0.3088, allocations: 45.7 kB / 476.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007514/0.3096, allocations: 0.9115 MB / 477.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.3099, allocations: 422.1 kB / 478.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.31, allocations: 27.94 kB / 478.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3102, allocations: 357.9 kB / 478.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.3114, allocations: 0.7254 MB / 479.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.3132, allocations: 1.104 MB / 480.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.3147, allocations: 0.9062 MB / 481.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.3147, allocations: 4 kB / 481.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004297/0.319, allocations: 2.533 MB / 483.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001878/0.3209, allocations: 3.881 MB / 487.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.321, allocations: 12 kB / 487.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.3224, allocations: 485.7 kB / 488.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.3238, allocations: 315.5 kB / 488.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008769/0.3326, allocations: 8.037 MB / 496.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.3342, allocations: 151.8 kB / 496.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.3344, allocations: 55.98 kB / 496.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3344, allocations: 4 kB / 496.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003968/0.3384, allocations: 2.345 MB / 499.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.3384, allocations: 12.09 kB / 499.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.3395, allocations: 492.3 kB / 499.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.3406, allocations: 303.5 kB / 500 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007466/0.3481, allocations: 8.021 MB / 0.4961 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.3496, allocations: 131.9 kB / 0.4962 GB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.3498, allocations: 56 kB / 0.4962 GB, free: 2.254 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: 44 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,$PRE.tqReq.T_start,tqReq.T_start,$PRE.tqReq.count,tqReq.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%) 3,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001395/0.3512, allocations: 0.7293 MB / 0.497 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.3514, allocations: 134.4 kB / 0.4971 GB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.3553, allocations: 2.226 MB / 0.4993 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.3553, allocations: 12 kB / 0.4993 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.3553, allocations: 4 kB / 0.4993 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.3553, allocations: 3.984 kB / 0.4993 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008084/0.3634, allocations: 4.518 MB / 0.5037 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.3635, allocations: 4 kB / 0.5037 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/0.3643, allocations: 212.1 kB / 0.5039 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.3656, allocations: 0.4958 MB / 0.5044 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.3658, allocations: 39.97 kB / 0.5044 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007837/0.3736, allocations: 7.871 MB / 0.5121 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.3736, allocations: 7.953 kB / 0.5121 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2179/0.5915, allocations: 3.417 MB / 0.5154 GB, free: 82.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000927/0.5925, allocations: 362 kB / 0.5158 GB, free: 82.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.5927, allocations: 36.2 kB / 0.5158 GB, free: 82.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.5938, allocations: 119.3 kB / 0.5159 GB, free: 82.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/0.5941, allocations: 110.5 kB / 0.516 GB, free: 82.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.674e-05/0.5942, allocations: 41.67 kB / 0.5161 GB, free: 82.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001399/0.5956, allocations: 0.7766 MB / 0.5168 GB, free: 81.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5956, allocations: 0 / 0.5168 GB, free: 81.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002897/0.5985, allocations: 0.7391 MB / 0.5176 GB, free: 81.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 92 * 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%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003598/0.5989, allocations: 157.1 kB / 0.5177 GB, free: 81.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009217/0.6081, allocations: 6.71 MB / 0.5243 GB, free: 77.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.6082, allocations: 3.969 kB / 0.5243 GB, free: 77.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004014/0.6122, allocations: 2.857 MB / 0.5271 GB, free: 75.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.614, allocations: 338.5 kB / 0.5274 GB, free: 75.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006113/0.6201, allocations: 5 MB / 0.5323 GB, free: 73.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.6213, allocations: 1.777 MB / 0.534 GB, free: 72.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001215/0.6226, allocations: 418 kB / 0.5344 GB, free: 72.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.6228, allocations: 96.05 kB / 0.5345 GB, free: 72.15 MB / 382.1 MB Notification: Performance of SimCode: time 1.041e-06/0.6228, allocations: 0 / 0.5345 GB, free: 72.15 MB / 382.1 MB Notification: Performance of Templates: time 0.03902/0.6619, allocations: 28.65 MB / 0.5625 GB, free: 44.89 MB / 382.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.makefile (rm -f EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.sim & ./EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)