Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_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.001262/0.001262, allocations: 113.1 kB / 15.99 MB, free: 6.348 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.001206/0.001206, allocations: 192.1 kB / 16.91 MB, free: 6.188 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04309/0.04309, allocations: 8.033 MB / 298.8 MB, free: 7.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 360.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2469, allocations: 51.2 MB / 412 MB, free: 26.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.008124/0.2551, allocations: 9.615 MB / 421.6 MB, free: 16.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005536/0.2607, allocations: 2.638 MB / 424.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.263, allocations: 47.81 kB / 424.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.2646, allocations: 409.5 kB / 424.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.2671, allocations: 0.5981 MB / 425.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.2682, allocations: 482.2 kB / 425.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002567/0.2708, allocations: 2.658 MB / 428.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.2728, allocations: 2.3 MB / 430.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.2742, allocations: 1.188 MB / 431.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.2755, allocations: 1.444 MB / 433.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003033/0.2758, allocations: 336 kB / 433.7 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005676/0.2764, allocations: 427.8 kB / 434.1 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000551/0.2769, allocations: 0.861 MB / 435 MB, free: 3.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.278, allocations: 1.416 MB / 436.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.2809, allocations: 3.422 MB / 439.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2809, allocations: 0 / 439.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2809, allocations: 0 / 439.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.17e-05/0.281, allocations: 4 kB / 439.8 MB, free: 14.4 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.006329/0.2873, allocations: 2.893 MB / 442.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.2874, allocations: 8.031 kB / 442.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007783/0.2882, allocations: 289.7 kB / 443 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.2906, allocations: 1.376 MB / 444.4 MB, free: 9.727 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.0003048/0.291, allocations: 243.9 kB / 444.6 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/0.2913, allocations: 235.9 kB / 444.8 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005695/0.297, allocations: 2.958 MB / 447.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.945e-05/0.2971, allocations: 11.91 kB / 447.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/0.2974, allocations: 95.98 kB / 447.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.2975, allocations: 108.5 kB / 448 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004485/0.302, allocations: 2.379 MB / 450.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.3171, allocations: 8.795 MB / 459.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/0.32, allocations: 1.632 MB / 460.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.3219, allocations: 0.9667 MB / 461.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.3222, allocations: 122.1 kB / 461.9 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/0.3236, allocations: 0.7811 MB / 462.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.587e-06/0.3236, allocations: 0 / 462.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01653/0.3402, allocations: 6.951 MB / 469.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.3404, allocations: 256.3 kB / 469.9 MB, free: 15.48 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.00217/0.3426, allocations: 1.228 MB / 471.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.3427, allocations: 49.7 kB / 471.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009678/0.3437, allocations: 1.016 MB / 472.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004164/0.3441, allocations: 414.1 kB / 472.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004494/0.3446, allocations: 263.4 kB / 472.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3447, allocations: 309.1 kB / 473.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.3461, allocations: 0.7191 MB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.3478, allocations: 1.127 MB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00917/0.357, allocations: 3.623 MB / 478.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.3571, allocations: 4 kB / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005274/0.3623, allocations: 2.572 MB / 481.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.686e-05/0.3624, allocations: 39.67 kB / 481.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.3625, allocations: 12 kB / 481.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.3638, allocations: 0.5145 MB / 481.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.3649, allocations: 303.5 kB / 482 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009482/0.3744, allocations: 8.798 MB / 490.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.3761, allocations: 123.9 kB / 490.9 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003486/0.3765, allocations: 59.98 kB / 491 MB, free: 9.324 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.003004/0.3795, allocations: 1.282 MB / 492.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001827/0.3814, allocations: 1.107 MB / 493.4 MB, free: 6.762 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008986/0.3904, allocations: 3.556 MB / 497 MB, free: 3.035 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.396e-05/0.3904, allocations: 4 kB / 497 MB, free: 3.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004684/0.3951, allocations: 2.521 MB / 499.5 MB, free: 472 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/0.3952, allocations: 41.69 kB / 499.5 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.3952, allocations: 12 kB / 499.5 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.3965, allocations: 0.5003 MB / 0.4883 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.3976, allocations: 291.6 kB / 0.4886 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008992/0.4066, allocations: 8.8 MB / 0.4972 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.4083, allocations: 135.9 kB / 0.4973 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.4085, allocations: 63.98 kB / 0.4974 GB, free: 6.055 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.0005534/0.4091, allocations: 294.6 kB / 0.4977 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.4094, allocations: 150.1 kB / 0.4978 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/0.4137, allocations: 2.2 MB / 0.4999 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.4137, allocations: 15.94 kB / 0.5 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.4137, allocations: 7.938 kB / 0.5 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.4137, allocations: 3.984 kB / 0.5 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2308/0.6445, allocations: 4.747 MB / 0.5046 GB, free: 88.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/0.6446, allocations: 5.516 kB / 0.5046 GB, free: 88.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/0.6455, allocations: 199 kB / 0.5048 GB, free: 88.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.6469, allocations: 0.5276 MB / 0.5053 GB, free: 88.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.6471, allocations: 37.72 kB / 0.5054 GB, free: 88.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006724/0.6538, allocations: 8.629 MB / 0.5138 GB, free: 82.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.6538, allocations: 7.953 kB / 0.5138 GB, free: 82.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/0.6594, allocations: 3.254 MB / 0.517 GB, free: 80.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000764/0.6602, allocations: 376.7 kB / 0.5173 GB, free: 80.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.6604, allocations: 27.5 kB / 0.5174 GB, free: 80.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009091/0.6613, allocations: 102.7 kB / 0.5175 GB, free: 80.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/0.6616, allocations: 112.5 kB / 0.5176 GB, free: 80.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.6617, allocations: 46.72 kB / 0.5176 GB, free: 80.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001021/0.6627, allocations: 0.8132 MB / 0.5184 GB, free: 80.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.6627, allocations: 0 / 0.5184 GB, free: 80.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00232/0.6651, allocations: 0.7859 MB / 0.5192 GB, free: 80.2 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.0003317/0.6654, allocations: 199.3 kB / 0.5194 GB, free: 80.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01298/0.6784, allocations: 7.61 MB / 0.5268 GB, free: 75.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.6784, allocations: 5.875 kB / 0.5268 GB, free: 75.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00532/0.6838, allocations: 3.062 MB / 0.5298 GB, free: 72.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.6858, allocations: 397.4 kB / 0.5302 GB, free: 71.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/0.6921, allocations: 5.399 MB / 0.5354 GB, free: 66.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.6932, allocations: 1.76 MB / 0.5372 GB, free: 64.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.6936, allocations: 111.4 kB / 0.5373 GB, free: 64.59 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6936, allocations: 0 / 0.5373 GB, free: 64.59 MB / 382.1 MB Notification: Performance of Templates: time 0.07031/0.7639, allocations: 78.97 MB / 0.6144 GB, free: 1.617 MB / 398.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile make -j1 -f EHPTlib_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp In file included from OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTlib_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_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o] Error 1