Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06895/0.06895, allocations: 8.022 MB / 23.8 MB, free: 100 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.001222/0.001222, allocations: 106 kB / 26.37 MB, free: 3.34 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.001631/0.001631, allocations: 195.7 kB / 29.05 MB, free: 0.6719 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.518/1.518, allocations: 222.9 MB / 254.5 MB, free: 4.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01264/0.01264, allocations: 3.122 MB / 309.5 MB, free: 2.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 87.86 kB / 373.6 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3078, allocations: 51.98 MB / 425.6 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008826/0.3167, allocations: 8.978 MB / 434.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005129/0.3218, allocations: 2.521 MB / 437.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.3232, allocations: 43.81 kB / 437.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.3245, allocations: 381.7 kB / 437.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.3262, allocations: 0.5788 MB / 438.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009146/0.3271, allocations: 449.5 kB / 438.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.3291, allocations: 2.741 MB / 441.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.3306, allocations: 1.748 MB / 443 MB, free: 4.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.3317, allocations: 0.9418 MB / 443.9 MB, free: 3.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.3328, allocations: 1.261 MB / 445.2 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.333, allocations: 180 kB / 445.4 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005333/0.3335, allocations: 283.8 kB / 445.6 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004961/0.3341, allocations: 0.6698 MB / 446.3 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009488/0.335, allocations: 1.162 MB / 447.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.3374, allocations: 3.024 MB / 450.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3375, allocations: 0 / 450.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3375, allocations: 0 / 450.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.419e-05/0.3375, allocations: 0 / 450.5 MB, free: 12.57 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.00585/0.3434, allocations: 2.689 MB / 453.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.3435, allocations: 8.031 kB / 453.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007668/0.3442, allocations: 262.1 kB / 453.4 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.3464, allocations: 1.294 MB / 454.7 MB, free: 8.203 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.0002836/0.3467, allocations: 219.4 kB / 455 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/0.3471, allocations: 207.9 kB / 455.2 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005074/0.3522, allocations: 2.69 MB / 457.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.825e-05/0.3522, allocations: 8 kB / 457.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/0.3525, allocations: 84 kB / 457.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.3526, allocations: 99.97 kB / 458 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004225/0.3568, allocations: 2.202 MB / 460.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/0.3719, allocations: 7.961 MB / 468.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/0.3752, allocations: 1.581 MB / 469.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.3772, allocations: 0.9479 MB / 470.7 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003254/0.3775, allocations: 126 kB / 470.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/0.379, allocations: 0.7694 MB / 471.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.635e-06/0.379, allocations: 0 / 471.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01509/0.3941, allocations: 6.605 MB / 478.2 MB, free: 140 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.3943, allocations: 244.3 kB / 478.5 MB, free: 15.84 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.001965/0.3963, allocations: 1.2 MB / 479.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.589e-05/0.3964, allocations: 45.7 kB / 479.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009838/0.3974, allocations: 0.9193 MB / 480.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004171/0.3978, allocations: 406.3 kB / 481 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/0.3983, allocations: 246.8 kB / 481.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3985, allocations: 361.9 kB / 481.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.3997, allocations: 0.7015 MB / 482.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.4014, allocations: 1.097 MB / 483.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008948/0.4103, allocations: 3.558 MB / 487 MB, free: 6.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.4104, allocations: 0 / 487 MB, free: 6.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004718/0.4151, allocations: 2.515 MB / 489.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.4152, allocations: 33.7 kB / 489.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.4152, allocations: 12 kB / 489.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.4165, allocations: 0.4976 MB / 490 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.4176, allocations: 291.5 kB / 490.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008646/0.4263, allocations: 8.087 MB / 498.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.428, allocations: 123.8 kB / 498.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/0.4283, allocations: 55.98 kB / 498.6 MB, free: 10.75 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.002728/0.431, allocations: 1.227 MB / 499.8 MB, free: 9.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001655/0.4327, allocations: 1.066 MB / 0.4891 GB, free: 8.305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008792/0.4415, allocations: 3.496 MB / 0.4925 GB, free: 4.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.289e-05/0.4415, allocations: 7.938 kB / 0.4926 GB, free: 4.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.00458/0.4461, allocations: 2.465 MB / 0.495 GB, free: 2.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.4462, allocations: 41.7 kB / 0.495 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.4462, allocations: 8 kB / 0.495 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.4474, allocations: 0.5001 MB / 0.4955 GB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4485, allocations: 279.6 kB / 0.4958 GB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008201/0.4567, allocations: 8.075 MB / 0.5036 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.4584, allocations: 135.9 kB / 0.5038 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.4586, allocations: 59.98 kB / 0.5038 GB, free: 8.477 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.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.000686/0.4593, allocations: 308.3 kB / 0.5041 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006326/0.46, allocations: 134.4 kB / 0.5043 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004442/0.4644, allocations: 2.183 MB / 0.5064 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.4644, allocations: 15.98 kB / 0.5064 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/0.4645, allocations: 7.938 kB / 0.5064 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.4645, allocations: 11.98 kB / 0.5064 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008455/0.4729, allocations: 4.6 MB / 0.5109 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.473, allocations: 4 kB / 0.5109 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/0.4739, allocations: 191.7 kB / 0.5111 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.4753, allocations: 0.5192 MB / 0.5116 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.4754, allocations: 43.97 kB / 0.5117 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2917/0.7671, allocations: 7.881 MB / 0.5193 GB, free: 80.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.7671, allocations: 9.094 kB / 0.5194 GB, free: 80.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005731/0.7729, allocations: 3.218 MB / 0.5225 GB, free: 78.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008175/0.7737, allocations: 360.3 kB / 0.5228 GB, free: 78.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.774, allocations: 31.75 kB / 0.5229 GB, free: 78.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009256/0.7749, allocations: 105.5 kB / 0.523 GB, free: 78.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.7752, allocations: 111.9 kB / 0.5231 GB, free: 78.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.7753, allocations: 39.5 kB / 0.5231 GB, free: 78.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001027/0.7763, allocations: 0.7979 MB / 0.5239 GB, free: 78.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7763, allocations: 3.969 kB / 0.5239 GB, free: 78.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002797/0.7791, allocations: 0.7383 MB / 0.5246 GB, free: 78.17 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 (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.0004311/0.7796, allocations: 188.7 kB / 0.5248 GB, free: 78.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01281/0.7924, allocations: 7.135 MB / 0.5318 GB, free: 73.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.7925, allocations: 0 / 0.5318 GB, free: 73.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005861/0.7983, allocations: 3.057 MB / 0.5348 GB, free: 71.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.8006, allocations: 350.1 kB / 0.5351 GB, free: 71.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/0.8071, allocations: 5.027 MB / 0.54 GB, free: 67.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.8081, allocations: 1.675 MB / 0.5416 GB, free: 65.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.8085, allocations: 105.2 kB / 0.5417 GB, free: 65.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.8085, allocations: 0 / 0.5417 GB, free: 65.75 MB / 382.1 MB Notification: Performance of Templates: time 0.06686/0.8754, allocations: 72.28 MB / 0.6123 GB, free: 9.465 MB / 398.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile make -j1 -f EHPTexamples_latest_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_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1