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.04493/0.04493, allocations: 8.535 MB / 28.12 MB, free: 2.801 MB / 19.63 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.001194/0.001194, allocations: 110.3 kB / 33.37 MB, free: 1.344 MB / 19.63 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.001477/0.001477, allocations: 201.9 kB / 38.74 MB, free: 2.84 MB / 26.18 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 1.471/1.471, allocations: 230.6 MB / 274.6 MB, free: 3.023 MB / 206.1 MB " [Timeout remaining time 178] 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.01536/0.01536, allocations: 3.417 MB / 336.5 MB, free: 8.938 MB / 254.1 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: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: EHPTexamples requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002846/0.002846, allocations: 100.4 kB / 466.3 MB, free: 50.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09198/0.09483, allocations: 56.32 MB / 0.5104 GB, free: 14.88 MB / 366.1 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.01247/0.1073, allocations: 9.946 MB / 0.5201 GB, free: 4.879 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005983/0.1133, allocations: 2.856 MB / 0.5229 GB, free: 2.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.1144, allocations: 67.56 kB / 0.5229 GB, free: 1.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.1157, allocations: 0.5081 MB / 0.5234 GB, free: 1.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.1178, allocations: 0.7103 MB / 0.5241 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.119, allocations: 0.5564 MB / 0.5247 GB, free: 172 kB / 366.1 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.003464/0.1225, allocations: 2.698 MB / 0.5273 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.1244, allocations: 1.348 MB / 0.5286 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.1262, allocations: 1.234 MB / 0.5298 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.1282, allocations: 1.479 MB / 0.5313 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005647/0.1288, allocations: 336 kB / 0.5316 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009422/0.1298, allocations: 447.8 kB / 0.532 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.1309, allocations: 0.8804 MB / 0.5329 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.1327, allocations: 1.435 MB / 0.5343 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004736/0.1374, allocations: 4.188 MB / 0.5384 GB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1374, allocations: 3.938 kB / 0.5384 GB, free: 2.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1374, allocations: 0 / 0.5384 GB, free: 2.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.47e-05/0.1375, allocations: 0 / 0.5384 GB, free: 2.023 MB / 382.1 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.006242/0.1437, allocations: 2.921 MB / 0.5412 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1438, allocations: 8.031 kB / 0.5412 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008601/0.1446, allocations: 311.2 kB / 0.5415 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/0.1476, allocations: 1.434 MB / 0.5429 GB, free: 13.27 MB / 398.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.0003272/0.1479, allocations: 295.4 kB / 0.5432 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/0.1482, allocations: 232 kB / 0.5434 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005147/0.1534, allocations: 2.974 MB / 0.5463 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.1534, allocations: 7.953 kB / 0.5463 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.1536, allocations: 99.94 kB / 0.5464 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.1538, allocations: 108.6 kB / 0.5465 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004572/0.1583, allocations: 2.38 MB / 0.5489 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.1729, allocations: 8.555 MB / 0.5572 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.1757, allocations: 1.373 MB / 0.5586 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.1775, allocations: 0.909 MB / 0.5595 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/0.1777, allocations: 44.95 kB / 0.5595 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/0.1791, allocations: 0.7928 MB / 0.5603 GB, free: 11.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.625e-06/0.1791, allocations: 0 / 0.5603 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01519/0.1943, allocations: 6.477 MB / 0.5666 GB, free: 4.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.1945, allocations: 244.3 kB / 0.5668 GB, free: 4.27 MB / 414.1 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.001806/0.1963, allocations: 1.182 MB / 0.568 GB, free: 3.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.354e-05/0.1964, allocations: 53.64 kB / 0.568 GB, free: 3.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.1975, allocations: 1.058 MB / 0.5691 GB, free: 1.949 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.1979, allocations: 444.2 kB / 0.5695 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004479/0.1983, allocations: 267.5 kB / 0.5697 GB, free: 1.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1985, allocations: 313.1 kB / 0.57 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.1998, allocations: 0.7113 MB / 0.5707 GB, free: 224 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.2015, allocations: 1.127 MB / 0.5718 GB, free: 14.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008659/0.2102, allocations: 3.582 MB / 0.5753 GB, free: 11.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.2102, allocations: 4 kB / 0.5753 GB, free: 11.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004759/0.2149, allocations: 2.482 MB / 0.5778 GB, free: 8.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.215, allocations: 41.7 kB / 0.5778 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.215, allocations: 8 kB / 0.5778 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.2162, allocations: 0.5079 MB / 0.5783 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.2174, allocations: 307.5 kB / 0.5786 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008965/0.2264, allocations: 8.384 MB / 0.5868 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.2278, allocations: 127.8 kB / 0.5869 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.228, allocations: 63.98 kB / 0.587 GB, free: 14.74 MB / 446.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.002439/0.2304, allocations: 1.278 MB / 0.5882 GB, free: 13.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00156/0.232, allocations: 1.111 MB / 0.5893 GB, free: 12.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008301/0.2403, allocations: 3.516 MB / 0.5927 GB, free: 8.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.04e-05/0.2403, allocations: 4.156 kB / 0.5927 GB, free: 8.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.00469/0.245, allocations: 2.443 MB / 0.5951 GB, free: 6.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.245, allocations: 38 kB / 0.5952 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.245, allocations: 19.94 kB / 0.5952 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.2462, allocations: 0.5037 MB / 0.5957 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.2473, allocations: 303.5 kB / 0.596 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.246/0.4933, allocations: 8.371 MB / 0.6041 GB, free: 79.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.4949, allocations: 137 kB / 0.6043 GB, free: 79.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.495, allocations: 61.61 kB / 0.6043 GB, free: 79.51 MB / 446.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: 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.0004187/0.4954, allocations: 287 kB / 0.6046 GB, free: 79.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.4956, allocations: 153.3 kB / 0.6047 GB, free: 79.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.4998, allocations: 2.148 MB / 0.6068 GB, free: 78.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4998, allocations: 15.62 kB / 0.6069 GB, free: 78.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4998, allocations: 4.156 kB / 0.6069 GB, free: 78.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.4998, allocations: 7.688 kB / 0.6069 GB, free: 78.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007909/0.5077, allocations: 4.627 MB / 0.6114 GB, free: 76.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5077, allocations: 3.406 kB / 0.6114 GB, free: 76.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009551/0.5087, allocations: 206.5 kB / 0.6116 GB, free: 76.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.51, allocations: 0.521 MB / 0.6121 GB, free: 76.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.916e-05/0.5101, allocations: 36.64 kB / 0.6121 GB, free: 76.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006491/0.5166, allocations: 8.222 MB / 0.6202 GB, free: 70.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.5166, allocations: 7.812 kB / 0.6202 GB, free: 70.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/0.5216, allocations: 3.202 MB / 0.6233 GB, free: 68.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/0.5225, allocations: 290.2 kB / 0.6236 GB, free: 68.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.5227, allocations: 39.33 kB / 0.6236 GB, free: 68.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008936/0.5236, allocations: 100.1 kB / 0.6237 GB, free: 68.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/0.5238, allocations: 129.3 kB / 0.6238 GB, free: 68.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/0.5239, allocations: 39.11 kB / 0.6239 GB, free: 68.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009539/0.5249, allocations: 0.8032 MB / 0.6247 GB, free: 68.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5249, allocations: 0 / 0.6247 GB, free: 68.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002243/0.5271, allocations: 0.7875 MB / 0.6254 GB, free: 68.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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.0003217/0.5274, allocations: 187.2 kB / 0.6256 GB, free: 68.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01036/0.5378, allocations: 6.742 MB / 0.6322 GB, free: 64.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.5378, allocations: 3.938 kB / 0.6322 GB, free: 64.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004525/0.5423, allocations: 2.871 MB / 0.635 GB, free: 61.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.544, allocations: 394.1 kB / 0.6354 GB, free: 61.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/0.5497, allocations: 4.506 MB / 0.6398 GB, free: 57.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009523/0.5506, allocations: 1.769 MB / 0.6415 GB, free: 55.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.551, allocations: 111.4 kB / 0.6416 GB, free: 55.5 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.551, allocations: 0 / 0.6416 GB, free: 55.5 MB / 446.1 MB Notification: Performance of Templates: time 0.0708/0.6218, allocations: 79.81 MB / 0.7195 GB, free: 7.672 MB / 478.1 MB " [Timeout remaining time 659] 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 -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp 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'? double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _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'? bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _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'? bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _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'? _algLoop100->getReal(algloop100Vars); ^~~~~~~~~~~ _algLoop170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here _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'? _algLoop100->evaluate(); ^~~~~~~~~~~ _algLoop170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here _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'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _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'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1171:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1192:59: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1171:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1192:88: error: use of undeclared identifier '_conditions0100'; did you mean 'conditions0100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions0100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1170:30: note: 'conditions0100' declared here bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1196:13: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver170'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _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'? _algLoop100->setReal(algloop100Vars ); ^~~~~~~~~~~ _algLoop170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here _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'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _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' double* algloop103Vars = _algLoopLinearSolver103->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1227:47: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions0103 = _algLoopLinearSolver103->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1228:46: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1229:5: error: use of undeclared identifier '_algLoop103' _algLoop103->getReal(algloop103Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1233:10: error: use of undeclared identifier '_algLoop103' _algLoop103->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1241:16: error: use of undeclared identifier '_algLoopNonLinearSolver103' _algLoopNonLinearSolver103->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1249:42: error: use of undeclared identifier '_conditions1103'; did you mean 'conditions1103'? restart103 = !std::equal (_conditions1103, _conditions1103+_dimZeroFunc,_conditions0103); ^~~~~~~~~~~~~~~ conditions1103 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1228:29: note: 'conditions1103' declared here 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: 4.687645987840369] Failed to read output from testmodel.py, exit status != 0: 0.6307118099648505 0.646175054 0.505564649 Calling exit ...