Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_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.001182/0.001182, allocations: 107.3 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.001244/0.001244, allocations: 187.5 kB / 16.25 MB, free: 6.145 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.214/1.214, allocations: 222.9 MB / 239.9 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1349/0.1349, allocations: 8.027 MB / 298.1 MB, free: 2.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 59.91 kB / 360.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0822/0.0833, allocations: 51.18 MB / 411.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.009827/0.09316, allocations: 9.607 MB / 421 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1464/0.2396, allocations: 2.64 MB / 423.7 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.2409, allocations: 53.41 kB / 423.7 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.242, allocations: 418 kB / 424.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.2435, allocations: 0.5936 MB / 424.7 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008185/0.2443, allocations: 488.6 kB / 425.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.2461, allocations: 2.651 MB / 427.9 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.2478, allocations: 2.299 MB / 430.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.2489, allocations: 1.181 MB / 431.3 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.2499, allocations: 1.454 MB / 432.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000292/0.2502, allocations: 334 kB / 433.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005177/0.2507, allocations: 424.8 kB / 433.5 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.2513, allocations: 0.8641 MB / 434.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008508/0.2521, allocations: 1.416 MB / 435.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.2543, allocations: 4.08 MB / 439.9 MB, free: 31.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2543, allocations: 3.094 kB / 439.9 MB, free: 31.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2543, allocations: 0 / 439.9 MB, free: 31.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.185e-05/0.2543, allocations: 4 kB / 439.9 MB, free: 31.68 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.00423/0.2586, allocations: 2.894 MB / 442.8 MB, free: 30.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2586, allocations: 12.91 kB / 442.8 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002997/0.2589, allocations: 348.7 kB / 443.1 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005623/0.2595, allocations: 283.2 kB / 443.4 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.261, allocations: 1.375 MB / 444.8 MB, free: 28.92 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.0001858/0.2612, allocations: 239.8 kB / 445 MB, free: 28.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.2615, allocations: 234.1 kB / 445.3 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/0.2653, allocations: 2.961 MB / 448.2 MB, free: 27.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.2653, allocations: 11.09 kB / 448.2 MB, free: 27.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.2655, allocations: 104.5 kB / 448.3 MB, free: 27.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.589e-05/0.2656, allocations: 109.4 kB / 448.4 MB, free: 27.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003222/0.2688, allocations: 2.376 MB / 450.8 MB, free: 26.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009672/0.2785, allocations: 8.784 MB / 459.6 MB, free: 21.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.2808, allocations: 1.636 MB / 461.2 MB, free: 21.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.2823, allocations: 0.9711 MB / 462.2 MB, free: 20.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.2825, allocations: 116.3 kB / 462.3 MB, free: 20.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.2837, allocations: 0.788 MB / 463.1 MB, free: 20.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.2837, allocations: 2.812 kB / 463.1 MB, free: 20.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01338/0.2971, allocations: 6.945 MB / 470.1 MB, free: 17.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.2972, allocations: 247.6 kB / 470.3 MB, free: 17.03 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.001575/0.2988, allocations: 1.236 MB / 471.5 MB, free: 16.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.254e-05/0.2989, allocations: 47.92 kB / 471.6 MB, free: 16.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000631/0.2995, allocations: 1.011 MB / 472.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.2997, allocations: 420.4 kB / 473 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/0.3001, allocations: 263.6 kB / 473.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.352e-05/0.3002, allocations: 307 kB / 473.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.3013, allocations: 0.7157 MB / 474.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.3027, allocations: 1.129 MB / 475.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008027/0.3107, allocations: 3.62 MB / 479 MB, free: 12.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.3107, allocations: 3 kB / 479 MB, free: 12.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00399/0.3147, allocations: 2.573 MB / 481.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.3148, allocations: 38.11 kB / 481.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.3148, allocations: 10.5 kB / 481.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.3158, allocations: 0.5104 MB / 482.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/0.3168, allocations: 295.5 kB / 482.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005696/0.3225, allocations: 8.816 MB / 491.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.3238, allocations: 123.9 kB / 491.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/0.3239, allocations: 59.98 kB / 491.4 MB, free: 3.164 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.001799/0.3258, allocations: 1.286 MB / 492.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001071/0.3268, allocations: 1.103 MB / 493.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007987/0.3348, allocations: 3.56 MB / 497.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.114e-05/0.3349, allocations: 4 kB / 497.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004195/0.3391, allocations: 2.516 MB / 499.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.3391, allocations: 43.83 kB / 500 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.3391, allocations: 12 kB / 500 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.3402, allocations: 0.5042 MB / 0.4887 GB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.3413, allocations: 291.5 kB / 0.489 GB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007558/0.3488, allocations: 8.791 MB / 0.4976 GB, free: 116 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.3502, allocations: 143.8 kB / 0.4977 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.3504, allocations: 63.91 kB / 0.4978 GB, free: 15.91 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.0004457/0.3509, allocations: 302.2 kB / 0.4981 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.3512, allocations: 142.3 kB / 0.4982 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/0.3548, allocations: 2.207 MB / 0.5004 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.3548, allocations: 15.94 kB / 0.5004 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3548, allocations: 8 kB / 0.5004 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.3549, allocations: 7.969 kB / 0.5004 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006972/0.3618, allocations: 4.745 MB / 0.505 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.423e-06/0.3619, allocations: 4 kB / 0.505 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007937/0.3626, allocations: 200.1 kB / 0.5052 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.3639, allocations: 0.5201 MB / 0.5057 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.004e-05/0.364, allocations: 40.62 kB / 0.5058 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007019/0.371, allocations: 8.615 MB / 0.5142 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.371, allocations: 4 kB / 0.5142 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004801/0.3758, allocations: 3.259 MB / 0.5174 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005593/0.3764, allocations: 367.2 kB / 0.5177 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.3766, allocations: 35.94 kB / 0.5178 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009015/0.3775, allocations: 103.9 kB / 0.5179 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/0.3778, allocations: 114.1 kB / 0.518 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/0.3778, allocations: 39.98 kB / 0.518 GB, free: 10.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.3789, allocations: 0.8185 MB / 0.5188 GB, free: 9.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3789, allocations: 0 / 0.5188 GB, free: 9.539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002312/0.3812, allocations: 0.7852 MB / 0.5196 GB, free: 8.754 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.005114/0.3863, allocations: 3.904 MB / 0.5234 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01032/0.3966, allocations: 7.151 MB / 0.5304 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3967, allocations: 4 kB / 0.5304 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004062/0.4007, allocations: 2.846 MB / 0.5332 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.4029, allocations: 400.2 kB / 0.5335 GB, free: 10.04 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.02306/0.426, 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.001648/0.4276, allocations: 1.833 MB / 0.5493 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001294/0.429, 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.0009976/0.43, allocations: 0.8547 MB / 0.5505 GB, free: 7.844 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.43, allocations: 0 / 0.5505 GB, free: 7.844 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).