Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04751/0.04751, allocations: 8.033 MB / 23.53 MB, free: 4.801 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009103/0.0009103, allocations: 107.6 kB / 26.11 MB, free: 3.074 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 194.3 kB / 28.79 MB, free: 408 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 222.9 MB / 254.3 MB, free: 4.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01332/0.01332, allocations: 3.128 MB / 309.3 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 99.84 kB / 373.8 MB, free: 1.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.186, allocations: 51.97 MB / 425.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.00733/0.1934, allocations: 9.131 MB / 434.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00341/0.1968, allocations: 2.63 MB / 437.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005786/0.1974, allocations: 47.81 kB / 437.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008468/0.1983, allocations: 464.5 kB / 438 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.1994, allocations: 0.6521 MB / 438.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006888/0.2001, allocations: 0.4961 MB / 439.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.2015, allocations: 2.472 MB / 441.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.2031, allocations: 2.053 MB / 443.7 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008066/0.2039, allocations: 1.082 MB / 444.8 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000999/0.2049, allocations: 1.331 MB / 446.1 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003074/0.2052, allocations: 304 kB / 446.4 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005341/0.2058, allocations: 391.8 kB / 446.8 MB, free: 272 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006406/0.2064, allocations: 0.7832 MB / 447.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.2076, allocations: 1.287 MB / 448.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002939/0.2105, allocations: 3.7 MB / 452.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2106, allocations: 4 kB / 452.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2106, allocations: 0 / 452.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.989e-05/0.2106, allocations: 0 / 452.5 MB, free: 10.47 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.005016/0.2156, allocations: 2.713 MB / 455.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2157, allocations: 8.031 kB / 455.3 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003618/0.216, allocations: 303.8 kB / 455.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006654/0.2167, allocations: 274 kB / 455.8 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.2186, allocations: 1.29 MB / 457.1 MB, free: 5.77 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.0002466/0.2189, allocations: 223.5 kB / 457.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/0.2192, allocations: 207.9 kB / 457.5 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004166/0.2234, allocations: 2.719 MB / 460.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.308e-05/0.2234, allocations: 7.906 kB / 460.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.2236, allocations: 83.98 kB / 460.4 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.2237, allocations: 100 kB / 460.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003856/0.2276, allocations: 2.229 MB / 462.7 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/0.2389, allocations: 8.016 MB / 470.7 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.2417, allocations: 1.613 MB / 472.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.2434, allocations: 0.9451 MB / 473.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/0.2437, allocations: 134 kB / 473.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/0.245, allocations: 0.7734 MB / 474.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.895e-06/0.245, allocations: 0 / 474.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01479/0.2598, allocations: 6.65 MB / 480.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.26, allocations: 248.3 kB / 481 MB, free: 13.16 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.001763/0.2617, allocations: 1.204 MB / 482.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.101e-05/0.2618, allocations: 49.7 kB / 482.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007365/0.2626, allocations: 0.927 MB / 483.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00033/0.2629, allocations: 406.2 kB / 483.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/0.2633, allocations: 255.4 kB / 483.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2635, allocations: 373.9 kB / 484.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.2648, allocations: 0.7074 MB / 484.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.2663, allocations: 1.1 MB / 486 MB, free: 7.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008973/0.2753, allocations: 3.602 MB / 489.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2753, allocations: 0 / 489.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004539/0.2798, allocations: 2.533 MB / 492.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/0.2799, allocations: 33.7 kB / 492.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.2799, allocations: 12 kB / 492.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.2812, allocations: 0.5002 MB / 492.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.2823, allocations: 299.5 kB / 493 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008401/0.2908, allocations: 8.806 MB / 0.4901 GB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.2922, allocations: 123.8 kB / 0.4902 GB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.2923, allocations: 63.92 kB / 0.4902 GB, free: 7.207 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002081/0.2944, allocations: 1.23 MB / 0.4914 GB, free: 5.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001422/0.2958, allocations: 1.072 MB / 0.4925 GB, free: 4.746 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008545/0.3044, allocations: 3.532 MB / 0.4959 GB, free: 1.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/0.3044, allocations: 0 / 0.4959 GB, free: 1.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004097/0.3085, allocations: 2.478 MB / 0.4984 GB, free: 14.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.3086, allocations: 38.02 kB / 0.4984 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3086, allocations: 16 kB / 0.4984 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.3097, allocations: 0.5115 MB / 0.4989 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.3108, allocations: 279.6 kB / 0.4992 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007722/0.3185, allocations: 8.798 MB / 0.5078 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.3198, allocations: 147.8 kB / 0.5079 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.3199, allocations: 63.92 kB / 0.508 GB, free: 4.105 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (150): * Single equations (assignments): 143 * 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.0003957/0.3203, allocations: 288.7 kB / 0.5082 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.3206, allocations: 130.4 kB / 0.5084 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/0.3245, allocations: 2.207 MB / 0.5105 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.3245, allocations: 12 kB / 0.5105 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3245, allocations: 8 kB / 0.5105 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.3245, allocations: 7.969 kB / 0.5106 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1803/0.5049, allocations: 4.621 MB / 0.5151 GB, free: 84.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.5049, allocations: 6.812 kB / 0.5151 GB, free: 84.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008799/0.5058, allocations: 202.5 kB / 0.5153 GB, free: 84.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.5072, allocations: 0.5249 MB / 0.5158 GB, free: 84.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.255e-05/0.5073, allocations: 37.42 kB / 0.5158 GB, free: 84.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006224/0.5135, allocations: 8.618 MB / 0.5242 GB, free: 77.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5135, allocations: 7.875 kB / 0.5242 GB, free: 77.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004813/0.5183, allocations: 3.246 MB / 0.5274 GB, free: 76.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006277/0.519, allocations: 361 kB / 0.5278 GB, free: 76.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.5192, allocations: 39.16 kB / 0.5278 GB, free: 76.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.5201, allocations: 103.1 kB / 0.5279 GB, free: 76.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.5204, allocations: 116.6 kB / 0.528 GB, free: 76.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.5205, allocations: 38.94 kB / 0.528 GB, free: 76.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009824/0.5215, allocations: 0.7979 MB / 0.5288 GB, free: 75.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5215, allocations: 0 / 0.5288 GB, free: 75.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002132/0.5236, allocations: 0.7501 MB / 0.5295 GB, free: 75.77 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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * 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.004587/0.5282, allocations: 3.875 MB / 0.5333 GB, free: 73.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008972/0.5372, allocations: 7.114 MB / 0.5403 GB, free: 67.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.5372, allocations: 0 / 0.5403 GB, free: 67.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003428/0.5406, allocations: 2.841 MB / 0.5431 GB, free: 64.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.5423, allocations: 377.1 kB / 0.5434 GB, free: 64.03 MB / 382.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.0141/0.5564, allocations: 12.93 MB / 0.556 GB, free: 50.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009694/0.5574, allocations: 1.746 MB / 0.5577 GB, free: 48.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001145/0.5585, allocations: 416.8 kB / 0.5581 GB, free: 48.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007625/0.5593, allocations: 0.7883 MB / 0.5589 GB, free: 47.49 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5593, allocations: 0 / 0.5589 GB, free: 47.49 MB / 382.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).