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.02813/0.02813, allocations: 6.466 MB / 26.32 MB, free: 3.562 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009602/0.0009602, allocations: 83.72 kB / 31.55 MB, free: 4.926 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 160.9 kB / 36.89 MB, free: 6.84 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8184/0.8184, allocations: 177.2 MB / 219.3 MB, free: 13.6 MB / 202.7 MB " [Timeout remaining time 179] 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.00863/0.00863, allocations: 2.512 MB / 280.3 MB, free: 0.5078 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 4 kB / 410.1 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.702e-05, allocations: 2.281 kB / 410.1 MB, free: 13.03 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start=\"Y\") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.006644/0.006661, allocations: 8.727 MB / 418.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.009729, allocations: 2.731 MB / 421.5 MB, free: 1.516 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004965/0.01023, allocations: 67.56 kB / 421.6 MB, free: 1.449 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007005/0.01093, allocations: 496.2 kB / 422.1 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000965/0.01189, allocations: 0.7447 MB / 422.8 MB, free: 216 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.01247, allocations: 0.5577 MB / 423.4 MB, free: 15.65 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.001583/0.01405, allocations: 2.778 MB / 426.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.01511, allocations: 1.289 MB / 427.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.01641, allocations: 1.813 MB / 429.3 MB, free: 9.691 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.01769, allocations: 1.223 MB / 430.5 MB, free: 8.465 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002887/0.01798, allocations: 340 kB / 430.8 MB, free: 8.133 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.01839, allocations: 435.8 kB / 431.3 MB, free: 7.707 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000497/0.01889, allocations: 0.8997 MB / 432.2 MB, free: 6.805 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006593/0.01955, allocations: 0.99 MB / 433.1 MB, free: 5.812 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.02199, allocations: 4.261 MB / 437.4 MB, free: 1.539 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.022, allocations: 7.938 kB / 437.4 MB, free: 1.531 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.022, allocations: 0 / 437.4 MB, free: 1.531 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.662e-05/0.02203, allocations: 0 / 437.4 MB, free: 1.531 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 608 * Number of variables: 608 Notification: Performance of Generate backend data structure: time 0.003148/0.02518, allocations: 2.89 MB / 440.3 MB, free: 14.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.02522, allocations: 12.03 kB / 440.3 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004864/0.0257, allocations: 307.2 kB / 440.6 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.0273, allocations: 1.441 MB / 442.1 MB, free: 12.8 MB / 410.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.02748, allocations: 292 kB / 442.3 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.0277, allocations: 244 kB / 442.6 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.03067, allocations: 3.125 MB / 445.7 MB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.03072, allocations: 7.984 kB / 445.7 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.03086, allocations: 95.94 kB / 445.8 MB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-05/0.03093, allocations: 104.6 kB / 445.9 MB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.03353, allocations: 2.376 MB / 448.3 MB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.144/0.1775, allocations: 7.499 MB / 455.8 MB, free: 80.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.179, allocations: 1.367 MB / 457.1 MB, free: 80.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009422/0.18, allocations: 0.9039 MB / 458.1 MB, free: 80.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.1801, allocations: 48.55 kB / 458.1 MB, free: 80.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007231/0.1808, allocations: 0.8868 MB / 459 MB, free: 79.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 2.265e-06/0.1808, allocations: 0 / 459 MB, free: 79.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.007614/0.1884, allocations: 6.466 MB / 465.5 MB, free: 77.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.1885, allocations: 249.3 kB / 465.7 MB, free: 77.41 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/0.1893, allocations: 1.017 MB / 466.7 MB, free: 76.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.1893, allocations: 48.11 kB / 466.8 MB, free: 76.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.1897, allocations: 1.053 MB / 467.8 MB, free: 76.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.1899, allocations: 446 kB / 468.2 MB, free: 75.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.1901, allocations: 270.9 kB / 468.5 MB, free: 75.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.321e-05/0.1901, allocations: 301.1 kB / 468.8 MB, free: 75.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006774/0.1908, allocations: 0.7473 MB / 469.6 MB, free: 75.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008939/0.1917, allocations: 1.305 MB / 470.9 MB, free: 74.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006604/0.1983, allocations: 3.58 MB / 474.4 MB, free: 72.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.1983, allocations: 2.875 kB / 474.4 MB, free: 72.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003313/0.2016, allocations: 2.5 MB / 476.9 MB, free: 71.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.2016, allocations: 35.77 kB / 477 MB, free: 71.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.2017, allocations: 12.22 kB / 477 MB, free: 71.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008755/0.2025, allocations: 0.5026 MB / 477.5 MB, free: 71.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/0.2034, allocations: 316.1 kB / 477.8 MB, free: 71.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00522/0.2086, allocations: 8.231 MB / 486 MB, free: 65.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.2092, allocations: 137.5 kB / 486.2 MB, free: 65.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/0.2093, allocations: 64.33 kB / 486.2 MB, free: 65.07 MB / 410.7 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001367/0.2106, allocations: 1.309 MB / 487.5 MB, free: 64.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008051/0.2114, allocations: 1.277 MB / 488.8 MB, free: 63.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005856/0.2173, allocations: 3.519 MB / 492.3 MB, free: 61.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.282e-06/0.2173, allocations: 3.125 kB / 492.3 MB, free: 61.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.002597/0.2199, allocations: 2.453 MB / 494.8 MB, free: 60.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.2199, allocations: 37.05 kB / 494.8 MB, free: 60.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2199, allocations: 10.16 kB / 494.8 MB, free: 60.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/0.2206, allocations: 0.5041 MB / 495.3 MB, free: 60.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.2211, allocations: 297.5 kB / 495.6 MB, free: 60.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/0.2252, allocations: 8.235 MB / 0.4921 GB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008603/0.2261, allocations: 134.8 kB / 0.4922 GB, free: 54.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.2262, allocations: 61.53 kB / 0.4922 GB, free: 54.34 MB / 410.7 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00033/0.2265, allocations: 303 kB / 0.4925 GB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.2267, allocations: 139.3 kB / 0.4927 GB, free: 54.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002817/0.2295, allocations: 2.126 MB / 0.4947 GB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.2295, allocations: 16.78 kB / 0.4948 GB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2295, allocations: 4.656 kB / 0.4948 GB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.2295, allocations: 6.984 kB / 0.4948 GB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.234, allocations: 4.102 MB / 0.4988 GB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.234, allocations: 3.406 kB / 0.4988 GB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.2345, allocations: 212.5 kB / 0.499 GB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007279/0.2352, allocations: 0.5154 MB / 0.4995 GB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.2353, allocations: 44.8 kB / 0.4995 GB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003935/0.2392, allocations: 8.063 MB / 0.5074 GB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2392, allocations: 5.062 kB / 0.5074 GB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.2422, allocations: 3.185 MB / 0.5105 GB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.2425, allocations: 276.8 kB / 0.5108 GB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.2426, allocations: 37.06 kB / 0.5108 GB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.2431, allocations: 106.8 kB / 0.5109 GB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.2432, allocations: 120.4 kB / 0.511 GB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.2433, allocations: 38.78 kB / 0.5111 GB, free: 43.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005941/0.2439, allocations: 0.6757 MB / 0.5117 GB, free: 42.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2439, allocations: 0 / 0.5117 GB, free: 42.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001603/0.2455, allocations: 0.7856 MB / 0.5125 GB, free: 41.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002484/0.2457, allocations: 197 kB / 0.5127 GB, free: 41.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005772/0.2515, allocations: 6.793 MB / 0.5193 GB, free: 35.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2515, allocations: 0.75 kB / 0.5193 GB, free: 35.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002317/0.2538, allocations: 2.869 MB / 0.5221 GB, free: 32.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008351/0.2547, allocations: 322.9 kB / 0.5224 GB, free: 32.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.2584, allocations: 4.319 MB / 0.5266 GB, free: 28.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/0.2591, allocations: 1.192 MB / 0.5278 GB, free: 27.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.2593, allocations: 107.5 kB / 0.5279 GB, free: 27.43 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.2593, allocations: 0 / 0.5279 GB, free: 27.43 MB / 410.7 MB Notification: Performance of Templates: time 0.04385/0.3032, allocations: 79.46 MB / 0.6055 GB, free: 11.97 MB / 474.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTexamples_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'? 1169 | double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); | ^~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _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'? 1170 | bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); | ^~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _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'? 1171 | bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); | ^~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _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'? 1172 | _algLoop100->getReal(algloop100Vars); | ^~~~~~~~~~~ | _algLoop170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here 1078 | _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'? 1176 | _algLoop100->evaluate(); | ^~~~~~~~~~~ | _algLoop170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here 1078 | _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'? 1184 | _algLoopNonLinearSolver100->solve(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _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'? 1192 | restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); | ^~~~~~~~~~~~~~~ | conditions1100 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1171:29: note: 'conditions1100' declared here 1171 | bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1192:59: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? 1192 | restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); | ^~~~~~~~~~~~~~~ | conditions1100 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1171:29: note: 'conditions1100' declared here 1171 | bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1192:88: error: use of undeclared identifier '_conditions0100'; did you mean 'conditions0100'? 1192 | restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); | ^~~~~~~~~~~~~~~ | conditions0100 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1170:30: note: 'conditions0100' declared here 1170 | bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1196:13: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver170'? 1196 | _algLoopNonLinearSolver100->solve(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _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'? 1209 | _algLoop100->setReal(algloop100Vars ); | ^~~~~~~~~~~ | _algLoop170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1078:10: note: '_algLoop170' declared here 1078 | _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'? 1210 | _algLoopNonLinearSolver100->solve(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | _algLoopLinearSolver170 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:1024:14: note: '_algLoopLinearSolver170' declared here 1024 | _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' 1226 | double* algloop103Vars = _algLoopLinearSolver103->getVariableWorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1227:47: error: use of undeclared identifier '_algLoopLinearSolver103' 1227 | bool* conditions0103 = _algLoopLinearSolver103->getConditionsWorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1228:46: error: use of undeclared identifier '_algLoopLinearSolver103' 1228 | bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1229:5: error: use of undeclared identifier '_algLoop103' 1229 | _algLoop103->getReal(algloop103Vars); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1233:10: error: use of undeclared identifier '_algLoop103' 1233 | _algLoop103->evaluate(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1241:16: error: use of undeclared identifier '_algLoopNonLinearSolver103' 1241 | _algLoopNonLinearSolver103->solve(); | ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1249:42: error: use of undeclared identifier '_conditions1103'; did you mean 'conditions1103'? 1249 | restart103 = !std::equal (_conditions1103, _conditions1103+_dimZeroFunc,_conditions0103); | ^~~~~~~~~~~~~~~ | conditions1103 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1228:29: note: 'conditions1103' declared here 1228 | bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.791747046634555] Failed to read output from testmodel.py, exit status != 0: 0.3085333416238427 0.45496509199999996 0.43041325399999997 Calling exit ...