Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06026/0.06026, allocations: 8.027 MB / 23.81 MB, free: 0.543 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.001105/0.001105, allocations: 112.3 kB / 26.37 MB, free: 3.543 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.001898/0.001898, allocations: 192.5 kB / 29.04 MB, free: 0.8828 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.536/1.536, allocations: 222.9 MB / 254.5 MB, free: 5.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01304/0.01304, allocations: 3.126 MB / 309.5 MB, free: 2.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 87.86 kB / 373.6 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2662, allocations: 51.97 MB / 425.5 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.008565/0.2749, allocations: 9.083 MB / 434.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005353/0.2803, allocations: 2.599 MB / 437.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.2823, allocations: 43.81 kB / 437.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.2837, allocations: 401.6 kB / 437.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.2861, allocations: 0.571 MB / 438.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.2871, allocations: 461.8 kB / 438.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.2891, allocations: 2.761 MB / 441.4 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.2907, allocations: 1.748 MB / 443.2 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.2919, allocations: 0.9496 MB / 444.1 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.293, allocations: 1.272 MB / 445.4 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.2933, allocations: 184 kB / 445.6 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005772/0.2938, allocations: 287.8 kB / 445.9 MB, free: 1.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005054/0.2944, allocations: 0.6698 MB / 446.5 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.2954, allocations: 1.158 MB / 447.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.2979, allocations: 3.048 MB / 450.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2979, allocations: 0 / 450.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.2979, allocations: 8 kB / 450.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.204e-05/0.298, allocations: 0 / 450.8 MB, free: 12.35 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.006873/0.3049, allocations: 2.705 MB / 453.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.305, allocations: 12.03 kB / 453.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008324/0.3058, allocations: 274 kB / 453.7 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.308, allocations: 1.29 MB / 455 MB, free: 7.961 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.0002726/0.3083, allocations: 219.4 kB / 455.3 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.3087, allocations: 207.9 kB / 455.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005103/0.3138, allocations: 2.719 MB / 458.2 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-05/0.3139, allocations: 11.84 kB / 458.2 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.3141, allocations: 91.98 kB / 458.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.3142, allocations: 104 kB / 458.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004171/0.3184, allocations: 2.221 MB / 460.6 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/0.3317, allocations: 8.008 MB / 468.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.3345, allocations: 1.613 MB / 470.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.3362, allocations: 0.9534 MB / 471.2 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.3365, allocations: 122 kB / 471.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.3379, allocations: 0.7773 MB / 472.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 3.006e-06/0.3379, allocations: 0 / 472.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01564/0.3536, allocations: 6.65 MB / 478.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/0.3538, allocations: 244.3 kB / 479 MB, free: 15.36 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.002154/0.356, allocations: 1.215 MB / 480.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.3561, allocations: 49.7 kB / 480.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.3573, allocations: 0.9309 MB / 481.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005003/0.3578, allocations: 402.2 kB / 481.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005795/0.3584, allocations: 259.4 kB / 481.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002617/0.3586, allocations: 357.9 kB / 482.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.36, allocations: 0.7153 MB / 482.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.362, allocations: 1.103 MB / 484 MB, free: 10.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009502/0.3715, allocations: 3.579 MB / 487.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/0.3716, allocations: 4 kB / 487.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005209/0.3768, allocations: 2.533 MB / 490.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.3769, allocations: 33.7 kB / 490.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.3769, allocations: 12 kB / 490.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.3783, allocations: 0.4929 MB / 490.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.3794, allocations: 303.5 kB / 490.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008311/0.3877, allocations: 8.076 MB / 499 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.3895, allocations: 127.8 kB / 499.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.3896, allocations: 59.92 kB / 499.2 MB, free: 10.17 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.002532/0.3922, allocations: 1.235 MB / 0.4887 GB, free: 8.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001489/0.3937, allocations: 1.068 MB / 0.4897 GB, free: 7.715 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008958/0.4026, allocations: 3.517 MB / 0.4932 GB, free: 4.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.815e-05/0.4027, allocations: 0 / 0.4932 GB, free: 4.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004728/0.4074, allocations: 2.482 MB / 0.4956 GB, free: 1.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.4075, allocations: 37.64 kB / 0.4956 GB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.4076, allocations: 15.94 kB / 0.4956 GB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.4088, allocations: 0.5121 MB / 0.4961 GB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.4098, allocations: 283.6 kB / 0.4964 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008697/0.4185, allocations: 8.075 MB / 0.5043 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.4204, allocations: 147.8 kB / 0.5044 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/0.4206, allocations: 52 kB / 0.5045 GB, free: 7.84 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.0006366/0.4213, allocations: 296.3 kB / 0.5048 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004573/0.4217, allocations: 134.4 kB / 0.5049 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004347/0.4261, allocations: 2.207 MB / 0.507 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.4261, allocations: 12 kB / 0.5071 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.4262, allocations: 8 kB / 0.5071 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.4262, allocations: 7.969 kB / 0.5071 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008731/0.4349, allocations: 4.623 MB / 0.5116 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.619e-06/0.435, allocations: 4 kB / 0.5116 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008999/0.4359, allocations: 204.1 kB / 0.5118 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2869/0.7228, allocations: 0.5133 MB / 0.5123 GB, free: 85.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003357/0.7231, allocations: 40.67 kB / 0.5123 GB, free: 85.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007861/0.731, allocations: 7.907 MB / 0.52 GB, free: 79.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.7311, allocations: 7.312 kB / 0.5201 GB, free: 79.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006123/0.7372, allocations: 3.248 MB / 0.5232 GB, free: 78.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008622/0.7381, allocations: 361.8 kB / 0.5236 GB, free: 78.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.7383, allocations: 35.75 kB / 0.5236 GB, free: 78.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009166/0.7392, allocations: 97.62 kB / 0.5237 GB, free: 78.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003378/0.7396, allocations: 115.3 kB / 0.5238 GB, free: 78.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.7397, allocations: 42.17 kB / 0.5239 GB, free: 78.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001147/0.7408, allocations: 0.7965 MB / 0.5246 GB, free: 77.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7408, allocations: 0 / 0.5246 GB, free: 77.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003282/0.7441, allocations: 0.7534 MB / 0.5254 GB, free: 77.91 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.0004129/0.7445, allocations: 185 kB / 0.5255 GB, free: 77.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01242/0.757, allocations: 7.16 MB / 0.5325 GB, free: 73.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.757, allocations: 0 / 0.5325 GB, free: 73.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005559/0.7626, allocations: 3.066 MB / 0.5355 GB, free: 71.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.7648, allocations: 347 kB / 0.5359 GB, free: 71.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/0.7718, allocations: 5.08 MB / 0.5408 GB, free: 66.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.773, allocations: 1.682 MB / 0.5425 GB, free: 65.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/0.7735, allocations: 107.4 kB / 0.5426 GB, free: 65.19 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7735, allocations: 0 / 0.5426 GB, free: 65.19 MB / 382.1 MB Notification: Performance of Templates: time 0.07179/0.8453, allocations: 72.76 MB / 0.6136 GB, free: 8.43 MB / 398.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.makefile make -j1 -f EHPTexamples_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_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o] Error 1