Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.03293/0.03293, allocations: 6.474 MB / 26.33 MB, free: 3.59 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.001013/0.001013, allocations: 79.73 kB / 31.56 MB, free: 4.941 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.000893/0.000893, allocations: 159.6 kB / 36.89 MB, free: 6.828 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.8568/0.8568, allocations: 177.2 MB / 219.3 MB, free: 13.57 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.008813/0.008813, allocations: 2.52 MB / 280.3 MB, free: 0.4961 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/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.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 410.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.884e-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: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) 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: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) 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.wFollowing): time 0.01032/0.01034, allocations: 8.728 MB / 418.8 MB, free: 4.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004502/0.01484, allocations: 2.731 MB / 421.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000643/0.01549, allocations: 63.62 kB / 421.6 MB, free: 1.465 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007505/0.01624, allocations: 0.4923 MB / 422.1 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.01731, allocations: 0.7486 MB / 422.8 MB, free: 220 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.01794, allocations: 0.5687 MB / 423.4 MB, free: 15.65 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.00176/0.0197, allocations: 2.781 MB / 426.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.02088, allocations: 1.286 MB / 427.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.02236, allocations: 1.813 MB / 429.3 MB, free: 9.691 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.02351, allocations: 1.227 MB / 430.5 MB, free: 8.461 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003198/0.02383, allocations: 340 kB / 430.8 MB, free: 8.129 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.02429, allocations: 431.8 kB / 431.3 MB, free: 7.707 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005537/0.02484, allocations: 0.892 MB / 432.2 MB, free: 6.812 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.02563, allocations: 0.9939 MB / 433.1 MB, free: 5.816 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.02816, allocations: 4.265 MB / 437.4 MB, free: 1.539 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.02817, allocations: 0 / 437.4 MB, free: 1.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.02817, allocations: 0 / 437.4 MB, free: 1.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.864e-05/0.02822, allocations: 0 / 437.4 MB, free: 1.539 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: 608 * Number of variables: 608 Notification: Performance of Generate backend data structure: time 0.003353/0.03157, allocations: 2.898 MB / 440.3 MB, free: 14.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.0316, allocations: 12.03 kB / 440.3 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004962/0.0321, allocations: 307.2 kB / 440.6 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.03369, allocations: 1.433 MB / 442.1 MB, free: 12.81 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.0001873/0.03387, allocations: 296 kB / 442.3 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.0341, allocations: 240.1 kB / 442.6 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/0.03715, allocations: 3.121 MB / 445.7 MB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/0.0372, allocations: 4 kB / 445.7 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.03734, allocations: 99.98 kB / 445.8 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-05/0.03741, allocations: 108.6 kB / 445.9 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.03997, allocations: 2.372 MB / 448.3 MB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1517/0.1917, allocations: 7.5 MB / 455.8 MB, free: 80.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.1932, allocations: 1.373 MB / 457.2 MB, free: 80.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00091/0.1941, allocations: 0.91 MB / 458.1 MB, free: 80.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.1942, allocations: 39.84 kB / 458.1 MB, free: 80.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006937/0.1949, allocations: 0.8887 MB / 459 MB, free: 79.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 2.044e-06/0.1949, allocations: 0 / 459 MB, free: 79.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.007145/0.2021, allocations: 6.458 MB / 465.4 MB, free: 77.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.2021, allocations: 252.5 kB / 465.7 MB, free: 77.48 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.0007442/0.2029, allocations: 1.016 MB / 466.7 MB, free: 77.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.2029, allocations: 52.05 kB / 466.8 MB, free: 77.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.2033, allocations: 1.056 MB / 467.8 MB, free: 76.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.2035, allocations: 441.5 kB / 468.2 MB, free: 76.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.2037, allocations: 269.4 kB / 468.5 MB, free: 75.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.281e-05/0.2037, allocations: 304.3 kB / 468.8 MB, free: 75.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.2044, allocations: 0.7488 MB / 469.6 MB, free: 75.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/0.2051, allocations: 1.302 MB / 470.9 MB, free: 74.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/0.2091, allocations: 3.587 MB / 474.4 MB, free: 72.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.2091, allocations: 3 kB / 474.4 MB, free: 72.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.002236/0.2113, allocations: 2.504 MB / 477 MB, free: 71.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.2114, allocations: 38.8 kB / 477 MB, free: 71.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.2114, allocations: 12.28 kB / 477 MB, free: 71.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/0.212, allocations: 0.4918 MB / 477.5 MB, free: 71.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.2125, allocations: 316.5 kB / 477.8 MB, free: 71.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.216, allocations: 8.232 MB / 486 MB, free: 65.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.2166, allocations: 133.3 kB / 486.2 MB, free: 65.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.2166, allocations: 68.38 kB / 486.2 MB, free: 65.14 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.001211/0.2178, allocations: 1.3 MB / 487.5 MB, free: 64.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007455/0.2186, allocations: 1.282 MB / 488.8 MB, free: 63.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003828/0.2224, allocations: 3.516 MB / 492.3 MB, free: 62.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.2224, allocations: 3.125 kB / 492.3 MB, free: 62.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.002367/0.2248, allocations: 2.447 MB / 494.8 MB, free: 61.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2248, allocations: 43.8 kB / 494.8 MB, free: 61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.2248, allocations: 11.41 kB / 494.8 MB, free: 61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.2254, allocations: 0.5071 MB / 495.3 MB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.2259, allocations: 294.1 kB / 495.6 MB, free: 60.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/0.2298, allocations: 8.237 MB / 0.4921 GB, free: 54.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.2303, allocations: 138.6 kB / 0.4922 GB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.2304, allocations: 61.11 kB / 0.4922 GB, free: 54.41 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.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 (158): * Single equations (assignments): 151 * 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.0002526/0.2307, allocations: 302.9 kB / 0.4925 GB, free: 54.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.2308, allocations: 135 kB / 0.4927 GB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.2331, allocations: 2.128 MB / 0.4947 GB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.2331, allocations: 15.25 kB / 0.4948 GB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2331, allocations: 5.594 kB / 0.4948 GB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2331, allocations: 10.66 kB / 0.4948 GB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/0.2373, allocations: 4.104 MB / 0.4988 GB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2373, allocations: 4.75 kB / 0.4988 GB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.2378, allocations: 203.2 kB / 0.499 GB, free: 51.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007607/0.2385, allocations: 0.5195 MB / 0.4995 GB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.326e-05/0.2386, allocations: 40.7 kB / 0.4995 GB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003827/0.2424, allocations: 8.063 MB / 0.5074 GB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2424, allocations: 7.812 kB / 0.5074 GB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002878/0.2453, allocations: 3.184 MB / 0.5105 GB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/0.2456, allocations: 271.6 kB / 0.5108 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-05/0.2457, allocations: 36.22 kB / 0.5108 GB, free: 43.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.2462, allocations: 103.8 kB / 0.5109 GB, free: 43.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.2464, allocations: 115.3 kB / 0.511 GB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.418e-05/0.2464, allocations: 45.3 kB / 0.5111 GB, free: 43.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005638/0.247, allocations: 0.6756 MB / 0.5117 GB, free: 42.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.247, allocations: 0 / 0.5117 GB, free: 42.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001461/0.2485, allocations: 0.782 MB / 0.5125 GB, free: 41.94 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,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 (105): * Single equations (assignments): 97 * 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.0002367/0.2487, allocations: 198 kB / 0.5127 GB, free: 41.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005561/0.2543, allocations: 6.794 MB / 0.5193 GB, free: 35.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2543, allocations: 7.75 kB / 0.5193 GB, free: 35.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.2565, allocations: 2.856 MB / 0.5221 GB, free: 32.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008161/0.2573, allocations: 341.2 kB / 0.5224 GB, free: 32.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.2608, allocations: 4.314 MB / 0.5266 GB, free: 28.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.2615, allocations: 1.194 MB / 0.5278 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.2617, allocations: 104.5 kB / 0.5279 GB, free: 27.47 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2617, allocations: 0 / 0.5279 GB, free: 27.47 MB / 410.7 MB Notification: Performance of Templates: time 0.04151/0.3032, allocations: 79.48 MB / 0.6055 GB, free: 11.96 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.makefile [Timeout 660] make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.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_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1169:30: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver170'? 1169 | double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); | ^~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _algLoopLinearSolver170; ///< Solver for algebraic loop */ | ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1170:47: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver170'? 1170 | bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); | ^~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _algLoopLinearSolver170; ///< Solver for algebraic loop */ | ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1171:46: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver170'? 1171 | bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); | ^~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _algLoopLinearSolver170; ///< Solver for algebraic loop */ | ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1172:5: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop170'? 1172 | _algLoop100->getReal(algloop100Vars); | ^~~~~~~~~~~ | _algLoop170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here 1078 | _algLoop170; | ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1176:10: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop170'? 1176 | _algLoop100->evaluate(); | ^~~~~~~~~~~ | _algLoop170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here 1078 | _algLoop170; | ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1184:16: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver170'? 1184 | _algLoopNonLinearSolver100->solve(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _algLoopLinearSolver170; ///< Solver for algebraic loop */ | ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1192:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? 1192 | restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); | ^~~~~~~~~~~~~~~ | conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1171:29: note: 'conditions1100' declared here 1171 | bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1192:59: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? 1192 | restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); | ^~~~~~~~~~~~~~~ | conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1171:29: note: 'conditions1100' declared here 1171 | bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1192:88: error: use of undeclared identifier '_conditions0100'; did you mean 'conditions0100'? 1192 | restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); | ^~~~~~~~~~~~~~~ | conditions0100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1170:30: note: 'conditions0100' declared here 1170 | bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1196:13: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver170'? 1196 | _algLoopNonLinearSolver100->solve(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _algLoopLinearSolver170; ///< Solver for algebraic loop */ | ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1209:18: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop170'? 1209 | _algLoop100->setReal(algloop100Vars ); | ^~~~~~~~~~~ | _algLoop170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here 1078 | _algLoop170; | ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1210:18: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver170'? 1210 | _algLoopNonLinearSolver100->solve(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _algLoopLinearSolver170; ///< Solver for algebraic loop */ | ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1226:30: error: use of undeclared identifier '_algLoopLinearSolver103' 1226 | double* algloop103Vars = _algLoopLinearSolver103->getVariableWorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1227:47: error: use of undeclared identifier '_algLoopLinearSolver103' 1227 | bool* conditions0103 = _algLoopLinearSolver103->getConditionsWorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1228:46: error: use of undeclared identifier '_algLoopLinearSolver103' 1228 | bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1229:5: error: use of undeclared identifier '_algLoop103' 1229 | _algLoop103->getReal(algloop103Vars); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1233:10: error: use of undeclared identifier '_algLoop103' 1233 | _algLoop103->evaluate(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1241:16: error: use of undeclared identifier '_algLoopNonLinearSolver103' 1241 | _algLoopNonLinearSolver103->solve(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1249:42: error: use of undeclared identifier '_conditions1103'; did you mean 'conditions1103'? 1249 | restart103 = !std::equal (_conditions1103, _conditions1103+_dimZeroFunc,_conditions0103); | ^~~~~~~~~~~~~~~ | conditions1103 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1228:29: note: 'conditions1103' declared here 1228 | bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.1098133577033877] Failed to read output from testmodel.py, exit status != 0: 0.30971600860357285 0.46983485599999997 0.43949132199999996 Calling exit ...