Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.0757/0.0757, 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.001244/0.001244, allocations: 110.3 kB / 33.37 MB, free: 1.352 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.001601/0.001601, allocations: 213.9 kB / 38.75 MB, free: 2.816 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.468/1.468, allocations: 230.6 MB / 274.6 MB, free: 3.027 MB / 206.1 MB " [Timeout remaining time 178] 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.01525/0.01525, allocations: 3.411 MB / 336.5 MB, free: 8.961 MB / 254.1 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.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_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.0032/0.0032, allocations: 104 kB / 466.3 MB, free: 50.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08695/0.09016, allocations: 56.33 MB / 0.5104 GB, free: 14.91 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.01333/0.1035, allocations: 9.954 MB / 0.5201 GB, free: 4.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006116/0.1096, allocations: 2.848 MB / 0.5229 GB, free: 2.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.1111, allocations: 67.56 kB / 0.5229 GB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.1127, allocations: 0.5081 MB / 0.5234 GB, free: 1.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.1152, allocations: 0.7064 MB / 0.5241 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.1166, allocations: 0.5642 MB / 0.5247 GB, free: 200 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.003878/0.1205, allocations: 2.694 MB / 0.5273 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.1228, allocations: 1.34 MB / 0.5286 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.1247, allocations: 1.238 MB / 0.5298 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.1272, allocations: 1.49 MB / 0.5313 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008027/0.128, allocations: 336 kB / 0.5316 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.1293, allocations: 439.9 kB / 0.532 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.1305, allocations: 0.8765 MB / 0.5329 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.1327, allocations: 1.435 MB / 0.5343 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004976/0.1377, allocations: 4.192 MB / 0.5384 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1377, allocations: 4 kB / 0.5384 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1377, allocations: 0 / 0.5384 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.501e-05/0.1378, allocations: 0 / 0.5384 GB, free: 2.055 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.006207/0.144, allocations: 2.917 MB / 0.5412 GB, free: 15.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.144, allocations: 8.031 kB / 0.5412 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008364/0.1449, allocations: 307.2 kB / 0.5415 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.1478, allocations: 1.43 MB / 0.5429 GB, free: 13.31 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.0002975/0.1481, allocations: 307.3 kB / 0.5432 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.1484, allocations: 232 kB / 0.5434 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005198/0.1536, allocations: 2.982 MB / 0.5463 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.811e-05/0.1537, allocations: 7.891 kB / 0.5464 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.1539, allocations: 100 kB / 0.5465 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.154, allocations: 112.6 kB / 0.5466 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004476/0.1585, allocations: 2.372 MB / 0.5489 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.1729, allocations: 8.563 MB / 0.5572 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.1757, allocations: 1.361 MB / 0.5586 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.1776, allocations: 0.909 MB / 0.5595 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/0.1778, allocations: 48.95 kB / 0.5595 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/0.1792, allocations: 0.7928 MB / 0.5603 GB, free: 11.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.936e-06/0.1792, allocations: 0 / 0.5603 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01579/0.195, allocations: 6.477 MB / 0.5666 GB, free: 4.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.1951, allocations: 252.2 kB / 0.5668 GB, free: 4.289 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.001977/0.1971, allocations: 1.179 MB / 0.568 GB, free: 3.098 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.1972, allocations: 53.7 kB / 0.568 GB, free: 3.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.1982, allocations: 1.047 MB / 0.5691 GB, free: 1.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004363/0.1987, allocations: 452.2 kB / 0.5695 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/0.1992, allocations: 271.5 kB / 0.5698 GB, free: 1.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1993, allocations: 305.1 kB / 0.57 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.2007, allocations: 0.7192 MB / 0.5708 GB, free: 244 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.2024, allocations: 1.127 MB / 0.5719 GB, free: 14.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008699/0.2111, allocations: 3.574 MB / 0.5753 GB, free: 11.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.2111, allocations: 4 kB / 0.5753 GB, free: 11.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005076/0.2162, allocations: 2.486 MB / 0.5778 GB, free: 8.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/0.2162, allocations: 34.02 kB / 0.5778 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.2163, allocations: 16 kB / 0.5778 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.2177, allocations: 0.5037 MB / 0.5783 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.2189, allocations: 303.5 kB / 0.5786 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009674/0.2286, allocations: 8.38 MB / 0.5868 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.2302, allocations: 135.9 kB / 0.5869 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.2305, allocations: 59.98 kB / 0.587 GB, free: 14.77 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.002656/0.2331, allocations: 1.281 MB / 0.5882 GB, free: 13.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001761/0.2349, allocations: 1.111 MB / 0.5893 GB, free: 12.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008871/0.2438, allocations: 3.512 MB / 0.5927 GB, free: 8.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.459e-05/0.2438, allocations: 3.984 kB / 0.5927 GB, free: 8.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004866/0.2487, allocations: 2.443 MB / 0.5951 GB, free: 6.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.2487, allocations: 39.89 kB / 0.5952 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.2487, allocations: 12 kB / 0.5952 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.25, allocations: 0.5117 MB / 0.5957 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.2512, allocations: 295.5 kB / 0.596 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2254/0.4765, allocations: 8.377 MB / 0.6041 GB, free: 79.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.478, allocations: 130.9 kB / 0.6043 GB, free: 79.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.4782, allocations: 63.12 kB / 0.6043 GB, free: 79.19 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.0003786/0.4785, allocations: 295 kB / 0.6046 GB, free: 79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.4788, allocations: 154.5 kB / 0.6048 GB, free: 79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/0.4826, allocations: 2.137 MB / 0.6068 GB, free: 78.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4827, allocations: 12.78 kB / 0.6069 GB, free: 78.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.4827, allocations: 4.656 kB / 0.6069 GB, free: 78.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.4827, allocations: 11.03 kB / 0.6069 GB, free: 78.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00786/0.4905, allocations: 4.63 MB / 0.6114 GB, free: 76.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.4906, allocations: 3.5 kB / 0.6114 GB, free: 76.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008596/0.4914, allocations: 207 kB / 0.6116 GB, free: 76.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.4927, allocations: 0.5182 MB / 0.6121 GB, free: 76.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.835e-05/0.4928, allocations: 40.72 kB / 0.6121 GB, free: 76.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006231/0.4991, allocations: 8.213 MB / 0.6202 GB, free: 70.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4991, allocations: 3.781 kB / 0.6202 GB, free: 70.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005007/0.5041, allocations: 3.208 MB / 0.6233 GB, free: 68.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008019/0.5049, allocations: 299.2 kB / 0.6236 GB, free: 68.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.5051, allocations: 31.7 kB / 0.6236 GB, free: 68.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008646/0.5059, allocations: 108.2 kB / 0.6237 GB, free: 68.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.5062, allocations: 112.9 kB / 0.6238 GB, free: 68.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.888e-05/0.5062, allocations: 43.11 kB / 0.6239 GB, free: 68.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000932/0.5072, allocations: 0.804 MB / 0.6246 GB, free: 68.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5072, allocations: 0 / 0.6246 GB, free: 68.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002165/0.5093, allocations: 0.7884 MB / 0.6254 GB, free: 68.37 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.000288/0.5096, allocations: 202.8 kB / 0.6256 GB, free: 68.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01012/0.5197, allocations: 6.738 MB / 0.6322 GB, free: 63.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5197, allocations: 5.812 kB / 0.6322 GB, free: 63.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004342/0.5241, allocations: 2.864 MB / 0.635 GB, free: 61.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.5258, allocations: 394.3 kB / 0.6354 GB, free: 61.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/0.5314, allocations: 4.512 MB / 0.6398 GB, free: 57.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/0.5324, allocations: 1.761 MB / 0.6415 GB, free: 55.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.5327, allocations: 111.4 kB / 0.6416 GB, free: 55.38 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5327, allocations: 0 / 0.6416 GB, free: 55.38 MB / 446.1 MB Notification: Performance of Templates: time 0.06858/0.6013, allocations: 79.82 MB / 0.7195 GB, free: 7.547 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.makefile [Timeout 660] make -j1 -f EHPTexamples_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_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1169:30: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver170'? double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _algLoopLinearSolver170; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1170:47: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver170'? bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _algLoopLinearSolver170; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1171:46: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver170'? bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _algLoopLinearSolver170; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1172:5: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop170'? _algLoop100->getReal(algloop100Vars); ^~~~~~~~~~~ _algLoop170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here _algLoop170; ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1176:10: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop170'? _algLoop100->evaluate(); ^~~~~~~~~~~ _algLoop170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here _algLoop170; ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1184:16: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver170'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _algLoopLinearSolver170; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1171:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1171:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1170:30: note: 'conditions0100' declared here bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1196:13: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver170'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _algLoopLinearSolver170; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1209:18: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop170'? _algLoop100->setReal(algloop100Vars ); ^~~~~~~~~~~ _algLoop170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here _algLoop170; ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1210:18: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver170'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here _algLoopLinearSolver170; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1226:30: error: use of undeclared identifier '_algLoopLinearSolver103' double* algloop103Vars = _algLoopLinearSolver103->getVariableWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1227:47: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions0103 = _algLoopLinearSolver103->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1228:46: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1229:5: error: use of undeclared identifier '_algLoop103' _algLoop103->getReal(algloop103Vars); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1233:10: error: use of undeclared identifier '_algLoop103' _algLoop103->evaluate(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1241:16: error: use of undeclared identifier '_algLoopNonLinearSolver103' _algLoopNonLinearSolver103->solve(); ^ ./OMCppEHPTexamples_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_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_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.7709370229858905] Failed to read output from testmodel.py, exit status != 0: 0.6111472200136632 0.627164657 0.486129786 Calling exit ...