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.04921/0.04921, allocations: 8.525 MB / 28.13 MB, free: 2.75 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.001364/0.001364, allocations: 114 kB / 33.36 MB, free: 1.242 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.00171/0.00171, allocations: 217.6 kB / 38.72 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.751/1.751, allocations: 230.6 MB / 274.5 MB, free: 2.828 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.01591/0.01591, allocations: 3.419 MB / 336.5 MB, free: 10.62 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.003031/0.003031, allocations: 97.91 kB / 466.2 MB, free: 49.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1283, allocations: 56.34 MB / 0.5103 GB, free: 14.9 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.01393/0.1423, allocations: 8.708 MB / 0.5188 GB, free: 6.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00751/0.1498, allocations: 2.731 MB / 0.5215 GB, free: 3.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.1513, allocations: 63.62 kB / 0.5215 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.1527, allocations: 0.4885 MB / 0.522 GB, free: 2.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.1548, allocations: 0.7142 MB / 0.5227 GB, free: 2.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.1561, allocations: 0.5497 MB / 0.5232 GB, free: 1.59 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.003479/0.1596, allocations: 2.694 MB / 0.5259 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.1616, allocations: 1.29 MB / 0.5271 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.1637, allocations: 1.238 MB / 0.5283 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.1661, allocations: 1.377 MB / 0.5297 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005731/0.1666, allocations: 340 kB / 0.53 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009817/0.1676, allocations: 431.8 kB / 0.5304 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.1687, allocations: 0.8804 MB / 0.5313 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.1703, allocations: 1.159 MB / 0.5324 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005713/0.176, allocations: 4.216 MB / 0.5365 GB, free: 3.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.176, allocations: 4 kB / 0.5365 GB, free: 3.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.176, allocations: 0 / 0.5365 GB, free: 3.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001016/0.1761, allocations: 0 / 0.5365 GB, free: 3.867 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.007325/0.1834, allocations: 2.917 MB / 0.5394 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.1835, allocations: 8.031 kB / 0.5394 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/0.1844, allocations: 315.2 kB / 0.5397 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/0.1877, allocations: 1.434 MB / 0.5411 GB, free: 15.11 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.0003725/0.1881, allocations: 291.5 kB / 0.5414 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003991/0.1885, allocations: 239.9 kB / 0.5416 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006134/0.1946, allocations: 3.129 MB / 0.5446 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.834e-05/0.1947, allocations: 3.953 kB / 0.5446 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000256/0.195, allocations: 99.98 kB / 0.5447 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.1951, allocations: 112.6 kB / 0.5449 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005178/0.2003, allocations: 2.376 MB / 0.5472 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01616/0.2165, allocations: 7.504 MB / 0.5545 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.2194, allocations: 1.358 MB / 0.5558 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/0.2214, allocations: 0.9051 MB / 0.5567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.2216, allocations: 40.97 kB / 0.5567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001575/0.2232, allocations: 0.8933 MB / 0.5576 GB, free: 13.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.717e-06/0.2232, allocations: 0 / 0.5576 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01677/0.2399, allocations: 6.466 MB / 0.5639 GB, free: 7.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001967/0.2401, allocations: 252.3 kB / 0.5642 GB, free: 6.895 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.001752/0.2419, allocations: 1.015 MB / 0.5652 GB, free: 5.859 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.242, allocations: 45.7 kB / 0.5652 GB, free: 5.809 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.2432, allocations: 1.066 MB / 0.5663 GB, free: 4.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004933/0.2437, allocations: 452.2 kB / 0.5667 GB, free: 4.285 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/0.2442, allocations: 267.5 kB / 0.5669 GB, free: 4.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.2444, allocations: 305.1 kB / 0.5672 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.2458, allocations: 0.7442 MB / 0.568 GB, free: 2.961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.2477, allocations: 1.31 MB / 0.5692 GB, free: 1.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008929/0.2566, allocations: 3.582 MB / 0.5727 GB, free: 13.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.2567, allocations: 4 kB / 0.5727 GB, free: 13.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005088/0.2617, allocations: 2.503 MB / 0.5752 GB, free: 11.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/0.2618, allocations: 41.73 kB / 0.5752 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.2618, allocations: 12 kB / 0.5752 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.2631, allocations: 0.4959 MB / 0.5757 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.2643, allocations: 311.5 kB / 0.576 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00989/0.2741, allocations: 8.231 MB / 0.5841 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.2759, allocations: 143.8 kB / 0.5842 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.276, allocations: 56 kB / 0.5842 GB, free: 1.43 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.002706/0.2787, allocations: 1.31 MB / 0.5855 GB, free: 116 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001831/0.2805, allocations: 1.283 MB / 0.5868 GB, free: 14.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008674/0.2892, allocations: 3.516 MB / 0.5902 GB, free: 10.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.387e-05/0.2892, allocations: 4 kB / 0.5902 GB, free: 10.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.005263/0.2945, allocations: 2.46 MB / 0.5926 GB, free: 8.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.775e-05/0.2946, allocations: 44.19 kB / 0.5927 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.2946, allocations: 8 kB / 0.5927 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.2958, allocations: 0.4924 MB / 0.5931 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.297, allocations: 307.4 kB / 0.5934 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4789/0.7758, allocations: 8.234 MB / 0.6015 GB, free: 80.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.7784, allocations: 133.8 kB / 0.6016 GB, free: 80.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/0.7787, allocations: 66.69 kB / 0.6017 GB, free: 80.05 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.0007716/0.7794, allocations: 290.7 kB / 0.6019 GB, free: 79.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/0.7799, allocations: 140.3 kB / 0.6021 GB, free: 79.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006219/0.7861, allocations: 2.127 MB / 0.6042 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.7861, allocations: 14 kB / 0.6042 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/0.7862, allocations: 5.438 kB / 0.6042 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/0.7862, allocations: 5.953 kB / 0.6042 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.7983, allocations: 4.106 MB / 0.6082 GB, free: 78.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.7983, allocations: 2.75 kB / 0.6082 GB, free: 78.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.7994, allocations: 211.3 kB / 0.6084 GB, free: 78.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.8013, allocations: 0.5217 MB / 0.6089 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/0.8015, allocations: 35.84 kB / 0.6089 GB, free: 78.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.8123, allocations: 8.064 MB / 0.6168 GB, free: 72.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/0.8123, allocations: 4.594 kB / 0.6168 GB, free: 72.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008129/0.8204, allocations: 3.193 MB / 0.6199 GB, free: 70.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.8219, allocations: 271.2 kB / 0.6202 GB, free: 70.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.8221, allocations: 34.08 kB / 0.6202 GB, free: 70.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.8232, allocations: 102.6 kB / 0.6203 GB, free: 70.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004499/0.8236, allocations: 125.5 kB / 0.6204 GB, free: 70.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.8237, allocations: 46.27 kB / 0.6205 GB, free: 70.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001556/0.8253, allocations: 0.6706 MB / 0.6211 GB, free: 70.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.8253, allocations: 1.062 kB / 0.6211 GB, free: 70.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005297/0.8306, allocations: 0.7859 MB / 0.6219 GB, free: 70.43 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.0005539/0.8311, allocations: 193.2 kB / 0.6221 GB, free: 70.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0129/0.844, allocations: 6.8 MB / 0.6287 GB, free: 66.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.369e-05/0.844, allocations: 3.906 kB / 0.6287 GB, free: 66.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005298/0.8493, allocations: 2.861 MB / 0.6315 GB, free: 64.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.8517, allocations: 322.9 kB / 0.6318 GB, free: 64.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008312/0.86, allocations: 4.485 MB / 0.6362 GB, free: 59.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.8613, allocations: 1.192 MB / 0.6374 GB, free: 58.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.8617, allocations: 99.42 kB / 0.6375 GB, free: 58.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.904e-06/0.8617, allocations: 4 kB / 0.6375 GB, free: 58.45 MB / 446.1 MB Notification: Performance of Templates: time 0.09831/0.96, allocations: 79.42 MB / 0.715 GB, free: 11 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 -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_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: 5.939046562183648] Failed to read output from testmodel.py, exit status != 0: 0.9707326330244541 0.989798529 0.809790891 Calling exit ...