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/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/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/package.mo): time 0.05306/0.05306, allocations: 8.027 MB / 24.33 MB, free: 416 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.001137/0.001137, allocations: 108.1 kB / 26.92 MB, free: 3.129 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.001673/0.001673, allocations: 198.2 kB / 29.62 MB, free: 460 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 255.1 MB, free: 4.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.03724/0.03724, allocations: 3.118 MB / 310.1 MB, free: 2.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 95.84 kB / 427.6 MB, free: 17.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1358, allocations: 51.96 MB / 479.6 MB, free: 13.51 MB / 350.1 MB [/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. [/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: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/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) 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: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: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:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*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=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) 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=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) 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: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: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. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.01276/0.1487, allocations: 9.076 MB / 488.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00677/0.1555, allocations: 2.563 MB / 491.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.1575, allocations: 47.81 kB / 491.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.1592, allocations: 468.7 kB / 491.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.1623, allocations: 0.6833 MB / 492.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.164, allocations: 0.491 MB / 492.9 MB, free: 140 kB / 350.1 MB [/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/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. Notification: Performance of NFFlatten.flatten: time 0.004214/0.1682, allocations: 2.483 MB / 495.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003987/0.1722, allocations: 2.037 MB / 497.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.1747, allocations: 1.098 MB / 498.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.1775, allocations: 1.327 MB / 499.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.1787, allocations: 296 kB / 0.4884 GB, free: 8.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.1804, allocations: 391.8 kB / 0.4888 GB, free: 8.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.1817, allocations: 0.7831 MB / 0.4895 GB, free: 7.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.1836, allocations: 1.28 MB / 0.4908 GB, free: 6.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004797/0.1884, allocations: 3.745 MB / 0.4944 GB, free: 2.602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1885, allocations: 0 / 0.4944 GB, free: 2.602 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1885, allocations: 0 / 0.4944 GB, free: 2.602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001173/0.1886, allocations: 0 / 0.4944 GB, free: 2.602 MB / 366.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.006909/0.1955, allocations: 2.757 MB / 0.4971 GB, free: 15.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.1956, allocations: 12.03 kB / 0.4971 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000823/0.1964, allocations: 279.3 kB / 0.4974 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.1989, allocations: 1.33 MB / 0.4987 GB, free: 14.11 MB / 382.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.0002759/0.1992, allocations: 219.4 kB / 0.4989 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/0.1995, allocations: 211.9 kB / 0.4991 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.2046, allocations: 2.694 MB / 0.5017 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.554e-05/0.2047, allocations: 7.953 kB / 0.5017 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.2049, allocations: 87.98 kB / 0.5018 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.205, allocations: 95.98 kB / 0.5019 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004227/0.2093, allocations: 2.209 MB / 0.5041 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.2231, allocations: 7.889 MB / 0.5118 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3324/0.5556, allocations: 1.577 MB / 0.5133 GB, free: 39.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002362/0.558, allocations: 0.9341 MB / 0.5142 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.5583, allocations: 125.2 kB / 0.5144 GB, free: 39.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/0.5598, allocations: 0.7687 MB / 0.5151 GB, free: 39.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.827e-06/0.5599, allocations: 0 / 0.5151 GB, free: 39.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.02066/0.5805, allocations: 6.666 MB / 0.5216 GB, free: 36.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.5808, allocations: 253.6 kB / 0.5219 GB, free: 36.45 MB / 382.1 MB [/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/0.5842, allocations: 1.167 MB / 0.523 GB, free: 35.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003831/0.5846, allocations: 47.64 kB / 0.523 GB, free: 35.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.586, allocations: 0.9353 MB / 0.524 GB, free: 35.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008237/0.5869, allocations: 428.1 kB / 0.5244 GB, free: 35.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007534/0.5876, allocations: 249.3 kB / 0.5246 GB, free: 34.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.5879, allocations: 364.2 kB / 0.525 GB, free: 34.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.5898, allocations: 0.7034 MB / 0.5256 GB, free: 34.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.5921, allocations: 1.094 MB / 0.5267 GB, free: 33.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.6032, allocations: 3.557 MB / 0.5302 GB, free: 32.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.154e-05/0.6033, allocations: 6.375 kB / 0.5302 GB, free: 32.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005915/0.6092, allocations: 2.514 MB / 0.5326 GB, free: 31.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.6093, allocations: 37.58 kB / 0.5327 GB, free: 31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.6093, allocations: 16.06 kB / 0.5327 GB, free: 31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.6105, allocations: 0.496 MB / 0.5332 GB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.6116, allocations: 288.6 kB / 0.5335 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007142/0.6188, allocations: 8.805 MB / 0.5421 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.6206, allocations: 130.9 kB / 0.5422 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.6208, allocations: 57.91 kB / 0.5422 GB, free: 23.13 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002211/0.623, allocations: 1.237 MB / 0.5434 GB, free: 22.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/0.6241, allocations: 1.064 MB / 0.5445 GB, free: 21.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007413/0.6316, allocations: 3.492 MB / 0.5479 GB, free: 17.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.026e-05/0.6316, allocations: 4 kB / 0.5479 GB, free: 17.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003868/0.6355, allocations: 2.465 MB / 0.5503 GB, free: 15.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.6356, allocations: 37.7 kB / 0.5503 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6356, allocations: 8 kB / 0.5503 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.6366, allocations: 0.5117 MB / 0.5508 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009577/0.6376, allocations: 279.6 kB / 0.5511 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/0.6439, allocations: 8.787 MB / 0.5597 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.6457, allocations: 143.8 kB / 0.5598 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.6459, allocations: 59.92 kB / 0.5599 GB, free: 4.883 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.0005435/0.6464, allocations: 303.4 kB / 0.5602 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/0.6468, allocations: 143.1 kB / 0.5603 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/0.6504, allocations: 2.192 MB / 0.5625 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.6504, allocations: 12 kB / 0.5625 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.6504, allocations: 11.98 kB / 0.5625 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6504, allocations: 7.734 kB / 0.5625 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007438/0.6579, allocations: 4.586 MB / 0.567 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.6579, allocations: 4 kB / 0.567 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008839/0.6588, allocations: 205.3 kB / 0.5672 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.6602, allocations: 0.5139 MB / 0.5677 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.937e-05/0.6603, allocations: 35.98 kB / 0.5677 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008298/0.6686, allocations: 8.62 MB / 0.5761 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.6686, allocations: 7.984 kB / 0.5761 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005633/0.6743, allocations: 3.232 MB / 0.5793 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.6754, allocations: 363.9 kB / 0.5796 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/0.6757, allocations: 35.98 kB / 0.5797 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009772/0.6767, allocations: 103.9 kB / 0.5798 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/0.677, allocations: 108.5 kB / 0.5799 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.678e-05/0.6771, allocations: 35.98 kB / 0.5799 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001225/0.6783, allocations: 0.8018 MB / 0.5807 GB, free: 14.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6783, allocations: 0 / 0.5807 GB, free: 14.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002989/0.6813, allocations: 0.7422 MB / 0.5814 GB, free: 14.04 MB / 414.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.0004272/0.6818, allocations: 186.9 kB / 0.5816 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01481/0.6966, allocations: 7.151 MB / 0.5886 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.6967, allocations: 4.062 kB / 0.5886 GB, free: 6.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006409/0.7031, allocations: 3.059 MB / 0.5916 GB, free: 3.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.7054, allocations: 375.8 kB / 0.5919 GB, free: 2.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00776/0.7132, allocations: 4.175 MB / 0.596 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/0.7147, allocations: 1.671 MB / 0.5976 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005649/0.7152, allocations: 105.3 kB / 0.5977 GB, free: 12.87 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7153, allocations: 0 / 0.5977 GB, free: 12.87 MB / 430.1 MB Notification: Performance of Templates: time 0.08359/0.7989, allocations: 72.48 MB / 0.6685 GB, free: 4.379 MB / 494.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile clang++ -std=c++17 -fopenmp=libomp -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 In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions097 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1219:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1198:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1