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.05554/0.05554, allocations: 8.616 MB / 24.23 MB, free: 4.574 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.0008293/0.0008292, allocations: 98.78 kB / 26.93 MB, free: 2.773 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.001243/0.001243, allocations: 185 kB / 29.74 MB, free: 6.527 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.3 MB / 255.7 MB, free: 4.902 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01223/0.01223, allocations: 3.12 MB / 311.8 MB, free: 12 kB / 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.0004564/0.0004566, allocations: 12.28 kB / 376.7 MB, free: 52.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 53.12 MB / 429.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.007339/0.1332, allocations: 7.958 MB / 437.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004666/0.1379, allocations: 2.413 MB / 440.2 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.1391, allocations: 39.81 kB / 440.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009025/0.14, allocations: 365.7 kB / 440.6 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.1413, allocations: 0.5437 MB / 441.2 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008272/0.1422, allocations: 319.5 kB / 441.5 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.1443, allocations: 2.479 MB / 443.9 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.1456, allocations: 1.32 MB / 445.3 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.1468, allocations: 0.8054 MB / 446.1 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009599/0.1477, allocations: 1.066 MB / 447.1 MB, free: 1.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.1479, allocations: 124 kB / 447.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.1483, allocations: 187.9 kB / 447.4 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.1488, allocations: 0.5802 MB / 448 MB, free: 320 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.1492, allocations: 444.7 kB / 448.5 MB, free: 15.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.1516, allocations: 2.957 MB / 451.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1517, allocations: 0 / 451.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1517, allocations: 3.938 kB / 451.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.593e-05/0.1517, allocations: 3.938 kB / 451.4 MB, free: 12.9 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.00669/0.1584, allocations: 2.319 MB / 453.7 MB, free: 10.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.1585, allocations: 12.03 kB / 453.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.1597, allocations: 261.2 kB / 454 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.1628, allocations: 1.247 MB / 455.3 MB, free: 8.945 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.0003689/0.1632, allocations: 227.4 kB / 455.5 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004676/0.1637, allocations: 211.9 kB / 455.7 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007032/0.1707, allocations: 2.698 MB / 458.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.995e-05/0.1708, allocations: 7.938 kB / 458.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/0.1711, allocations: 84 kB / 458.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.1713, allocations: 95.97 kB / 458.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006079/0.1774, allocations: 2.241 MB / 460.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/0.1962, allocations: 8.028 MB / 468.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/0.2002, allocations: 1.629 MB / 470.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00253/0.2027, allocations: 0.9674 MB / 471.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003354/0.2031, allocations: 118.1 kB / 471.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/0.2052, allocations: 0.8006 MB / 472.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 7.033e-06/0.2052, allocations: 0 / 472.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.02179/0.227, allocations: 6.755 MB / 479.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.2272, allocations: 248.3 kB / 479.3 MB, free: 232 kB / 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.002632/0.2299, allocations: 1.187 MB / 480.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.23, allocations: 49.7 kB / 480.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.2311, allocations: 0.9192 MB / 481.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.2315, allocations: 402.3 kB / 481.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2317, allocations: 28 kB / 481.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.2319, allocations: 357.9 kB / 482.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.2333, allocations: 0.7098 MB / 483 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.235, allocations: 1.109 MB / 484.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.2367, allocations: 0.8903 MB / 485 MB, free: 10.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.2367, allocations: 4 kB / 485 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004949/0.2416, allocations: 2.55 MB / 487.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003731/0.242, allocations: 421.7 kB / 487.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.2421, allocations: 12 kB / 488 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.2433, allocations: 0.5076 MB / 488.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.2445, allocations: 299.5 kB / 488.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008396/0.2529, allocations: 8.088 MB / 496.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.2545, allocations: 139.9 kB / 497 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.2547, allocations: 59.98 kB / 497 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2548, allocations: 4 kB / 497 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0045/0.2593, allocations: 2.347 MB / 499.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.211e-05/0.2593, allocations: 12 kB / 499.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.2605, allocations: 0.5112 MB / 499.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.2616, allocations: 287.5 kB / 0.4885 GB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008623/0.2703, allocations: 8.068 MB / 0.4963 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.272, allocations: 131.9 kB / 0.4965 GB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.2723, allocations: 63.92 kB / 0.4965 GB, free: 1.578 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.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 (147): * Single equations (assignments): 140 * 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.001859/0.2742, allocations: 0.7205 MB / 0.4972 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006178/0.2748, allocations: 134.3 kB / 0.4974 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/0.2794, allocations: 2.227 MB / 0.4995 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.2795, allocations: 12 kB / 0.4996 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.963e-05/0.2795, allocations: 15.95 kB / 0.4996 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.2795, allocations: 7.969 kB / 0.4996 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008342/0.2879, allocations: 4.615 MB / 0.5041 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.2879, allocations: 7.953 kB / 0.5041 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008291/0.2888, allocations: 212.1 kB / 0.5043 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.29, allocations: 0.5142 MB / 0.5048 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.2902, allocations: 43.97 kB / 0.5048 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007774/0.2979, allocations: 7.89 MB / 0.5125 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.298, allocations: 4 kB / 0.5125 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3125/0.6105, allocations: 3.272 MB / 0.5157 GB, free: 81.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009892/0.6116, allocations: 359.2 kB / 0.5161 GB, free: 81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.6118, allocations: 33.97 kB / 0.5161 GB, free: 81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009432/0.6127, allocations: 123.3 kB / 0.5162 GB, free: 81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/0.6131, allocations: 114.4 kB / 0.5163 GB, free: 81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.958e-05/0.6132, allocations: 40.73 kB / 0.5164 GB, free: 81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001367/0.6145, allocations: 0.788 MB / 0.5171 GB, free: 80.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6145, allocations: 5.906 kB / 0.5172 GB, free: 80.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00301/0.6176, allocations: 0.7453 MB / 0.5179 GB, free: 80.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,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 (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.0003276/0.6179, allocations: 147.3 kB / 0.518 GB, free: 80.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01375/0.6317, allocations: 7.195 MB / 0.525 GB, free: 76.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.6317, allocations: 0 / 0.525 GB, free: 76.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005542/0.6373, allocations: 3.085 MB / 0.5281 GB, free: 75.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.6394, allocations: 353.8 kB / 0.5284 GB, free: 74.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.6459, allocations: 4.959 MB / 0.5332 GB, free: 72.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/0.6472, allocations: 1.67 MB / 0.5349 GB, free: 71.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/0.6477, allocations: 102.1 kB / 0.535 GB, free: 71.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6477, allocations: 0 / 0.535 GB, free: 71.28 MB / 382.1 MB Notification: Performance of Templates: time 0.06264/0.7103, allocations: 71.99 MB / 0.6053 GB, free: 356 kB / 382.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.makefile make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1