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 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_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 2.1.4-main/package.mo): time 0.08629/0.08629, allocations: 8.007 MB / 23.79 MB, free: 0.5547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 107.7 kB / 26.35 MB, free: 3.555 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.001475/0.001475, allocations: 195.8 kB / 29.02 MB, free: 0.8945 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.562/1.562, allocations: 222.9 MB / 254.4 MB, free: 3.355 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01447/0.01447, allocations: 3.121 MB / 309.4 MB, free: 2.438 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 92.28 kB / 373.5 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3299, allocations: 51.97 MB / 425.5 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008642/0.3386, allocations: 8.985 MB / 434.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005926/0.3446, allocations: 2.517 MB / 437 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.3466, allocations: 43.81 kB / 437 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.3481, allocations: 389.7 kB / 437.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.3503, allocations: 0.5788 MB / 438 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.3515, allocations: 439.5 kB / 438.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002735/0.3542, allocations: 2.745 MB / 441.2 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.3558, allocations: 1.748 MB / 442.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.3571, allocations: 0.9418 MB / 443.9 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.3583, allocations: 1.265 MB / 445.1 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002579/0.3585, allocations: 180 kB / 445.3 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006124/0.3592, allocations: 279.8 kB / 445.6 MB, free: 1.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005359/0.3597, allocations: 0.6698 MB / 446.3 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.3608, allocations: 1.155 MB / 447.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.3637, allocations: 3.036 MB / 450.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3638, allocations: 0 / 450.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3638, allocations: 0 / 450.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.721e-05/0.3639, allocations: 0 / 450.4 MB, free: 12.77 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.00638/0.3702, allocations: 2.685 MB / 453.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.3703, allocations: 8.031 kB / 453.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007884/0.3711, allocations: 258.1 kB / 453.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.3734, allocations: 1.298 MB / 454.7 MB, free: 8.406 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.0002735/0.3737, allocations: 227.4 kB / 454.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000321/0.374, allocations: 203.9 kB / 455.1 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/0.3788, allocations: 2.69 MB / 457.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.558e-05/0.3789, allocations: 7.938 kB / 457.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.3791, allocations: 88 kB / 457.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.3792, allocations: 95.97 kB / 458 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004086/0.3833, allocations: 2.206 MB / 460.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.3963, allocations: 7.961 MB / 468.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/0.3991, allocations: 1.581 MB / 469.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.4009, allocations: 0.944 MB / 470.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.4012, allocations: 122 kB / 470.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.4026, allocations: 0.7733 MB / 471.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.866e-06/0.4026, allocations: 0 / 471.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01541/0.418, allocations: 6.601 MB / 478.2 MB, free: 348 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/0.4183, allocations: 248.3 kB / 478.4 MB, free: 40 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.001949/0.4202, allocations: 1.204 MB / 479.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-05/0.4203, allocations: 45.7 kB / 479.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008705/0.4212, allocations: 0.9193 MB / 480.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.4216, allocations: 402.3 kB / 481 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/0.422, allocations: 246.8 kB / 481.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4222, allocations: 365.9 kB / 481.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.4234, allocations: 0.7015 MB / 482.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.425, allocations: 1.085 MB / 483.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008673/0.4336, allocations: 3.562 MB / 486.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.4337, allocations: 0 / 486.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005071/0.4388, allocations: 2.515 MB / 489.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.4389, allocations: 40.3 kB / 489.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.4389, allocations: 12 kB / 489.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.4402, allocations: 0.5011 MB / 490 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.4412, allocations: 287.5 kB / 490.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008336/0.4496, allocations: 8.079 MB / 498.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.4512, allocations: 131.8 kB / 498.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4514, allocations: 55.98 kB / 498.5 MB, free: 10.95 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.002424/0.4538, allocations: 1.23 MB / 499.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001481/0.4553, allocations: 1.077 MB / 0.4891 GB, free: 8.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00839/0.4637, allocations: 3.488 MB / 0.4925 GB, free: 4.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.221e-05/0.4637, allocations: 7.938 kB / 0.4925 GB, free: 4.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004483/0.4682, allocations: 2.469 MB / 0.4949 GB, free: 2.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.4683, allocations: 33.7 kB / 0.495 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4683, allocations: 16.31 kB / 0.495 GB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.4695, allocations: 0.4998 MB / 0.4955 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.4705, allocations: 279.6 kB / 0.4957 GB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008246/0.4787, allocations: 8.063 MB / 0.5036 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.4805, allocations: 135.9 kB / 0.5037 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.4806, allocations: 59.98 kB / 0.5038 GB, free: 8.672 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.0005126/0.4811, allocations: 297.6 kB / 0.5041 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.4814, allocations: 146.3 kB / 0.5042 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.4854, allocations: 2.172 MB / 0.5063 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.4854, allocations: 12 kB / 0.5063 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.4854, allocations: 11.92 kB / 0.5064 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.4854, allocations: 7.984 kB / 0.5064 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008728/0.4941, allocations: 4.6 MB / 0.5109 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.4942, allocations: 7.828 kB / 0.5109 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009734/0.4952, allocations: 196.2 kB / 0.5111 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.4968, allocations: 0.5231 MB / 0.5116 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.4969, allocations: 35.97 kB / 0.5116 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2982/0.7951, allocations: 7.895 MB / 0.5193 GB, free: 80.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.7952, allocations: 4.438 kB / 0.5193 GB, free: 80.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006204/0.8014, allocations: 3.219 MB / 0.5225 GB, free: 79.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000817/0.8022, allocations: 357.7 kB / 0.5228 GB, free: 78.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.8024, allocations: 33.5 kB / 0.5228 GB, free: 78.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009228/0.8033, allocations: 103.3 kB / 0.5229 GB, free: 78.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/0.8037, allocations: 109.3 kB / 0.523 GB, free: 78.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-05/0.8038, allocations: 38.77 kB / 0.5231 GB, free: 78.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001085/0.8048, allocations: 0.8079 MB / 0.5239 GB, free: 78.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8049, allocations: 0 / 0.5239 GB, free: 78.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003117/0.808, allocations: 0.74 MB / 0.5246 GB, free: 78.46 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.0003619/0.8083, allocations: 185.9 kB / 0.5248 GB, free: 78.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01273/0.8211, allocations: 7.132 MB / 0.5317 GB, free: 74.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.8211, allocations: 3.938 kB / 0.5317 GB, free: 74.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005582/0.8267, allocations: 3.056 MB / 0.5347 GB, free: 72.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.8289, allocations: 350.2 kB / 0.535 GB, free: 72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006465/0.8354, allocations: 5.029 MB / 0.54 GB, free: 67.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.8364, allocations: 1.674 MB / 0.5416 GB, free: 66.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/0.8369, allocations: 99.42 kB / 0.5417 GB, free: 66.15 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.8369, allocations: 0 / 0.5417 GB, free: 66.15 MB / 382.1 MB Notification: Performance of Templates: time 0.06318/0.9001, allocations: 72.28 MB / 0.6123 GB, free: 9.863 MB / 398.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.makefile make -j1 -f EHPTexamples_main_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_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