Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.03495/0.03495, allocations: 6.463 MB / 26.32 MB, free: 3.566 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007516/0.0007516, allocations: 83.72 kB / 31.56 MB, free: 4.926 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 162.1 kB / 36.89 MB, free: 6.836 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8668/0.8668, allocations: 177.2 MB / 219.3 MB, free: 13.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.009163/0.009163, allocations: 2.508 MB / 280.3 MB, free: 0.5156 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 410.1 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.559e-05, allocations: 2.281 kB / 410.1 MB, free: 13.04 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.007209/0.007234, allocations: 8.638 MB / 418.7 MB, free: 4.355 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004196/0.01143, allocations: 2.653 MB / 421.4 MB, free: 1.691 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008826/0.01231, allocations: 67.62 kB / 421.4 MB, free: 1.625 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008946/0.01321, allocations: 496.2 kB / 421.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.01456, allocations: 0.7369 MB / 422.7 MB, free: 404 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009861/0.01555, allocations: 0.5499 MB / 423.2 MB, free: 15.84 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.001944/0.01749, allocations: 2.762 MB / 426 MB, free: 13.07 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.01861, allocations: 1.277 MB / 427.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.02031, allocations: 1.797 MB / 429 MB, free: 9.926 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.02168, allocations: 1.219 MB / 430.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003042/0.02199, allocations: 336 kB / 430.6 MB, free: 8.375 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.02248, allocations: 439.7 kB / 431 MB, free: 7.945 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005174/0.02299, allocations: 0.892 MB / 431.9 MB, free: 7.051 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007205/0.02371, allocations: 0.9822 MB / 432.9 MB, free: 6.066 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.02653, allocations: 4.238 MB / 437.1 MB, free: 1.816 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.02654, allocations: 0 / 437.1 MB, free: 1.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02654, allocations: 0 / 437.1 MB, free: 1.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.546e-05/0.02658, allocations: 0 / 437.1 MB, free: 1.816 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.003744/0.03033, allocations: 2.878 MB / 440 MB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.03037, allocations: 12.03 kB / 440 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/0.03087, allocations: 307.2 kB / 440.3 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.03257, allocations: 1.421 MB / 441.7 MB, free: 13.12 MB / 410.7 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.0001956/0.03276, allocations: 292 kB / 442 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.03299, allocations: 236.1 kB / 442.3 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/0.03637, allocations: 3.1 MB / 445.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-05/0.03642, allocations: 15.92 kB / 445.4 MB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.03656, allocations: 95.98 kB / 445.5 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-05/0.03663, allocations: 104.5 kB / 445.6 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.03935, allocations: 2.36 MB / 447.9 MB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1444/0.1838, allocations: 7.461 MB / 455.4 MB, free: 79.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.1853, allocations: 1.336 MB / 456.7 MB, free: 79.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009443/0.1863, allocations: 0.8945 MB / 457.6 MB, free: 79.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.1864, allocations: 40.12 kB / 457.7 MB, free: 79.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007585/0.1872, allocations: 0.8901 MB / 458.5 MB, free: 79.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 2.365e-06/0.1872, allocations: 1.422 kB / 458.5 MB, free: 79.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.007634/0.1948, allocations: 6.437 MB / 465 MB, free: 77.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1949, allocations: 245.2 kB / 465.2 MB, free: 77.38 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.0008368/0.1957, allocations: 1.012 MB / 466.2 MB, free: 76.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.1958, allocations: 55.05 kB / 466.3 MB, free: 76.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/0.1962, allocations: 1.045 MB / 467.3 MB, free: 76.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.1964, allocations: 439.2 kB / 467.8 MB, free: 75.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.1966, allocations: 258.6 kB / 468 MB, free: 75.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.655e-05/0.1966, allocations: 304 kB / 468.3 MB, free: 75.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006923/0.1973, allocations: 0.7339 MB / 469 MB, free: 75.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000812/0.1981, allocations: 1.303 MB / 470.4 MB, free: 74.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004193/0.2023, allocations: 3.566 MB / 473.9 MB, free: 72.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.2023, allocations: 2.938 kB / 473.9 MB, free: 72.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002497/0.2048, allocations: 2.482 MB / 476.4 MB, free: 71.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.2049, allocations: 38.64 kB / 476.4 MB, free: 71.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.2049, allocations: 9.062 kB / 476.4 MB, free: 71.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006514/0.2055, allocations: 0.5 MB / 476.9 MB, free: 71.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/0.2061, allocations: 305.5 kB / 477.2 MB, free: 71.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/0.21, allocations: 8.241 MB / 485.5 MB, free: 65.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007881/0.2108, allocations: 127.2 kB / 485.6 MB, free: 65.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.2109, allocations: 63.28 kB / 485.7 MB, free: 65.09 MB / 410.7 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.001425/0.2123, allocations: 1.304 MB / 487 MB, free: 64.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007612/0.2131, allocations: 1.276 MB / 488.3 MB, free: 63.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004021/0.2171, allocations: 3.49 MB / 491.7 MB, free: 61.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.462e-06/0.2171, allocations: 5.25 kB / 491.7 MB, free: 61.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002651/0.2197, allocations: 2.441 MB / 494.2 MB, free: 60.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.2198, allocations: 38.27 kB / 494.2 MB, free: 60.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2198, allocations: 10.34 kB / 494.2 MB, free: 60.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/0.2204, allocations: 0.5037 MB / 494.7 MB, free: 60.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/0.221, allocations: 291.1 kB / 495 MB, free: 60.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004104/0.2251, allocations: 8.239 MB / 0.4915 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007997/0.2259, allocations: 142.8 kB / 0.4916 GB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.226, allocations: 57.94 kB / 0.4917 GB, free: 54.36 MB / 410.7 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: 49 * 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 (155): * Single equations (assignments): 148 * 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.0003063/0.2263, allocations: 289.5 kB / 0.4919 GB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.2264, allocations: 137.6 kB / 0.4921 GB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.2289, allocations: 2.117 MB / 0.4941 GB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.2289, allocations: 12.56 kB / 0.4941 GB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.2289, allocations: 8.562 kB / 0.4942 GB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2289, allocations: 9.562 kB / 0.4942 GB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004594/0.2335, allocations: 4.083 MB / 0.4982 GB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.2335, allocations: 3.5 kB / 0.4982 GB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004575/0.234, allocations: 196.3 kB / 0.4983 GB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007959/0.2348, allocations: 0.5146 MB / 0.4988 GB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.2348, allocations: 35.67 kB / 0.4989 GB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004726/0.2396, allocations: 8.062 MB / 0.5068 GB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.2396, allocations: 7.812 kB / 0.5068 GB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.2431, allocations: 3.143 MB / 0.5098 GB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.2436, allocations: 270.5 kB / 0.5101 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.2438, allocations: 37.3 kB / 0.5101 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.2443, allocations: 105.4 kB / 0.5102 GB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/0.2445, allocations: 119.9 kB / 0.5103 GB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.2446, allocations: 40.86 kB / 0.5104 GB, free: 43.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007486/0.2453, allocations: 0.6731 MB / 0.511 GB, free: 42.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2453, allocations: 0 / 0.511 GB, free: 42.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00183/0.2472, allocations: 0.7858 MB / 0.5118 GB, free: 42.1 MB / 410.7 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 (102): * Single equations (assignments): 94 * 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.0003193/0.2475, allocations: 187.8 kB / 0.512 GB, free: 41.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006341/0.2538, allocations: 6.767 MB / 0.5186 GB, free: 35.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.2538, allocations: 3.938 kB / 0.5186 GB, free: 35.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002506/0.2563, allocations: 2.859 MB / 0.5214 GB, free: 32.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.2573, allocations: 337.2 kB / 0.5217 GB, free: 32.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.2617, allocations: 4.264 MB / 0.5259 GB, free: 28.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/0.2625, allocations: 1.189 MB / 0.527 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.2627, allocations: 102.5 kB / 0.5271 GB, free: 27.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.724e-06/0.2627, allocations: 3.938 kB / 0.5271 GB, free: 27.74 MB / 410.7 MB Notification: Performance of Templates: time 0.0517/0.3144, allocations: 78.97 MB / 0.6043 GB, free: 12.81 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile [Timeout 660] make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1142:29: error: use of undeclared identifier '_algLoopLinearSolver97' 1142 | double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1143:46: error: use of undeclared identifier '_algLoopLinearSolver97' 1143 | bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:45: error: use of undeclared identifier '_algLoopLinearSolver97' 1144 | bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1145:5: error: use of undeclared identifier '_algLoop97' 1145 | _algLoop97->getReal(algloop97Vars); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1149:10: error: use of undeclared identifier '_algLoop97' 1149 | _algLoop97->evaluate(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1157:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' 1157 | _algLoopNonLinearSolver97->solve(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1165:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? 1165 | restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); | ^~~~~~~~~~~~~~ | conditions197 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here 1144 | bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1165:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? 1165 | restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); | ^~~~~~~~~~~~~~ | conditions197 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here 1144 | bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1165:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? 1165 | restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); | ^~~~~~~~~~~~~~ | conditions097 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1143:30: note: 'conditions097' declared here 1143 | bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1169:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' 1169 | _algLoopNonLinearSolver97->solve(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1182:18: error: use of undeclared identifier '_algLoop97' 1182 | _algLoop97->setReal(algloop97Vars ); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1183:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' 1183 | _algLoopNonLinearSolver97->solve(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1199:30: error: use of undeclared identifier '_algLoopLinearSolver100' 1199 | double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1200:47: error: use of undeclared identifier '_algLoopLinearSolver100' 1200 | bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1201:46: error: use of undeclared identifier '_algLoopLinearSolver100' 1201 | bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1202:5: error: use of undeclared identifier '_algLoop100' 1202 | _algLoop100->getReal(algloop100Vars); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1206:10: error: use of undeclared identifier '_algLoop100' 1206 | _algLoop100->evaluate(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1214:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' 1214 | _algLoopNonLinearSolver100->solve(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1222:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? 1222 | restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); | ^~~~~~~~~~~~~~~ | conditions1100 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1201:29: note: 'conditions1100' declared here 1201 | bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.0684685921296477] Failed to read output from testmodel.py, exit status != 0: 0.3209732323884964 0.463846528 0.300947933 Calling exit ...