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.0007905/0.0007906, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.00537/0.00537, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1411/0.1411, allocations: 8.012 MB / 299.5 MB, free: 3.352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002764, allocations: 4 kB / 362.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1017, allocations: 52.19 MB / 414.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.00901/0.1108, allocations: 9.063 MB / 423.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1834/0.2942, allocations: 2.617 MB / 426.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.2953, allocations: 46.38 kB / 426.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008899/0.2962, allocations: 421.5 kB / 426.8 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.2975, allocations: 0.6007 MB / 427.4 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008465/0.2983, allocations: 489.2 kB / 427.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001937/0.3003, allocations: 2.907 MB / 430.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.302, allocations: 1.931 MB / 432.7 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009437/0.3029, allocations: 0.8748 MB / 433.6 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009813/0.3039, allocations: 1.179 MB / 434.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.3041, allocations: 134.1 kB / 434.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.3046, allocations: 236.6 kB / 435.2 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004075/0.305, allocations: 0.6283 MB / 435.8 MB, free: 33.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007869/0.3058, allocations: 1.179 MB / 437 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.3078, allocations: 3.842 MB / 440.8 MB, free: 32.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3078, allocations: 0 / 440.8 MB, free: 32.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3078, allocations: 0 / 440.8 MB, free: 32.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.877e-05/0.3078, allocations: 0 / 440.8 MB, free: 32.18 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.003843/0.3117, allocations: 2.468 MB / 443.3 MB, free: 30.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3117, allocations: 9.156 kB / 443.3 MB, free: 30.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003257/0.3121, allocations: 343 kB / 443.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005593/0.3126, allocations: 283.3 kB / 443.9 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.3142, allocations: 1.379 MB / 445.3 MB, free: 29.72 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.0001944/0.3144, allocations: 249.3 kB / 445.5 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.3147, allocations: 239.2 kB / 445.8 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004406/0.3191, allocations: 2.988 MB / 448.7 MB, free: 28.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.664e-05/0.3192, allocations: 3.281 kB / 448.7 MB, free: 28.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.3194, allocations: 95.91 kB / 448.8 MB, free: 28.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.356e-05/0.3195, allocations: 110.4 kB / 448.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003542/0.3231, allocations: 2.42 MB / 451.4 MB, free: 27.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/0.3338, allocations: 8.864 MB / 460.2 MB, free: 22.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.336, allocations: 1.689 MB / 461.9 MB, free: 21.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.3376, allocations: 0.9827 MB / 462.9 MB, free: 21.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.3378, allocations: 127.2 kB / 463 MB, free: 21.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.3391, allocations: 0.8046 MB / 463.8 MB, free: 21.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.484e-06/0.3391, allocations: 0 / 463.8 MB, free: 21.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01442/0.3536, allocations: 7.115 MB / 470.9 MB, free: 18.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.3537, allocations: 251.1 kB / 471.2 MB, free: 17.78 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.001741/0.3554, allocations: 1.231 MB / 472.4 MB, free: 17.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/0.3555, allocations: 50.98 kB / 472.5 MB, free: 17.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006468/0.3562, allocations: 1.009 MB / 473.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.3564, allocations: 421 kB / 473.9 MB, free: 16.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.3566, allocations: 117.2 kB / 474 MB, free: 16.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.3566, allocations: 309.8 kB / 474.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.3578, allocations: 0.7286 MB / 475 MB, free: 15.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.3592, allocations: 1.156 MB / 476.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008248/0.3675, allocations: 3.698 MB / 479.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.3675, allocations: 2.5 kB / 479.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004333/0.3719, allocations: 2.61 MB / 482.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.3721, allocations: 445.1 kB / 482.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.3721, allocations: 11.06 kB / 483 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.3732, allocations: 0.5059 MB / 483.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.3742, allocations: 319.7 kB / 483.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006062/0.3803, allocations: 8.099 MB / 491.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.3818, allocations: 145.5 kB / 492 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-05/0.3819, allocations: 59.98 kB / 492.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.3819, allocations: 4 kB / 492.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003232/0.3852, allocations: 2.416 MB / 494.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.3852, allocations: 12 kB / 494.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009224/0.3861, allocations: 0.495 MB / 495 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009135/0.387, allocations: 303.5 kB / 495.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007278/0.3943, allocations: 8.089 MB / 0.4916 GB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3958, allocations: 135.8 kB / 0.4917 GB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.3959, allocations: 59.98 kB / 0.4918 GB, free: 7.727 MB / 366.1 MB Warning: Assuming fixed start value for the following 6 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001449/0.3973, allocations: 0.7649 MB / 0.4925 GB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.3976, allocations: 138.3 kB / 0.4927 GB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004064/0.4017, allocations: 2.264 MB / 0.4949 GB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4017, allocations: 12.75 kB / 0.4949 GB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/0.4017, allocations: 7.938 kB / 0.4949 GB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.4017, allocations: 7.969 kB / 0.4949 GB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00803/0.4098, allocations: 4.782 MB / 0.4996 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.4098, allocations: 4 kB / 0.4996 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008591/0.4107, allocations: 216.1 kB / 0.4998 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.412, allocations: 0.5189 MB / 0.5003 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.875e-05/0.4121, allocations: 39.97 kB / 0.5003 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007467/0.4196, allocations: 7.922 MB / 0.508 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.4196, allocations: 4 kB / 0.5081 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005777/0.4254, allocations: 3.324 MB / 0.5113 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008638/0.4263, allocations: 375.1 kB / 0.5117 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/0.4267, allocations: 36 kB / 0.5117 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.4279, allocations: 123.9 kB / 0.5118 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.4282, allocations: 112.7 kB / 0.5119 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/0.4283, allocations: 35.98 kB / 0.512 GB, free: 2.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001537/0.4299, allocations: 0.8185 MB / 0.5128 GB, free: 1.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4299, allocations: 4 kB / 0.5128 GB, free: 1.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003257/0.4331, allocations: 0.7852 MB / 0.5135 GB, free: 0.625 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.005965/0.4391, allocations: 3.956 MB / 0.5174 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0106/0.4497, allocations: 6.805 MB / 0.524 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.4497, allocations: 0.75 kB / 0.524 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004357/0.4541, allocations: 2.877 MB / 0.5268 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.457, allocations: 378.7 kB / 0.5272 GB, free: 2.18 MB / 398.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1914:3-1914:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02502/0.482, allocations: 14.46 MB / 0.5413 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002108/0.4842, allocations: 1.833 MB / 0.5431 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001475/0.4857, allocations: 420 kB / 0.5435 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/0.487, allocations: 0.8642 MB / 0.5444 GB, free: 15.83 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.487, allocations: 0 / 0.5444 GB, free: 15.83 MB / 430.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal).