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.04722/0.04722, allocations: 8.521 MB / 28.12 MB, free: 2.754 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.001431/0.001431, allocations: 104.6 kB / 33.36 MB, free: 1.234 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.002465/0.002465, allocations: 223.7 kB / 38.73 MB, free: 2.684 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.62/1.62, allocations: 230.6 MB / 274.6 MB, free: 2.848 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.01519/0.01519, allocations: 3.425 MB / 336.5 MB, free: 10.64 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.003084/0.003084, allocations: 109.8 kB / 466.2 MB, free: 49.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.1029, allocations: 56.33 MB / 0.5103 GB, free: 14.93 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.01311/0.116, allocations: 8.713 MB / 0.5188 GB, free: 6.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007321/0.1233, allocations: 2.723 MB / 0.5214 GB, free: 3.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.1252, allocations: 63.62 kB / 0.5215 GB, free: 3.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.1268, allocations: 0.4963 MB / 0.522 GB, free: 2.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002749/0.1295, allocations: 0.7103 MB / 0.5227 GB, free: 2.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.131, allocations: 0.5538 MB / 0.5232 GB, free: 1.613 MB / 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.003944/0.135, allocations: 2.694 MB / 0.5259 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.1371, allocations: 1.29 MB / 0.5271 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.1393, allocations: 1.234 MB / 0.5283 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.1417, allocations: 1.373 MB / 0.5297 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000569/0.1423, allocations: 336 kB / 0.53 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009507/0.1432, allocations: 439.8 kB / 0.5304 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009961/0.1442, allocations: 0.8804 MB / 0.5313 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.1458, allocations: 1.159 MB / 0.5324 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005379/0.1512, allocations: 4.212 MB / 0.5365 GB, free: 3.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.1512, allocations: 4 kB / 0.5365 GB, free: 3.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.1512, allocations: 4 kB / 0.5365 GB, free: 3.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001149/0.1513, allocations: 0 / 0.5365 GB, free: 3.895 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.00726/0.1586, allocations: 2.921 MB / 0.5394 GB, free: 0.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.1587, allocations: 12.03 kB / 0.5394 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009743/0.1596, allocations: 307.2 kB / 0.5397 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.1629, allocations: 1.434 MB / 0.5411 GB, free: 15.14 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.0003566/0.1633, allocations: 303.4 kB / 0.5414 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004348/0.1637, allocations: 228 kB / 0.5416 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00616/0.1699, allocations: 3.125 MB / 0.5446 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-05/0.17, allocations: 11.95 kB / 0.5446 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.1702, allocations: 95.98 kB / 0.5447 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.1704, allocations: 108.6 kB / 0.5448 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004821/0.1752, allocations: 2.372 MB / 0.5472 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/0.1903, allocations: 7.508 MB / 0.5545 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.1932, allocations: 1.373 MB / 0.5558 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.1951, allocations: 0.9051 MB / 0.5567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/0.1953, allocations: 44.97 kB / 0.5568 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.1968, allocations: 0.8894 MB / 0.5576 GB, free: 13.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.938e-06/0.1968, allocations: 0 / 0.5576 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01602/0.2128, allocations: 6.454 MB / 0.5639 GB, free: 7.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/0.213, allocations: 244.3 kB / 0.5642 GB, free: 6.93 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.001682/0.2147, allocations: 1.023 MB / 0.5652 GB, free: 5.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.2148, allocations: 45.7 kB / 0.5652 GB, free: 5.836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.2159, allocations: 1.066 MB / 0.5662 GB, free: 4.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004645/0.2164, allocations: 456.2 kB / 0.5667 GB, free: 4.309 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004741/0.2169, allocations: 263.5 kB / 0.5669 GB, free: 4.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.217, allocations: 309.1 kB / 0.5672 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.2184, allocations: 0.7404 MB / 0.5679 GB, free: 2.988 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.2203, allocations: 1.314 MB / 0.5692 GB, free: 1.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008749/0.229, allocations: 3.582 MB / 0.5727 GB, free: 13.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.229, allocations: 4 kB / 0.5727 GB, free: 13.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004971/0.234, allocations: 2.499 MB / 0.5752 GB, free: 11.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.2341, allocations: 41.69 kB / 0.5752 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.2341, allocations: 8 kB / 0.5752 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.2353, allocations: 0.5001 MB / 0.5757 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.2365, allocations: 315.5 kB / 0.576 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009334/0.2458, allocations: 8.247 MB / 0.5841 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.2475, allocations: 127.8 kB / 0.5842 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.2476, allocations: 59.98 kB / 0.5842 GB, free: 1.449 MB / 430.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.002594/0.2502, allocations: 1.31 MB / 0.5855 GB, free: 136 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001817/0.2521, allocations: 1.279 MB / 0.5868 GB, free: 14.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008652/0.2607, allocations: 3.516 MB / 0.5902 GB, free: 10.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.5e-05/0.2607, allocations: 4 kB / 0.5902 GB, free: 10.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004863/0.2656, allocations: 2.456 MB / 0.5926 GB, free: 8.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.2656, allocations: 33.7 kB / 0.5926 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.2656, allocations: 12 kB / 0.5927 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.2668, allocations: 0.5041 MB / 0.5931 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.268, allocations: 303.5 kB / 0.5934 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.302/0.57, allocations: 8.233 MB / 0.6015 GB, free: 80.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.5717, allocations: 135 kB / 0.6016 GB, free: 80.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.5718, allocations: 63.38 kB / 0.6017 GB, free: 80.17 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.0004653/0.5723, allocations: 294.3 kB / 0.6019 GB, free: 79.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/0.5726, allocations: 139.9 kB / 0.6021 GB, free: 79.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/0.5769, allocations: 2.129 MB / 0.6042 GB, free: 79.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.5769, allocations: 13.86 kB / 0.6042 GB, free: 79.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.5769, allocations: 5.156 kB / 0.6042 GB, free: 79.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.5769, allocations: 6.922 kB / 0.6042 GB, free: 79.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00816/0.5851, allocations: 4.111 MB / 0.6082 GB, free: 78.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.5851, allocations: 4.312 kB / 0.6082 GB, free: 78.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008759/0.586, allocations: 209 kB / 0.6084 GB, free: 78.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.5874, allocations: 0.5148 MB / 0.6089 GB, free: 78.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.5875, allocations: 43.94 kB / 0.6089 GB, free: 78.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007115/0.5946, allocations: 8.06 MB / 0.6168 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.5946, allocations: 5.344 kB / 0.6168 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/0.6001, allocations: 3.188 MB / 0.6199 GB, free: 71.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009506/0.601, allocations: 284.7 kB / 0.6202 GB, free: 70.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.6012, allocations: 28.62 kB / 0.6202 GB, free: 70.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009334/0.6022, allocations: 103.9 kB / 0.6203 GB, free: 70.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/0.6025, allocations: 119.1 kB / 0.6204 GB, free: 70.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/0.6025, allocations: 44.62 kB / 0.6205 GB, free: 70.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000988/0.6035, allocations: 0.679 MB / 0.6211 GB, free: 70.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6035, allocations: 0 / 0.6211 GB, free: 70.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003074/0.6066, allocations: 0.782 MB / 0.6219 GB, free: 70.54 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.0003648/0.607, allocations: 189.8 kB / 0.6221 GB, free: 70.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/0.6173, allocations: 6.799 MB / 0.6287 GB, free: 66.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.6173, allocations: 0 / 0.6287 GB, free: 66.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004456/0.6218, allocations: 2.861 MB / 0.6315 GB, free: 64.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.6235, allocations: 338.3 kB / 0.6318 GB, free: 64.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006243/0.6298, allocations: 4.482 MB / 0.6362 GB, free: 59.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009752/0.6307, allocations: 1.195 MB / 0.6374 GB, free: 58.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.6311, allocations: 99.42 kB / 0.6375 GB, free: 58.53 MB / 446.1 MB Notification: Performance of SimCode: time 1.653e-06/0.6311, allocations: 7.719 kB / 0.6375 GB, free: 58.52 MB / 446.1 MB Notification: Performance of Templates: time 0.07274/0.7039, allocations: 79.41 MB / 0.715 GB, free: 11.08 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 -DOMC_BUILD -DUSE_THREAD -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: 5.1175322607159615] Failed to read output from testmodel.py, exit status != 0: 0.7136630108579993 0.73078134 0.57600149 Calling exit ...