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-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: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001085/0.001085, allocations: 193.9 kB / 16.25 MB, free: 6.617 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.307/1.307, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1824/0.1824, allocations: 8.02 MB / 298.1 MB, free: 2.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.89 kB / 360.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.0975, allocations: 51.19 MB / 411.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.009983/0.1075, allocations: 9.611 MB / 421 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1836/0.2912, allocations: 2.632 MB / 423.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.2928, allocations: 52.94 kB / 423.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.2942, allocations: 420 kB / 424.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.2962, allocations: 0.5975 MB / 424.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.2972, allocations: 485.6 kB / 425.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002725/0.2999, allocations: 2.649 MB / 427.9 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.3021, allocations: 2.298 MB / 430.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.3038, allocations: 1.193 MB / 431.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.3053, allocations: 1.448 MB / 432.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.3056, allocations: 333.4 kB / 433.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006234/0.3063, allocations: 419.3 kB / 433.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005585/0.3068, allocations: 0.8658 MB / 434.4 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.3081, allocations: 1.415 MB / 435.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.3109, allocations: 4.082 MB / 439.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.311, allocations: 3.281 kB / 439.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.311, allocations: 4 kB / 439.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.526e-05/0.311, allocations: 0 / 439.9 MB, free: 31.73 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.004948/0.316, allocations: 2.903 MB / 442.8 MB, free: 30.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.316, allocations: 9.625 kB / 442.8 MB, free: 30.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003307/0.3164, allocations: 332.3 kB / 443.1 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006752/0.3171, allocations: 285 kB / 443.4 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.3189, allocations: 1.378 MB / 444.8 MB, free: 28.96 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.0002143/0.3192, allocations: 234.8 kB / 445 MB, free: 28.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002974/0.3195, allocations: 237 kB / 445.3 MB, free: 28.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004354/0.3238, allocations: 2.965 MB / 448.2 MB, free: 27.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.945e-05/0.3239, allocations: 7.281 kB / 448.2 MB, free: 27.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.3241, allocations: 101 kB / 448.3 MB, free: 27.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.581e-05/0.3242, allocations: 108.8 kB / 448.4 MB, free: 27.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.3278, allocations: 2.377 MB / 450.8 MB, free: 26.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/0.3406, allocations: 8.793 MB / 459.6 MB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.3431, allocations: 1.636 MB / 461.2 MB, free: 21.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.3448, allocations: 0.9658 MB / 462.2 MB, free: 20.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.345, allocations: 128.4 kB / 462.3 MB, free: 20.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/0.3463, allocations: 0.7816 MB / 463.1 MB, free: 20.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.765e-06/0.3463, allocations: 0 / 463.1 MB, free: 20.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01457/0.3608, allocations: 6.941 MB / 470.1 MB, free: 17.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.361, allocations: 247.9 kB / 470.3 MB, free: 17.07 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.001823/0.3628, allocations: 1.235 MB / 471.5 MB, free: 16.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.3629, allocations: 51.2 kB / 471.6 MB, free: 16.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007664/0.3637, allocations: 1.01 MB / 472.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/0.364, allocations: 424.8 kB / 473 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/0.3644, allocations: 258.7 kB / 473.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.3645, allocations: 309 kB / 473.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.3657, allocations: 0.7156 MB / 474.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.3673, allocations: 1.126 MB / 475.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008436/0.3757, allocations: 3.626 MB / 479 MB, free: 12.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.3758, allocations: 4.125 kB / 479 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004231/0.38, allocations: 2.565 MB / 481.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.3801, allocations: 36.2 kB / 481.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.3801, allocations: 11.81 kB / 481.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.3812, allocations: 0.5053 MB / 482.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3822, allocations: 306 kB / 482.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/0.3882, allocations: 8.812 MB / 491.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.3897, allocations: 123.9 kB / 491.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.3898, allocations: 63.98 kB / 491.4 MB, free: 3.16 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.001837/0.3917, allocations: 1.286 MB / 492.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001052/0.3927, allocations: 1.1 MB / 493.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007893/0.4006, allocations: 3.555 MB / 497.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.455e-06/0.4006, allocations: 4 kB / 497.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004147/0.4048, allocations: 2.521 MB / 499.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.4049, allocations: 39.88 kB / 499.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4049, allocations: 12 kB / 500 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.4059, allocations: 0.5042 MB / 0.4887 GB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009927/0.407, allocations: 299.5 kB / 0.489 GB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00734/0.4143, allocations: 8.796 MB / 0.4976 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.4158, allocations: 139.9 kB / 0.4977 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.4159, allocations: 63.86 kB / 0.4978 GB, free: 15.9 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.0004782/0.4164, allocations: 302.2 kB / 0.4981 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.4167, allocations: 142.3 kB / 0.4982 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/0.4204, allocations: 2.206 MB / 0.5004 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4205, allocations: 15.94 kB / 0.5004 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4205, allocations: 4 kB / 0.5004 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4205, allocations: 3.984 kB / 0.5004 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007108/0.4276, allocations: 4.755 MB / 0.505 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.4276, allocations: 4 kB / 0.5051 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008158/0.4285, allocations: 204.1 kB / 0.5052 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.4297, allocations: 0.5153 MB / 0.5058 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.073e-05/0.4298, allocations: 35.98 kB / 0.5058 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00713/0.437, allocations: 8.619 MB / 0.5142 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.778e-06/0.437, allocations: 4 kB / 0.5142 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/0.4427, allocations: 3.255 MB / 0.5174 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008633/0.4435, allocations: 371.2 kB / 0.5177 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.4438, allocations: 31.98 kB / 0.5178 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000982/0.4448, allocations: 107.8 kB / 0.5179 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/0.4451, allocations: 116.7 kB / 0.518 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.337e-05/0.4452, allocations: 35.98 kB / 0.518 GB, free: 10.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001157/0.4463, allocations: 0.8185 MB / 0.5188 GB, free: 9.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4464, allocations: 0 / 0.5188 GB, free: 9.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002662/0.449, allocations: 0.7891 MB / 0.5196 GB, free: 8.742 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.005553/0.4546, allocations: 3.896 MB / 0.5234 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01057/0.4652, allocations: 7.158 MB / 0.5304 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.4652, allocations: 0 / 0.5304 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003949/0.4692, allocations: 2.851 MB / 0.5332 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.4711, allocations: 390 kB / 0.5335 GB, free: 10.03 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1962:3-1962:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/0.4924, allocations: 14.26 MB / 0.5475 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.494, allocations: 1.833 MB / 0.5493 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00157/0.4956, allocations: 427.9 kB / 0.5497 GB, free: 8.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.4967, allocations: 0.8625 MB / 0.5505 GB, free: 7.836 MB / 430.1 MB Notification: Performance of SimCode: time 1.422e-06/0.4967, allocations: 0 / 0.5505 GB, free: 7.836 MB / 430.1 MB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal).