Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.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.02847/0.02847, allocations: 6.469 MB / 26.32 MB, free: 3.086 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.000683/0.000683, allocations: 75.73 kB / 31.55 MB, free: 4.789 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.0008734/0.0008734, allocations: 154.2 kB / 36.88 MB, free: 6.961 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.8567/0.8567, allocations: 177.2 MB / 219.3 MB, free: 13.58 MB / 202.7 MB " [Timeout remaining time 179] 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.008616/0.008616, allocations: 2.508 MB / 280.3 MB, free: 0.5117 MB / 250.7 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.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 410.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.019e-05, allocations: 2.281 kB / 410.1 MB, free: 13.04 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: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: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.tqFollowing): time 0.006751/0.006771, allocations: 8.641 MB / 418.7 MB, free: 4.359 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.00996, allocations: 2.645 MB / 421.4 MB, free: 1.703 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004436/0.0104, allocations: 71.5 kB / 421.4 MB, free: 1.633 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006995/0.0111, allocations: 0.4924 MB / 421.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009201/0.01202, allocations: 0.7369 MB / 422.7 MB, free: 404 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.01258, allocations: 0.5564 MB / 423.2 MB, free: 15.84 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.001526/0.01411, allocations: 2.762 MB / 426 MB, free: 13.06 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.0153, allocations: 1.273 MB / 427.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.01651, allocations: 1.805 MB / 429.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009384/0.01745, allocations: 1.216 MB / 430.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.01769, allocations: 336 kB / 430.6 MB, free: 8.371 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.01808, allocations: 435.7 kB / 431 MB, free: 7.945 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.01856, allocations: 0.8881 MB / 431.9 MB, free: 7.055 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006179/0.01918, allocations: 0.99 MB / 432.9 MB, free: 6.062 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.02177, allocations: 4.23 MB / 437.1 MB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.02177, allocations: 0 / 437.1 MB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.02177, allocations: 8 kB / 437.1 MB, free: 1.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.0218, allocations: 0 / 437.1 MB, free: 1.812 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: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.00298/0.02478, allocations: 2.874 MB / 440 MB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.02481, allocations: 8.031 kB / 440 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.02526, allocations: 303.2 kB / 440.3 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.02695, allocations: 1.425 MB / 441.7 MB, free: 13.12 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.00018/0.02713, allocations: 296 kB / 442 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.02735, allocations: 244 kB / 442.3 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.03029, allocations: 3.096 MB / 445.4 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/0.03033, allocations: 7.984 kB / 445.4 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.03048, allocations: 99.98 kB / 445.5 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.186e-05/0.03056, allocations: 104.5 kB / 445.6 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.03311, allocations: 2.352 MB / 447.9 MB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1611/0.1942, allocations: 7.47 MB / 455.4 MB, free: 80.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.196, allocations: 1.33 MB / 456.7 MB, free: 80.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.1971, allocations: 0.8959 MB / 457.6 MB, free: 80.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.1973, allocations: 49.78 kB / 457.7 MB, free: 80.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008307/0.1981, allocations: 0.8808 MB / 458.5 MB, free: 79.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 3.948e-06/0.1981, allocations: 0 / 458.5 MB, free: 79.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.008679/0.2068, allocations: 6.441 MB / 465 MB, free: 77.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.2069, allocations: 251.6 kB / 465.2 MB, free: 77.58 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.001044/0.2079, allocations: 1.012 MB / 466.2 MB, free: 77.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.208, allocations: 50.45 kB / 466.3 MB, free: 77.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.2086, allocations: 1.047 MB / 467.3 MB, free: 76.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.2088, allocations: 436.6 kB / 467.8 MB, free: 76.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.2091, allocations: 259.6 kB / 468 MB, free: 76.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.2091, allocations: 308.2 kB / 468.3 MB, free: 75.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007662/0.2099, allocations: 0.7344 MB / 469.1 MB, free: 75.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000919/0.2108, allocations: 1.297 MB / 470.4 MB, free: 74.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004523/0.2153, allocations: 3.568 MB / 473.9 MB, free: 72.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.2153, allocations: 2.906 kB / 473.9 MB, free: 72.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002579/0.2179, allocations: 2.484 MB / 476.4 MB, free: 71.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.218, allocations: 39.55 kB / 476.4 MB, free: 71.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.218, allocations: 12.16 kB / 476.5 MB, free: 71.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006834/0.2187, allocations: 0.4949 MB / 477 MB, free: 71.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.2192, allocations: 304.9 kB / 477.3 MB, free: 71.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004677/0.2239, allocations: 8.241 MB / 485.5 MB, free: 65.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.2246, allocations: 128.3 kB / 485.6 MB, free: 65.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.2247, allocations: 58.17 kB / 485.7 MB, free: 65.29 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.001542/0.2262, allocations: 1.299 MB / 487 MB, free: 64.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008141/0.227, allocations: 1.277 MB / 488.2 MB, free: 63.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004057/0.2311, allocations: 3.49 MB / 491.7 MB, free: 62.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.48e-06/0.2311, allocations: 6.641 kB / 491.7 MB, free: 62.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002631/0.2337, allocations: 2.439 MB / 494.2 MB, free: 61.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.2338, allocations: 43.42 kB / 494.2 MB, free: 61.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.2338, allocations: 10.75 kB / 494.2 MB, free: 61.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/0.2344, allocations: 0.5023 MB / 494.7 MB, free: 61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.235, allocations: 296.3 kB / 495 MB, free: 60.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/0.2391, allocations: 8.233 MB / 0.4915 GB, free: 54.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006948/0.2398, allocations: 139.6 kB / 0.4916 GB, free: 54.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.2399, allocations: 61.38 kB / 0.4917 GB, free: 54.56 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.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.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 (155): * Single equations (assignments): 148 * 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.0003253/0.2402, allocations: 290.1 kB / 0.4919 GB, free: 54.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.2404, allocations: 133.3 kB / 0.4921 GB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.2428, allocations: 2.126 MB / 0.4941 GB, free: 53.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.2428, allocations: 11.22 kB / 0.4941 GB, free: 53.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.2428, allocations: 9.156 kB / 0.4942 GB, free: 53.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2428, allocations: 6.562 kB / 0.4942 GB, free: 53.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/0.2473, allocations: 4.08 MB / 0.4981 GB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2473, allocations: 3.562 kB / 0.4982 GB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.2478, allocations: 204.5 kB / 0.4983 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000792/0.2486, allocations: 0.5129 MB / 0.4988 GB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.2486, allocations: 35.52 kB / 0.4989 GB, free: 51.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/0.2528, allocations: 8.065 MB / 0.5068 GB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2528, allocations: 3.156 kB / 0.5068 GB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.2559, allocations: 3.146 MB / 0.5098 GB, free: 43.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.2563, allocations: 278 kB / 0.5101 GB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.2564, allocations: 32.14 kB / 0.5101 GB, free: 43.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.2568, allocations: 108.2 kB / 0.5102 GB, free: 43.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.2571, allocations: 115.6 kB / 0.5103 GB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.2571, allocations: 37.97 kB / 0.5104 GB, free: 43.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006311/0.2577, allocations: 0.6761 MB / 0.511 GB, free: 43.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2577, allocations: 0 / 0.511 GB, free: 43.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001801/0.2595, allocations: 0.778 MB / 0.5118 GB, free: 42.31 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,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * 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.0002758/0.2598, allocations: 193.9 kB / 0.512 GB, free: 42.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006399/0.2662, allocations: 6.762 MB / 0.5186 GB, free: 35.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.2662, allocations: 3.75 kB / 0.5186 GB, free: 35.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002407/0.2686, allocations: 2.866 MB / 0.5214 GB, free: 33.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009747/0.2696, allocations: 334.5 kB / 0.5217 GB, free: 32.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.2739, allocations: 4.259 MB / 0.5259 GB, free: 28.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/0.2747, allocations: 1.182 MB / 0.527 GB, free: 28.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.2749, allocations: 105.1 kB / 0.5271 GB, free: 27.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/0.2749, allocations: 0 / 0.5271 GB, free: 27.96 MB / 410.7 MB Notification: Performance of Templates: time 0.06127/0.3362, allocations: 78.98 MB / 0.6043 GB, free: 12.99 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile [Timeout 660] make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.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_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1142:29: error: use of undeclared identifier '_algLoopLinearSolver97' 1142 | double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1143:46: error: use of undeclared identifier '_algLoopLinearSolver97' 1143 | bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:45: error: use of undeclared identifier '_algLoopLinearSolver97' 1144 | bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1145:5: error: use of undeclared identifier '_algLoop97' 1145 | _algLoop97->getReal(algloop97Vars); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1149:10: error: use of undeclared identifier '_algLoop97' 1149 | _algLoop97->evaluate(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1157:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' 1157 | _algLoopNonLinearSolver97->solve(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1165:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? 1165 | restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); | ^~~~~~~~~~~~~~ | conditions197 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here 1144 | bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1165:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? 1165 | restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); | ^~~~~~~~~~~~~~ | conditions197 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here 1144 | bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1165:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? 1165 | restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); | ^~~~~~~~~~~~~~ | conditions097 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1143:30: note: 'conditions097' declared here 1143 | bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1169:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' 1169 | _algLoopNonLinearSolver97->solve(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1182:18: error: use of undeclared identifier '_algLoop97' 1182 | _algLoop97->setReal(algloop97Vars ); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1183:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' 1183 | _algLoopNonLinearSolver97->solve(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1199:30: error: use of undeclared identifier '_algLoopLinearSolver100' 1199 | double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1200:47: error: use of undeclared identifier '_algLoopLinearSolver100' 1200 | bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1201:46: error: use of undeclared identifier '_algLoopLinearSolver100' 1201 | bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1202:5: error: use of undeclared identifier '_algLoop100' 1202 | _algLoop100->getReal(algloop100Vars); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1206:10: error: use of undeclared identifier '_algLoop100' 1206 | _algLoop100->evaluate(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1214:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' 1214 | _algLoopNonLinearSolver100->solve(); | ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1222:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? 1222 | restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); | ^~~~~~~~~~~~~~~ | conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1201:29: note: 'conditions1100' declared here 1201 | bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.0749096097424626] Failed to read output from testmodel.py, exit status != 0: 0.3425409020856023 0.5203319200000001 0.32857937000000004 Calling exit ...