Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04686/0.04686, allocations: 8.015 MB / 23.9 MB, free: 0.4922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 109.4 kB / 26.47 MB, free: 3.477 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 199.8 kB / 29.14 MB, free: 0.8164 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 254.6 MB, free: 4.957 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01223/0.01223, allocations: 3.118 MB / 309.6 MB, free: 2.547 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 88.28 kB / 373.7 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2149, allocations: 51.97 MB / 425.7 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.007628/0.2226, allocations: 8.975 MB / 434.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004354/0.227, allocations: 2.513 MB / 437.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.2283, allocations: 43.81 kB / 437.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.2295, allocations: 389.7 kB / 437.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.2311, allocations: 0.5632 MB / 438.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.232, allocations: 450.4 kB / 438.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.234, allocations: 2.456 MB / 441.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.2357, allocations: 2.041 MB / 443.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.2368, allocations: 1.086 MB / 444.2 MB, free: 2.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.238, allocations: 1.347 MB / 445.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003065/0.2383, allocations: 296 kB / 445.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005436/0.2389, allocations: 391.8 kB / 446.2 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005035/0.2394, allocations: 0.787 MB / 447 MB, free: 184 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.2406, allocations: 1.279 MB / 448.3 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.2433, allocations: 3.063 MB / 451.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2433, allocations: 0 / 451.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2433, allocations: 0 / 451.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-05/0.2434, allocations: 0 / 451.4 MB, free: 11.82 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.005307/0.2487, allocations: 2.697 MB / 454.1 MB, free: 9.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2488, allocations: 8.031 kB / 454.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006546/0.2494, allocations: 258.1 kB / 454.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.2513, allocations: 1.29 MB / 455.6 MB, free: 7.457 MB / 318.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.2516, allocations: 231.3 kB / 455.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000286/0.2519, allocations: 203.9 kB / 456 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004318/0.2562, allocations: 2.694 MB / 458.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.524e-05/0.2563, allocations: 4 kB / 458.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.2565, allocations: 84 kB / 458.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.606e-05/0.2566, allocations: 99.97 kB / 458.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003658/0.2602, allocations: 2.206 MB / 461.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.272, allocations: 7.965 MB / 469.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.2746, allocations: 1.585 MB / 470.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.2762, allocations: 0.94 MB / 471.6 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/0.2765, allocations: 126 kB / 471.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/0.2777, allocations: 0.7656 MB / 472.5 MB, free: 6.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 3.065e-06/0.2777, allocations: 0 / 472.5 MB, free: 6.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01369/0.2914, allocations: 6.602 MB / 479.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.2916, allocations: 252.3 kB / 479.3 MB, free: 15.08 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.2933, allocations: 1.195 MB / 480.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.98e-05/0.2934, allocations: 49.7 kB / 480.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000732/0.2941, allocations: 0.9153 MB / 481.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003149/0.2944, allocations: 406.3 kB / 481.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/0.2948, allocations: 254.8 kB / 482.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.295, allocations: 357.9 kB / 482.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.2961, allocations: 0.7054 MB / 483.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.2975, allocations: 1.093 MB / 484.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008522/0.3061, allocations: 3.566 MB / 487.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.3061, allocations: 8.062 kB / 487.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004342/0.3105, allocations: 2.511 MB / 490.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.3105, allocations: 44.3 kB / 490.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.3106, allocations: 15.98 kB / 490.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.3117, allocations: 0.4963 MB / 490.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.3128, allocations: 295.5 kB / 491.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008077/0.3209, allocations: 8.809 MB / 0.4883 GB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.3224, allocations: 119.9 kB / 0.4884 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.3226, allocations: 59.98 kB / 0.4885 GB, free: 9.227 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002281/0.3249, allocations: 1.23 MB / 0.4897 GB, free: 7.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001453/0.3264, allocations: 1.07 MB / 0.4907 GB, free: 6.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008382/0.3348, allocations: 3.507 MB / 0.4941 GB, free: 3.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.692e-05/0.3348, allocations: 4 kB / 0.4942 GB, free: 3.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004402/0.3392, allocations: 2.468 MB / 0.4966 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.3393, allocations: 37.69 kB / 0.4966 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.3393, allocations: 12.31 kB / 0.4966 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.3405, allocations: 0.4999 MB / 0.4971 GB, free: 8 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.3415, allocations: 287.6 kB / 0.4974 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007944/0.3495, allocations: 8.787 MB / 0.506 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.351, allocations: 135.9 kB / 0.5061 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.3513, allocations: 48 kB / 0.5061 GB, free: 6.199 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (147): * Single equations (assignments): 140 * 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.0005756/0.3519, allocations: 296.3 kB / 0.5064 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/0.3523, allocations: 134.4 kB / 0.5065 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.3563, allocations: 2.184 MB / 0.5087 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.3564, allocations: 12 kB / 0.5087 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/0.3564, allocations: 8 kB / 0.5087 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.3564, allocations: 11.92 kB / 0.5087 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2294/0.5858, allocations: 4.597 MB / 0.5132 GB, free: 84.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/0.5859, allocations: 3.188 kB / 0.5132 GB, free: 84.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.587, allocations: 196.4 kB / 0.5134 GB, free: 84.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.5886, allocations: 0.5257 MB / 0.5139 GB, free: 84.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002344/0.5889, allocations: 42.31 kB / 0.5139 GB, free: 84.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007536/0.5964, allocations: 8.598 MB / 0.5223 GB, free: 78.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.5965, allocations: 4.469 kB / 0.5223 GB, free: 78.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005281/0.6018, allocations: 3.229 MB / 0.5255 GB, free: 77.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/0.6025, allocations: 357.9 kB / 0.5258 GB, free: 77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003731/0.6029, allocations: 35.66 kB / 0.5259 GB, free: 76.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.6041, allocations: 102.2 kB / 0.526 GB, free: 76.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/0.6044, allocations: 109.7 kB / 0.5261 GB, free: 76.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6045, allocations: 45.05 kB / 0.5261 GB, free: 76.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001547/0.6061, allocations: 0.799 MB / 0.5269 GB, free: 76.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6061, allocations: 0 / 0.5269 GB, free: 76.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00358/0.6097, allocations: 0.7441 MB / 0.5276 GB, free: 76.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,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 (98): * Single equations (assignments): 90 * 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.0004385/0.6101, allocations: 182.4 kB / 0.5278 GB, free: 76.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01344/0.6236, allocations: 7.548 MB / 0.5352 GB, free: 72.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.6236, allocations: 0 / 0.5352 GB, free: 72.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00548/0.6291, allocations: 3.055 MB / 0.5381 GB, free: 69.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.6315, allocations: 381.4 kB / 0.5385 GB, free: 69.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007034/0.6386, allocations: 5.02 MB / 0.5434 GB, free: 64.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.6399, allocations: 1.675 MB / 0.545 GB, free: 62.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.6403, allocations: 103.4 kB / 0.5451 GB, free: 62.55 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6403, allocations: 3.938 kB / 0.5452 GB, free: 62.55 MB / 382.1 MB Notification: Performance of Templates: time 0.06149/0.7018, allocations: 72.29 MB / 0.6158 GB, free: 6.25 MB / 398.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.makefile make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions097 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1219:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1198:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1