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.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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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) Running command: translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00709/0.00709, allocations: 100.2 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 193 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 240.5 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1523/0.1523, allocations: 8.017 MB / 298.6 MB, free: 2.492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 360.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09081/0.092, allocations: 51.18 MB / 411.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01052/0.1026, allocations: 9.623 MB / 421.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1847/0.2873, allocations: 2.646 MB / 424.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.2888, allocations: 52.41 kB / 424.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.2902, allocations: 419.3 kB / 424.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.2922, allocations: 0.5977 MB / 425.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.2934, allocations: 491.5 kB / 425.6 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002927/0.2964, allocations: 2.922 MB / 428.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.2983, allocations: 1.945 MB / 430.5 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.2997, allocations: 1.032 MB / 431.5 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.3018, allocations: 1.368 MB / 432.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004389/0.3023, allocations: 200.9 kB / 433.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008109/0.3031, allocations: 301.5 kB / 433.4 MB, free: 35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006917/0.3038, allocations: 0.7343 MB / 434.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.3052, allocations: 1.273 MB / 435.4 MB, free: 33.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.3073, allocations: 3.383 MB / 438.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3074, allocations: 0 / 438.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3074, allocations: 0 / 438.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.721e-05/0.3075, allocations: 0 / 438.7 MB, free: 32.89 MB / 350.1 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.005821/0.3133, allocations: 2.904 MB / 441.6 MB, free: 31.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3133, allocations: 9.156 kB / 441.7 MB, free: 31.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007114/0.3141, allocations: 284.3 kB / 441.9 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.316, allocations: 1.373 MB / 443.3 MB, free: 30.33 MB / 350.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.000225/0.3162, allocations: 243.4 kB / 443.5 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.3165, allocations: 236.4 kB / 443.8 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004709/0.3213, allocations: 2.958 MB / 446.7 MB, free: 28.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-05/0.3214, allocations: 10.3 kB / 446.7 MB, free: 28.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.3216, allocations: 97.97 kB / 446.8 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.379e-05/0.3217, allocations: 108.5 kB / 446.9 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003989/0.3257, allocations: 2.372 MB / 449.3 MB, free: 27.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.3377, allocations: 8.801 MB / 458.1 MB, free: 23.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.34, allocations: 1.631 MB / 459.7 MB, free: 22.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.3416, allocations: 0.9711 MB / 460.7 MB, free: 22.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.3418, allocations: 122.7 kB / 460.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/0.3431, allocations: 0.7847 MB / 461.6 MB, free: 21.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.475e-06/0.3431, allocations: 0 / 461.6 MB, free: 21.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.0149/0.358, allocations: 6.945 MB / 468.6 MB, free: 18.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.3581, allocations: 250.7 kB / 468.8 MB, free: 18.43 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: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.0) 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: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.0) 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.002084/0.3602, allocations: 1.238 MB / 470.1 MB, free: 17.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.3604, allocations: 48.95 kB / 470.1 MB, free: 17.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008108/0.3612, allocations: 1.01 MB / 471.1 MB, free: 17.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000364/0.3616, allocations: 418.8 kB / 471.5 MB, free: 16.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004307/0.362, allocations: 263.9 kB / 471.8 MB, free: 16.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.577e-05/0.3621, allocations: 301.8 kB / 472.1 MB, free: 16.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.3634, allocations: 0.7196 MB / 472.8 MB, free: 16.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.3649, allocations: 1.126 MB / 473.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008897/0.3738, allocations: 3.614 MB / 477.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/0.3739, allocations: 3.312 kB / 477.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00446/0.3784, allocations: 2.569 MB / 480.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.3784, allocations: 36.86 kB / 480.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.3785, allocations: 10.53 kB / 480.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.3797, allocations: 0.4947 MB / 480.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.3809, allocations: 306.2 kB / 480.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006152/0.387, allocations: 8.082 MB / 489 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.3886, allocations: 133.9 kB / 489.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.3889, allocations: 61.7 kB / 489.2 MB, free: 5.543 MB / 350.1 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.002347/0.3913, allocations: 1.278 MB / 490.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001258/0.3925, allocations: 1.107 MB / 491.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007821/0.4004, allocations: 3.54 MB / 495.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.274e-05/0.4004, allocations: 6.312 kB / 495.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00472/0.4051, allocations: 2.521 MB / 497.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.4052, allocations: 38.02 kB / 497.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.4052, allocations: 16 kB / 497.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.4064, allocations: 0.5032 MB / 498.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.4076, allocations: 291.5 kB / 498.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007778/0.4153, allocations: 8.073 MB / 0.4947 GB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.4171, allocations: 139.8 kB / 0.4948 GB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.4173, allocations: 59.98 kB / 0.4949 GB, free: 3.367 MB / 366.1 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.0006542/0.418, allocations: 298.7 kB / 0.4952 GB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.4185, allocations: 142.3 kB / 0.4953 GB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/0.4227, allocations: 2.214 MB / 0.4975 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.4227, allocations: 15.94 kB / 0.4975 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.4228, allocations: 4 kB / 0.4975 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.4228, allocations: 3.984 kB / 0.4975 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008653/0.4314, allocations: 4.753 MB / 0.5021 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.4315, allocations: 4 kB / 0.5022 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009034/0.4324, allocations: 204.1 kB / 0.5023 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.4338, allocations: 0.5241 MB / 0.5029 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.4339, allocations: 35.98 kB / 0.5029 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007536/0.4415, allocations: 7.903 MB / 0.5106 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4415, allocations: 12 kB / 0.5106 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005969/0.4475, allocations: 3.245 MB / 0.5138 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000903/0.4485, allocations: 367.3 kB / 0.5141 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/0.4489, allocations: 35.98 kB / 0.5142 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.4501, allocations: 99.89 kB / 0.5143 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/0.4504, allocations: 116.7 kB / 0.5144 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.4505, allocations: 39.98 kB / 0.5144 GB, free: 14.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.4519, allocations: 0.8223 MB / 0.5152 GB, free: 13.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4519, allocations: 0 / 0.5152 GB, free: 13.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003481/0.4554, allocations: 0.7891 MB / 0.516 GB, free: 12.94 MB / 398.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 (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.0004573/0.4559, allocations: 202.5 kB / 0.5162 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01505/0.4709, allocations: 7.188 MB / 0.5232 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.471, allocations: 0 / 0.5232 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006736/0.4777, allocations: 3.065 MB / 0.5262 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/0.4807, allocations: 371.5 kB / 0.5266 GB, free: 1.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00933/0.4901, allocations: 5.403 MB / 0.5318 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/0.492, allocations: 1.761 MB / 0.5335 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/0.4926, allocations: 107.4 kB / 0.5337 GB, free: 10.4 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4926, allocations: 0 / 0.5337 GB, free: 10.4 MB / 414.1 MB Notification: Performance of Templates: time 0.2475/0.7402, allocations: 78.95 MB / 0.6108 GB, free: 115 MB / 446.1 MB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.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 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:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions097 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1219:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.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: *** [: OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o] Error 1