Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.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.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.08162/0.08162, allocations: 8.029 MB / 23.96 MB, free: 32 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.0007831/0.0007833, allocations: 95.34 kB / 26.53 MB, free: 3.316 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.001169/0.001169, allocations: 182.9 kB / 29.22 MB, free: 0.6406 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.571/1.571, allocations: 223.3 MB / 255 MB, free: 3.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01189/0.01189, allocations: 3.116 MB / 311 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005728/0.0005726, allocations: 11.28 kB / 376.1 MB, free: 53.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1366, allocations: 52.97 MB / 429.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.008658/0.1454, allocations: 8.546 MB / 437.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006294/0.1517, allocations: 2.578 MB / 440.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.1537, allocations: 39.81 kB / 440.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.1554, allocations: 397.6 kB / 440.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.1585, allocations: 0.5749 MB / 441.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.1603, allocations: 458.6 kB / 441.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003723/0.164, allocations: 2.753 MB / 444.4 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.1659, allocations: 1.732 MB / 446.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.1674, allocations: 0.8207 MB / 446.9 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.1685, allocations: 1.112 MB / 448.1 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.1687, allocations: 120 kB / 448.2 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.1692, allocations: 227.8 kB / 448.4 MB, free: 440 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000506/0.1697, allocations: 0.5878 MB / 449 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.1709, allocations: 1.082 MB / 450.1 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.1736, allocations: 2.972 MB / 453 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1737, allocations: 0 / 453 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1737, allocations: 0 / 453 MB, free: 11.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.105e-05/0.1737, allocations: 4 kB / 453 MB, free: 11.76 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.005296/0.179, allocations: 2.327 MB / 455.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1791, allocations: 8.031 kB / 455.4 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008773/0.18, allocations: 274.1 kB / 455.6 MB, free: 9.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.1822, allocations: 1.29 MB / 456.9 MB, free: 7.754 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.0002943/0.1825, allocations: 226.4 kB / 457.2 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/0.1829, allocations: 211.9 kB / 457.4 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005192/0.1881, allocations: 2.742 MB / 460.1 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.872e-05/0.1881, allocations: 7.891 kB / 460.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.1884, allocations: 91.94 kB / 460.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.1885, allocations: 96.03 kB / 460.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004451/0.193, allocations: 2.268 MB / 462.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/0.2065, allocations: 8.082 MB / 470.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.2094, allocations: 1.668 MB / 472.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.2114, allocations: 0.9769 MB / 473.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/0.2117, allocations: 122.1 kB / 473.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.2131, allocations: 0.8007 MB / 474.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.675e-06/0.2131, allocations: 0 / 474.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01614/0.2293, allocations: 6.828 MB / 481 MB, free: 15.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.2294, allocations: 244.3 kB / 481.3 MB, free: 14.72 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:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) 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:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) 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.001929/0.2314, allocations: 1.198 MB / 482.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.2315, allocations: 49.7 kB / 482.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009464/0.2325, allocations: 0.927 MB / 483.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/0.2329, allocations: 418.1 kB / 483.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.2331, allocations: 113.7 kB / 484 MB, free: 11.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2333, allocations: 361.9 kB / 484.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.2346, allocations: 0.7222 MB / 485.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.2362, allocations: 1.127 MB / 486.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009233/0.2455, allocations: 3.673 MB / 489.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.2455, allocations: 4 kB / 489.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005027/0.2506, allocations: 2.572 MB / 492.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000406/0.251, allocations: 416.8 kB / 492.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.251, allocations: 8 kB / 492.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.2523, allocations: 0.4998 MB / 493.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.2535, allocations: 311.5 kB / 493.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009609/0.2631, allocations: 8.098 MB / 0.49 GB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.265, allocations: 135.9 kB / 0.4901 GB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.2652, allocations: 63.92 kB / 0.4902 GB, free: 8.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.2652, allocations: 4 kB / 0.4902 GB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004321/0.2695, allocations: 2.376 MB / 0.4925 GB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.2695, allocations: 8 kB / 0.4925 GB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.2708, allocations: 0.5157 MB / 0.493 GB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.272, allocations: 287.6 kB / 0.4933 GB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009556/0.2815, allocations: 8.091 MB / 0.5012 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.2838, allocations: 131.9 kB / 0.5013 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.284, allocations: 59.98 kB / 0.5014 GB, free: 12.91 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.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (150): * Single equations (assignments): 143 * 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.00196/0.286, allocations: 0.718 MB / 0.5021 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003707/0.2864, allocations: 134.3 kB / 0.5022 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/0.2908, allocations: 2.254 MB / 0.5044 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.2908, allocations: 15.94 kB / 0.5044 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2908, allocations: 4 kB / 0.5044 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.2908, allocations: 11.97 kB / 0.5044 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008219/0.2991, allocations: 4.658 MB / 0.509 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.2991, allocations: 4 kB / 0.509 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009118/0.3, allocations: 216.1 kB / 0.5092 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.3014, allocations: 0.5192 MB / 0.5097 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.3015, allocations: 39.97 kB / 0.5097 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2902/0.5918, allocations: 7.907 MB / 0.5175 GB, free: 80.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.5918, allocations: 7.969 kB / 0.5175 GB, free: 80.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008268/0.6001, allocations: 3.315 MB / 0.5207 GB, free: 79.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.6014, allocations: 358.6 kB / 0.521 GB, free: 79.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.6016, allocations: 43.42 kB / 0.5211 GB, free: 79.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.6031, allocations: 119.9 kB / 0.5212 GB, free: 79.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/0.6035, allocations: 109.6 kB / 0.5213 GB, free: 79.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.6037, allocations: 40 kB / 0.5213 GB, free: 79.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001862/0.6055, allocations: 0.8043 MB / 0.5221 GB, free: 79.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6055, allocations: 0 / 0.5221 GB, free: 79.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003875/0.6094, allocations: 0.7429 MB / 0.5229 GB, free: 79.33 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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * 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.0004004/0.6099, allocations: 190.5 kB / 0.523 GB, free: 79.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01693/0.6268, allocations: 7.232 MB / 0.5301 GB, free: 74.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.6268, allocations: 0 / 0.5301 GB, free: 74.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007547/0.6344, allocations: 3.102 MB / 0.5331 GB, free: 73.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/0.6377, allocations: 358.2 kB / 0.5335 GB, free: 72.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/0.6444, allocations: 5.217 MB / 0.5386 GB, free: 69.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.6455, allocations: 1.682 MB / 0.5402 GB, free: 67.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.6458, allocations: 106.5 kB / 0.5403 GB, free: 67.81 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6458, allocations: 2.719 kB / 0.5403 GB, free: 67.81 MB / 382.1 MB Notification: Performance of Templates: time 0.06399/0.7098, allocations: 72.49 MB / 0.6111 GB, free: 11.47 MB / 398.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.makefile make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.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.wFollowingCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o] Error 1