Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json 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.000843/0.000843, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008388/0.0008388, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8413/0.8413, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02538/0.02538, allocations: 6.484 MB / 266.4 MB, free: 6.84 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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) Running command: translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 392.9 MB, free: 4.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.225e-05, allocations: 5.094 kB / 392.9 MB, free: 4.027 MB / 314.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(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.007499/0.007521, allocations: 8.654 MB / 401.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004736/0.01226, allocations: 2.661 MB / 404.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008984/0.01316, allocations: 63.62 kB / 404.3 MB, free: 8.602 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008374/0.01399, allocations: 488.3 kB / 404.7 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.01527, allocations: 0.7408 MB / 405.5 MB, free: 7.375 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.01597, allocations: 0.5534 MB / 406 MB, free: 6.824 MB / 330.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.001631/0.0176, allocations: 2.754 MB / 408.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.0187, allocations: 1.285 MB / 410.1 MB, free: 2.711 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.02022, allocations: 1.801 MB / 411.9 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1545/0.1747, allocations: 1.21 MB / 413.1 MB, free: 18.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000922/0.1756, allocations: 336.2 kB / 413.4 MB, free: 18.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009791/0.1766, allocations: 430.5 kB / 413.8 MB, free: 18.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006427/0.1772, allocations: 0.892 MB / 414.7 MB, free: 18.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.1787, allocations: 0.9844 MB / 415.7 MB, free: 18.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00492/0.1836, allocations: 4.23 MB / 419.9 MB, free: 18.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1836, allocations: 1.75 kB / 419.9 MB, free: 18.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1836, allocations: 8.297 kB / 419.9 MB, free: 18.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001327/0.1837, allocations: 0 / 419.9 MB, free: 18.75 MB / 330.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.006197/0.1899, allocations: 2.877 MB / 422.8 MB, free: 17.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.19, allocations: 9.625 kB / 422.8 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007278/0.1907, allocations: 309.2 kB / 423.1 MB, free: 17.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.1929, allocations: 1.417 MB / 424.6 MB, free: 16.57 MB / 330.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.0002898/0.1932, allocations: 288.9 kB / 424.8 MB, free: 16.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/0.1936, allocations: 236.5 kB / 425.1 MB, free: 16.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00442/0.198, allocations: 3.108 MB / 428.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-05/0.1981, allocations: 10.11 kB / 428.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.1982, allocations: 96.36 kB / 428.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.1984, allocations: 107.6 kB / 428.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003255/0.2016, allocations: 2.355 MB / 430.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009103/0.2107, allocations: 7.466 MB / 438.2 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.2123, allocations: 1.324 MB / 439.5 MB, free: 8.133 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009735/0.2132, allocations: 0.896 MB / 440.4 MB, free: 7.703 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.2134, allocations: 42.53 kB / 440.5 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00078/0.2142, allocations: 0.878 MB / 441.3 MB, free: 7.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 3.086e-06/0.2142, allocations: 0.7656 kB / 441.3 MB, free: 7.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.008299/0.2225, allocations: 6.445 MB / 447.8 MB, free: 1.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.2225, allocations: 252.3 kB / 448 MB, free: 1.539 MB / 330.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.001007/0.2235, allocations: 1.016 MB / 449.1 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-05/0.2236, allocations: 46.73 kB / 449.1 MB, free: 464 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007683/0.2244, allocations: 1.06 MB / 450.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.2247, allocations: 428.8 kB / 450.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.225, allocations: 259.5 kB / 450.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.225, allocations: 305.1 kB / 451.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008386/0.2259, allocations: 0.7325 MB / 451.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.2269, allocations: 1.3 MB / 453.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004777/0.2317, allocations: 3.552 MB / 456.7 MB, free: 8.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.2317, allocations: 4 kB / 456.7 MB, free: 8.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003022/0.2347, allocations: 2.492 MB / 459.2 MB, free: 6.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.2348, allocations: 33.7 kB / 459.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.2348, allocations: 15 kB / 459.3 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007569/0.2355, allocations: 0.5145 MB / 459.8 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.2362, allocations: 299.9 kB / 460.1 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005364/0.2415, allocations: 8.236 MB / 468.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.2427, allocations: 131.9 kB / 468.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.2428, allocations: 63.98 kB / 468.5 MB, free: 12.4 MB / 362.7 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002033/0.2448, allocations: 1.301 MB / 469.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001/0.2458, allocations: 1.271 MB / 471.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004635/0.2505, allocations: 3.491 MB / 474.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.015e-05/0.2505, allocations: 4 kB / 474.6 MB, free: 6.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002921/0.2534, allocations: 2.435 MB / 477 MB, free: 3.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.2534, allocations: 42 kB / 477 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.2535, allocations: 16 kB / 477 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006812/0.2541, allocations: 0.495 MB / 477.5 MB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.2547, allocations: 296.6 kB / 477.8 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005215/0.2599, allocations: 8.24 MB / 486.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.2611, allocations: 139.9 kB / 486.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/0.2611, allocations: 56 kB / 486.3 MB, free: 9.988 MB / 378.7 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real 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.0004495/0.2616, allocations: 299.3 kB / 486.6 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.2618, allocations: 136.6 kB / 486.7 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/0.2646, allocations: 2.111 MB / 488.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.2646, allocations: 12 kB / 488.8 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.2646, allocations: 4 kB / 488.8 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.2646, allocations: 11.92 kB / 488.8 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/0.2697, allocations: 4.071 MB / 492.9 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.2698, allocations: 4 kB / 492.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.2702, allocations: 199.1 kB / 493.1 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007881/0.271, allocations: 0.5336 MB / 493.6 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.892e-05/0.2711, allocations: 31.98 kB / 493.7 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005147/0.2762, allocations: 8.05 MB / 0.49 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.2762, allocations: 7.469 kB / 0.49 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.28, allocations: 3.145 MB / 0.493 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/0.2806, allocations: 271.6 kB / 0.4933 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.2807, allocations: 36 kB / 0.4933 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.2812, allocations: 99.88 kB / 0.4934 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.2814, allocations: 120.2 kB / 0.4935 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.2815, allocations: 47.97 kB / 0.4936 GB, free: 6.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007922/0.2823, allocations: 0.6705 MB / 0.4942 GB, free: 5.707 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2823, allocations: 0 / 0.4942 GB, free: 5.707 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002066/0.2843, allocations: 0.7812 MB / 0.495 GB, free: 4.926 MB / 394.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.0003481/0.2847, allocations: 197 kB / 0.4952 GB, free: 4.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007222/0.2919, allocations: 6.767 MB / 0.5018 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.2919, allocations: 0 / 0.5018 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002943/0.2949, allocations: 2.862 MB / 0.5046 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.2961, allocations: 333.7 kB / 0.5049 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005558/0.3017, allocations: 4.265 MB / 0.5091 GB, free: 6.176 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000971/0.3027, allocations: 1.187 MB / 0.5102 GB, free: 4.949 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004441/0.3031, allocations: 100.5 kB / 0.5103 GB, free: 4.848 MB / 410.7 MB Notification: Performance of SimCode: time 2.565e-06/0.3031, allocations: 0 / 0.5103 GB, free: 4.848 MB / 410.7 MB Notification: Performance of Templates: time 0.2065/0.5096, allocations: 78.97 MB / 0.5875 GB, free: 161.3 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile [Timeout 660] make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.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 OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp In file included from OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1142:29: error: use of undeclared identifier '_algLoopLinearSolver97' 1142 | double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1143:46: error: use of undeclared identifier '_algLoopLinearSolver97' 1143 | bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1144:45: error: use of undeclared identifier '_algLoopLinearSolver97' 1144 | bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1145:5: error: use of undeclared identifier '_algLoop97' 1145 | _algLoop97->getReal(algloop97Vars); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1149:10: error: use of undeclared identifier '_algLoop97' 1149 | _algLoop97->evaluate(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1157:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' 1157 | _algLoopNonLinearSolver97->solve(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1165:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? 1165 | restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); | ^~~~~~~~~~~~~~ | conditions197 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here 1144 | bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1165:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? 1165 | restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); | ^~~~~~~~~~~~~~ | conditions197 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here 1144 | bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1165:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? 1165 | restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); | ^~~~~~~~~~~~~~ | conditions097 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1143:30: note: 'conditions097' declared here 1143 | bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1169:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' 1169 | _algLoopNonLinearSolver97->solve(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1182:18: error: use of undeclared identifier '_algLoop97' 1182 | _algLoop97->setReal(algloop97Vars ); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1183:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' 1183 | _algLoopNonLinearSolver97->solve(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1199:30: error: use of undeclared identifier '_algLoopLinearSolver100' 1199 | double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1200:47: error: use of undeclared identifier '_algLoopLinearSolver100' 1200 | bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1201:46: error: use of undeclared identifier '_algLoopLinearSolver100' 1201 | bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1202:5: error: use of undeclared identifier '_algLoop100' 1202 | _algLoop100->getReal(algloop100Vars); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1206:10: error: use of undeclared identifier '_algLoop100' 1206 | _algLoop100->evaluate(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1214:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' 1214 | _algLoopNonLinearSolver100->solve(); | ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1222:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? 1222 | restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); | ^~~~~~~~~~~~~~~ | conditions1100 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.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: *** [: OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.1964908316731453] Failed to read output from testmodel.py, exit status != 0: 0.5172419119626284 0.529457285 0.344027452 Calling exit ...