Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_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.08423/0.08423, allocations: 8.036 MB / 23.54 MB, free: 344 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 109.9 kB / 26.12 MB, free: 3.32 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.001957/0.001957, allocations: 199 kB / 28.8 MB, free: 0.6484 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.806/1.806, allocations: 222.9 MB / 254.3 MB, free: 4.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01407/0.01407, allocations: 3.116 MB / 309.3 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 95.86 kB / 373.8 MB, free: 1.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.341, allocations: 51.98 MB / 425.8 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.01066/0.3517, allocations: 9.123 MB / 434.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006034/0.3578, allocations: 2.634 MB / 437.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.3598, allocations: 47.81 kB / 437.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.3617, allocations: 464.5 kB / 438 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.3648, allocations: 0.652 MB / 438.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.3665, allocations: 0.4901 MB / 439.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003398/0.3699, allocations: 2.48 MB / 441.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/0.3728, allocations: 2.057 MB / 443.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.3747, allocations: 1.082 MB / 444.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.3769, allocations: 1.331 MB / 446.1 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009075/0.3778, allocations: 300 kB / 446.4 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.379, allocations: 395.8 kB / 446.8 MB, free: 284 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008213/0.3799, allocations: 0.7792 MB / 447.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.3816, allocations: 1.287 MB / 448.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004178/0.3858, allocations: 3.7 MB / 452.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3859, allocations: 0 / 452.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3859, allocations: 0 / 452.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.216e-05/0.386, allocations: 0 / 452.5 MB, free: 10.49 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.006687/0.3927, allocations: 2.713 MB / 455.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3927, allocations: 8.031 kB / 455.3 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004143/0.3932, allocations: 311.8 kB / 455.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000759/0.3939, allocations: 266 kB / 455.8 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.3962, allocations: 1.286 MB / 457.1 MB, free: 5.793 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.0003083/0.3966, allocations: 219.5 kB / 457.3 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/0.3969, allocations: 211.9 kB / 457.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004875/0.4018, allocations: 2.719 MB / 460.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-05/0.4019, allocations: 11.84 kB / 460.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.4021, allocations: 87.98 kB / 460.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.4022, allocations: 100 kB / 460.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004077/0.4063, allocations: 2.225 MB / 462.7 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.4203, allocations: 8.012 MB / 470.7 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.4233, allocations: 1.621 MB / 472.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.4252, allocations: 0.9479 MB / 473.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.4255, allocations: 122.1 kB / 473.4 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/0.427, allocations: 0.7734 MB / 474.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 4.819e-06/0.4271, allocations: 0 / 474.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.0161/0.4432, allocations: 6.651 MB / 480.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.4434, allocations: 248.3 kB / 481 MB, free: 13.18 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.00198/0.4454, allocations: 1.207 MB / 482.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.4455, allocations: 45.7 kB / 482.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009127/0.4464, allocations: 0.9309 MB / 483.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.4468, allocations: 406.2 kB / 483.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/0.4472, allocations: 263.4 kB / 483.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.4475, allocations: 365.9 kB / 484.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.4488, allocations: 0.7113 MB / 485 MB, free: 9.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.4504, allocations: 1.1 MB / 486.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009008/0.4594, allocations: 3.599 MB / 489.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/0.4594, allocations: 0 / 489.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005053/0.4645, allocations: 2.529 MB / 492.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.808e-05/0.4646, allocations: 33.7 kB / 492.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.4646, allocations: 15.98 kB / 492.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.4659, allocations: 0.5002 MB / 492.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4671, allocations: 303.5 kB / 493 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009942/0.4771, allocations: 8.8 MB / 0.4901 GB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.4789, allocations: 123.9 kB / 0.4902 GB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/0.4792, allocations: 63.92 kB / 0.4902 GB, free: 7.227 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.002907/0.4821, allocations: 1.23 MB / 0.4914 GB, free: 5.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001799/0.4839, allocations: 1.072 MB / 0.4925 GB, free: 4.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009342/0.4933, allocations: 3.532 MB / 0.4959 GB, free: 1.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.195e-05/0.4933, allocations: 0 / 0.4959 GB, free: 1.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.005182/0.4985, allocations: 2.486 MB / 0.4984 GB, free: 14.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.4986, allocations: 37.73 kB / 0.4984 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.4986, allocations: 12.16 kB / 0.4984 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.4999, allocations: 0.4999 MB / 0.4989 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.501, allocations: 283.5 kB / 0.4992 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.5111, allocations: 8.81 MB / 0.5078 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.5131, allocations: 139.8 kB / 0.5079 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003321/0.5135, allocations: 67.92 kB / 0.508 GB, free: 4.117 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.0007587/0.5142, allocations: 288.7 kB / 0.5083 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005417/0.5148, allocations: 130.4 kB / 0.5084 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/0.5195, allocations: 2.207 MB / 0.5105 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.5196, allocations: 16 kB / 0.5105 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-05/0.5196, allocations: 4 kB / 0.5105 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.5196, allocations: 3.984 kB / 0.5106 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2996/0.8192, allocations: 4.623 MB / 0.5151 GB, free: 84.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.8193, allocations: 4.281 kB / 0.5151 GB, free: 84.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.8203, allocations: 203.2 kB / 0.5153 GB, free: 84.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/0.8221, allocations: 0.5248 MB / 0.5158 GB, free: 84.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/0.8224, allocations: 38.75 kB / 0.5158 GB, free: 84.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007509/0.8299, allocations: 8.62 MB / 0.5242 GB, free: 77.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.8299, allocations: 8.062 kB / 0.5242 GB, free: 77.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0061/0.836, allocations: 3.243 MB / 0.5274 GB, free: 76.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009376/0.837, allocations: 357.5 kB / 0.5277 GB, free: 76.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.8372, allocations: 43.08 kB / 0.5278 GB, free: 76.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009329/0.8382, allocations: 98.23 kB / 0.5279 GB, free: 76.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003411/0.8385, allocations: 114.7 kB / 0.528 GB, free: 76.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.8386, allocations: 42.75 kB / 0.528 GB, free: 76.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.8399, allocations: 0.7948 MB / 0.5288 GB, free: 75.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8399, allocations: 0 / 0.5288 GB, free: 75.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002751/0.8426, allocations: 0.7505 MB / 0.5295 GB, free: 75.76 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.005052/0.8477, allocations: 3.883 MB / 0.5333 GB, free: 73.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009928/0.8577, allocations: 7.114 MB / 0.5403 GB, free: 67.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.8577, allocations: 7.906 kB / 0.5403 GB, free: 67.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003919/0.8616, allocations: 2.832 MB / 0.5431 GB, free: 64.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.8638, allocations: 388 kB / 0.5434 GB, free: 64.06 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.01674/0.8806, allocations: 12.92 MB / 0.556 GB, free: 50.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.8817, allocations: 1.746 MB / 0.5577 GB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001234/0.8829, allocations: 411.6 kB / 0.5581 GB, free: 48.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007811/0.8837, allocations: 0.7883 MB / 0.5589 GB, free: 47.53 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8837, allocations: 4 kB / 0.5589 GB, free: 47.53 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).