Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.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.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.07007/0.07007, allocations: 8.035 MB / 23.97 MB, free: 84 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.0008599/0.0008602, allocations: 90.05 kB / 26.53 MB, free: 3.367 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.001378/0.001378, allocations: 188.7 kB / 29.22 MB, free: 0.7031 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.624/1.624, allocations: 223.2 MB / 255 MB, free: 3.766 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01226/0.01226, allocations: 3.12 MB / 311 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004658, allocations: 15.2 kB / 376.1 MB, free: 53.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 52.98 MB / 429.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008191/0.1451, allocations: 8.444 MB / 437.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005987/0.1511, allocations: 2.498 MB / 440 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.1529, allocations: 43.75 kB / 440.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.1542, allocations: 377.8 kB / 440.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.1564, allocations: 0.5827 MB / 441 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1576, allocations: 449.1 kB / 441.5 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.1602, allocations: 2.741 MB / 444.2 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.162, allocations: 1.728 MB / 445.9 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.1632, allocations: 0.8129 MB / 446.7 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.1643, allocations: 1.105 MB / 447.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.1645, allocations: 120 kB / 448 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.165, allocations: 227.8 kB / 448.2 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000486/0.1655, allocations: 0.5722 MB / 448.7 MB, free: 84 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.1667, allocations: 1.078 MB / 449.8 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.1696, allocations: 2.957 MB / 452.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.1696, allocations: 4 kB / 452.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1696, allocations: 0 / 452.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.016e-05/0.1697, allocations: 0 / 452.8 MB, free: 12.02 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.005359/0.175, allocations: 2.307 MB / 455.1 MB, free: 9.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.1751, allocations: 8.031 kB / 455.1 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007894/0.1759, allocations: 266 kB / 455.4 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.1782, allocations: 1.279 MB / 456.6 MB, free: 8.051 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.0003083/0.1785, allocations: 231.4 kB / 456.9 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/0.1788, allocations: 203.9 kB / 457.1 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005119/0.1839, allocations: 2.718 MB / 459.8 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.617e-05/0.184, allocations: 11.91 kB / 459.8 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/0.1842, allocations: 91.97 kB / 459.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.1844, allocations: 91.98 kB / 460 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004392/0.1888, allocations: 2.256 MB / 462.2 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.202, allocations: 8.016 MB / 470.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.2049, allocations: 1.645 MB / 471.9 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.2068, allocations: 0.9713 MB / 472.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.2071, allocations: 122 kB / 473 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/0.2085, allocations: 0.7928 MB / 473.8 MB, free: 6.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 3.206e-06/0.2085, allocations: 0 / 473.8 MB, free: 6.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01583/0.2243, allocations: 6.77 MB / 480.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.2245, allocations: 248.3 kB / 480.8 MB, free: 15.26 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: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.001984/0.2265, allocations: 1.197 MB / 482 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.2267, allocations: 53.7 kB / 482 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008802/0.2275, allocations: 0.9153 MB / 483 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/0.2279, allocations: 406.2 kB / 483.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.2281, allocations: 117.7 kB / 483.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.2283, allocations: 357.9 kB / 483.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.2297, allocations: 0.7177 MB / 484.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.2313, allocations: 1.12 MB / 485.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009144/0.2405, allocations: 3.64 MB / 489.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/0.2406, allocations: 0 / 489.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00498/0.2455, allocations: 2.55 MB / 491.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004103/0.246, allocations: 417.6 kB / 492.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.246, allocations: 12 kB / 492.3 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.2473, allocations: 0.5076 MB / 492.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.2484, allocations: 303.5 kB / 493.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008827/0.2572, allocations: 8.09 MB / 0.4894 GB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.2591, allocations: 155.8 kB / 0.4896 GB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.2592, allocations: 59.98 kB / 0.4896 GB, free: 9.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2592, allocations: 6.5 kB / 0.4896 GB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004255/0.2635, allocations: 2.359 MB / 0.4919 GB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.2635, allocations: 12 kB / 0.4919 GB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.2647, allocations: 0.5033 MB / 0.4924 GB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.2657, allocations: 287.5 kB / 0.4927 GB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2487/0.5144, allocations: 8.071 MB / 0.5006 GB, free: 67.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.5161, allocations: 137.2 kB / 0.5007 GB, free: 67.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.5162, allocations: 59.98 kB / 0.5008 GB, free: 67.37 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 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.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 (147): * Single equations (assignments): 140 * 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.001443/0.5177, allocations: 0.7241 MB / 0.5015 GB, free: 67.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/0.518, allocations: 135.5 kB / 0.5016 GB, free: 67.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/0.5222, allocations: 2.233 MB / 0.5038 GB, free: 66.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.5223, allocations: 15.97 kB / 0.5038 GB, free: 66.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.5223, allocations: 4.594 kB / 0.5038 GB, free: 66.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.5223, allocations: 7.75 kB / 0.5038 GB, free: 66.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007423/0.5297, allocations: 4.633 MB / 0.5083 GB, free: 64.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5298, allocations: 3.969 kB / 0.5083 GB, free: 64.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008799/0.5307, allocations: 210.5 kB / 0.5085 GB, free: 64.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/0.5322, allocations: 0.5184 MB / 0.5091 GB, free: 64.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.5323, allocations: 39.97 kB / 0.5091 GB, free: 64.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006242/0.5385, allocations: 7.909 MB / 0.5168 GB, free: 58.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5386, allocations: 3.969 kB / 0.5168 GB, free: 58.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/0.5434, allocations: 3.293 MB / 0.52 GB, free: 57.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006185/0.544, allocations: 352.9 kB / 0.5204 GB, free: 56.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.5442, allocations: 40.89 kB / 0.5204 GB, free: 56.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/0.5452, allocations: 130.6 kB / 0.5205 GB, free: 56.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.5454, allocations: 102.8 kB / 0.5206 GB, free: 56.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.316e-05/0.5455, allocations: 44.69 kB / 0.5207 GB, free: 56.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001023/0.5466, allocations: 0.801 MB / 0.5215 GB, free: 56.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5466, allocations: 0 / 0.5215 GB, free: 56.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002319/0.5489, allocations: 0.7418 MB / 0.5222 GB, free: 55.97 MB / 366.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,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 (98): * Single equations (assignments): 90 * 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.0003352/0.5492, allocations: 193.5 kB / 0.5224 GB, free: 55.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01215/0.5614, allocations: 7.199 MB / 0.5294 GB, free: 48.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.5615, allocations: 0 / 0.5294 GB, free: 48.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005437/0.5669, allocations: 3.086 MB / 0.5324 GB, free: 45.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.5695, allocations: 361.1 kB / 0.5328 GB, free: 44.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/0.5763, allocations: 5.164 MB / 0.5378 GB, free: 39.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.5774, allocations: 1.682 MB / 0.5394 GB, free: 37.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.5778, allocations: 99.42 kB / 0.5395 GB, free: 37.84 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5778, allocations: 0 / 0.5395 GB, free: 37.84 MB / 366.1 MB Notification: Performance of Templates: time 0.07419/0.652, allocations: 72.01 MB / 0.6099 GB, free: 13.82 MB / 414.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1