Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001179/0.001179, allocations: 109.5 kB / 15.99 MB, free: 6.344 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.001185/0.001185, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.239/1.239, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0382/0.0382, allocations: 8.044 MB / 298.8 MB, free: 7.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 55.91 kB / 360.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1955, allocations: 51.2 MB / 412 MB, free: 26.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.007302/0.2028, allocations: 9.613 MB / 421.6 MB, free: 16.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.2066, allocations: 2.634 MB / 424.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006954/0.2073, allocations: 47.81 kB / 424.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008901/0.2082, allocations: 417.5 kB / 424.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.2094, allocations: 0.5982 MB / 425.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.2101, allocations: 498.3 kB / 425.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.2117, allocations: 2.643 MB / 428.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.2133, allocations: 2.3 MB / 430.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009694/0.2143, allocations: 1.184 MB / 431.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.2153, allocations: 1.452 MB / 433.3 MB, free: 4.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.2156, allocations: 332 kB / 433.7 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.2161, allocations: 419.8 kB / 434.1 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.2166, allocations: 0.8688 MB / 434.9 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008305/0.2174, allocations: 1.423 MB / 436.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.2195, allocations: 3.414 MB / 439.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2195, allocations: 0 / 439.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2195, allocations: 0 / 439.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.395e-05/0.2196, allocations: 0 / 439.8 MB, free: 14.41 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: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.004801/0.2244, allocations: 2.901 MB / 442.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2244, allocations: 8.031 kB / 442.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006297/0.2251, allocations: 289.7 kB / 443 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.2268, allocations: 1.369 MB / 444.3 MB, free: 9.738 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.0002262/0.2271, allocations: 247.9 kB / 444.6 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002966/0.2274, allocations: 235.9 kB / 444.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004289/0.2317, allocations: 2.965 MB / 447.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/0.2318, allocations: 7.906 kB / 447.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.2319, allocations: 92 kB / 447.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-05/0.232, allocations: 112.5 kB / 448 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003701/0.2358, allocations: 2.379 MB / 450.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.2476, allocations: 8.795 MB / 459.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/0.25, allocations: 1.628 MB / 460.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.2516, allocations: 0.9667 MB / 461.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.2519, allocations: 122.1 kB / 461.9 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.2531, allocations: 0.785 MB / 462.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.905e-06/0.2531, allocations: 0 / 462.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01314/0.2662, allocations: 6.951 MB / 469.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.2664, allocations: 248.3 kB / 469.9 MB, free: 15.49 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.001574/0.268, allocations: 1.236 MB / 471.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.924e-05/0.2681, allocations: 49.7 kB / 471.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007566/0.2688, allocations: 1.016 MB / 472.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.2691, allocations: 414 kB / 472.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/0.2695, allocations: 263.4 kB / 472.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.2696, allocations: 305.1 kB / 473.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.2707, allocations: 0.723 MB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.2721, allocations: 1.131 MB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007935/0.28, allocations: 3.619 MB / 478.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.2801, allocations: 4 kB / 478.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004044/0.2841, allocations: 2.572 MB / 481.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.2842, allocations: 37.7 kB / 481.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.2842, allocations: 15.98 kB / 481.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.2853, allocations: 0.5001 MB / 481.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.2863, allocations: 307.5 kB / 482 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007238/0.2935, allocations: 8.805 MB / 490.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.2949, allocations: 119.9 kB / 490.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.295, allocations: 59.98 kB / 491 MB, free: 9.328 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002098/0.2971, allocations: 1.284 MB / 492.3 MB, free: 8.043 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001364/0.2985, allocations: 1.111 MB / 493.4 MB, free: 6.762 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00773/0.3062, allocations: 3.552 MB / 496.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-05/0.3063, allocations: 4 kB / 496.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003878/0.3102, allocations: 2.521 MB / 499.5 MB, free: 476 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.3102, allocations: 37.7 kB / 499.5 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.3102, allocations: 20.08 kB / 499.5 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.3113, allocations: 0.507 MB / 0.4883 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009618/0.3123, allocations: 295.5 kB / 0.4886 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007161/0.3194, allocations: 8.79 MB / 0.4972 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.3209, allocations: 135.9 kB / 0.4973 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.321, allocations: 56 kB / 0.4974 GB, free: 6.062 MB / 382.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.000442/0.3214, allocations: 303.2 kB / 0.4976 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.3217, allocations: 150.1 kB / 0.4978 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/0.3254, allocations: 2.204 MB / 0.4999 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.3254, allocations: 15.94 kB / 0.5 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.3254, allocations: 8 kB / 0.5 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.3255, allocations: 3.984 kB / 0.5 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1569/0.4824, allocations: 4.752 MB / 0.5046 GB, free: 88.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.4824, allocations: 4.25 kB / 0.5046 GB, free: 88.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008211/0.4833, allocations: 199.4 kB / 0.5048 GB, free: 88.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.4845, allocations: 0.5211 MB / 0.5053 GB, free: 88.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-05/0.4846, allocations: 38.19 kB / 0.5053 GB, free: 88.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006017/0.4906, allocations: 8.62 MB / 0.5138 GB, free: 82.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4907, allocations: 5.5 kB / 0.5138 GB, free: 82.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005262/0.4959, allocations: 3.266 MB / 0.517 GB, free: 80.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/0.4965, allocations: 363.8 kB / 0.5173 GB, free: 80.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.4967, allocations: 31.34 kB / 0.5173 GB, free: 80.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008661/0.4976, allocations: 97.89 kB / 0.5174 GB, free: 80.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/0.4978, allocations: 119 kB / 0.5175 GB, free: 80.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.037e-05/0.4979, allocations: 42.81 kB / 0.5176 GB, free: 80.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000905/0.4988, allocations: 0.8157 MB / 0.5184 GB, free: 80.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4988, allocations: 3.969 kB / 0.5184 GB, free: 80.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002044/0.5009, allocations: 0.7839 MB / 0.5192 GB, free: 80.22 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 (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.000296/0.5012, allocations: 192.9 kB / 0.5193 GB, free: 80.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01213/0.5133, allocations: 7.616 MB / 0.5268 GB, free: 75.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.5133, allocations: 0 / 0.5268 GB, free: 75.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005131/0.5185, allocations: 3.068 MB / 0.5298 GB, free: 72.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.5203, allocations: 400.4 kB / 0.5302 GB, free: 71.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006181/0.5265, allocations: 5.401 MB / 0.5354 GB, free: 66.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.5276, allocations: 1.761 MB / 0.5371 GB, free: 64.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.5281, allocations: 107.4 kB / 0.5372 GB, free: 64.63 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5281, allocations: 0 / 0.5372 GB, free: 64.63 MB / 382.1 MB Notification: Performance of Templates: time 0.05951/0.5876, allocations: 78.97 MB / 0.6144 GB, free: 1.645 MB / 398.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile make -j1 -f EHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp In file included from OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTlib_main_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_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o] Error 1