Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.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.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",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.09216/0.09216, allocations: 8.036 MB / 23.15 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 115 kB / 25.73 MB, free: 3.531 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.001351/0.001351, allocations: 198.9 kB / 28.4 MB, free: 0.8711 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.429/1.429, allocations: 222.9 MB / 253.8 MB, free: 5.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01199/0.01199, allocations: 3.128 MB / 308.8 MB, free: 2.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 91.84 kB / 373 MB, free: 2.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2912, allocations: 51.98 MB / 425 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008453/0.2997, allocations: 8.973 MB / 434 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005775/0.3056, allocations: 2.525 MB / 436.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.3078, allocations: 43.81 kB / 436.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.3092, allocations: 389.7 kB / 436.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.3118, allocations: 0.5749 MB / 437.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.313, allocations: 447.5 kB / 437.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003145/0.3162, allocations: 2.745 MB / 440.7 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.3179, allocations: 1.744 MB / 442.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.3194, allocations: 0.9418 MB / 443.4 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.3206, allocations: 1.265 MB / 444.6 MB, free: 1.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.3209, allocations: 180 kB / 444.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006077/0.3215, allocations: 279.8 kB / 445.1 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.3221, allocations: 0.6698 MB / 445.8 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.3232, allocations: 1.158 MB / 446.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003449/0.3266, allocations: 3.567 MB / 450.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3267, allocations: 0 / 450.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.3267, allocations: 0 / 450.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.846e-05/0.3267, allocations: 0 / 450.5 MB, free: 12.07 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.006663/0.3334, allocations: 2.693 MB / 453.2 MB, free: 9.305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.577e-05/0.3335, allocations: 8.031 kB / 453.2 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000553/0.3341, allocations: 303.6 kB / 453.5 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008813/0.335, allocations: 262.1 kB / 453.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.3373, allocations: 1.29 MB / 455 MB, free: 7.391 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.0002934/0.3376, allocations: 219.4 kB / 455.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/0.3379, allocations: 203.9 kB / 455.4 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005/0.3429, allocations: 2.694 MB / 458.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.211e-05/0.343, allocations: 0 / 458.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.3432, allocations: 84 kB / 458.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.3433, allocations: 104 kB / 458.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00412/0.3474, allocations: 2.209 MB / 460.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.3608, allocations: 7.957 MB / 468.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.3635, allocations: 1.581 MB / 470.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.3652, allocations: 0.9532 MB / 471 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.3655, allocations: 126 kB / 471.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/0.3669, allocations: 0.7694 MB / 471.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.685e-06/0.3669, allocations: 0 / 471.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01515/0.3821, allocations: 6.597 MB / 478.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.3823, allocations: 248.3 kB / 478.7 MB, free: 15.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: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: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.00194/0.3842, allocations: 1.199 MB / 479.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.3843, allocations: 49.7 kB / 480 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008756/0.3852, allocations: 0.9192 MB / 480.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/0.3856, allocations: 402.3 kB / 481.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004251/0.3861, allocations: 258.7 kB / 481.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3863, allocations: 353.9 kB / 481.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.3877, allocations: 0.7054 MB / 482.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.3893, allocations: 1.089 MB / 483.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008841/0.3981, allocations: 3.554 MB / 487.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.3982, allocations: 7.938 kB / 487.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004684/0.4029, allocations: 2.504 MB / 489.8 MB, free: 3.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.369e-05/0.4029, allocations: 45.75 kB / 489.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.403, allocations: 8 kB / 489.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.4042, allocations: 0.5008 MB / 490.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.4053, allocations: 299.6 kB / 490.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008479/0.4138, allocations: 8.083 MB / 498.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.4155, allocations: 127.9 kB / 498.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.4157, allocations: 56 kB / 498.9 MB, free: 9.93 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.002625/0.4183, allocations: 1.225 MB / 0.4884 GB, free: 8.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001467/0.4198, allocations: 1.062 MB / 0.4894 GB, free: 7.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008506/0.4283, allocations: 3.496 MB / 0.4928 GB, free: 3.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.247e-06/0.4283, allocations: 4 kB / 0.4928 GB, free: 3.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004413/0.4327, allocations: 2.469 MB / 0.4952 GB, free: 1.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.4328, allocations: 33.7 kB / 0.4953 GB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.4328, allocations: 12 kB / 0.4953 GB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.434, allocations: 0.4961 MB / 0.4958 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009962/0.435, allocations: 283.5 kB / 0.496 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00766/0.4427, allocations: 8.083 MB / 0.5039 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.4443, allocations: 131.8 kB / 0.5041 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.4444, allocations: 64.05 kB / 0.5041 GB, free: 7.652 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.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 (147): * Single equations (assignments): 140 * 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.0004893/0.4449, allocations: 289.7 kB / 0.5044 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.4451, allocations: 130.4 kB / 0.5045 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.4491, allocations: 2.187 MB / 0.5067 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.4491, allocations: 15.94 kB / 0.5067 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.4491, allocations: 4 kB / 0.5067 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4491, allocations: 3.984 kB / 0.5067 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/0.4568, allocations: 4.607 MB / 0.5112 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/0.4569, allocations: 8.094 kB / 0.5112 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008303/0.4577, allocations: 199.7 kB / 0.5114 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.247/0.7047, allocations: 0.5083 MB / 0.5119 GB, free: 85.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002334/0.705, allocations: 42.22 kB / 0.5119 GB, free: 85.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00726/0.7123, allocations: 7.885 MB / 0.5196 GB, free: 79.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.7123, allocations: 8 kB / 0.5196 GB, free: 79.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005665/0.718, allocations: 3.223 MB / 0.5228 GB, free: 78.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008411/0.7189, allocations: 360 kB / 0.5231 GB, free: 78.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.7191, allocations: 37.05 kB / 0.5232 GB, free: 78.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009033/0.72, allocations: 102.7 kB / 0.5233 GB, free: 78.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/0.7203, allocations: 109.3 kB / 0.5234 GB, free: 78.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/0.7204, allocations: 39.45 kB / 0.5234 GB, free: 78.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001047/0.7214, allocations: 0.7969 MB / 0.5242 GB, free: 78.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7214, allocations: 0 / 0.5242 GB, free: 78.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003359/0.7248, allocations: 0.7453 MB / 0.5249 GB, free: 77.96 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 (98): * Single equations (assignments): 90 * 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.005032/0.7298, allocations: 3.85 MB / 0.5287 GB, free: 76.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008507/0.7384, allocations: 6.666 MB / 0.5352 GB, free: 71.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.7384, allocations: 7.906 kB / 0.5352 GB, free: 71.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003595/0.742, allocations: 2.832 MB / 0.5379 GB, free: 69.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.7441, allocations: 358.1 kB / 0.5383 GB, free: 68.81 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1941:3-1941:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.7634, allocations: 13.64 MB / 0.5516 GB, free: 54.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.7645, allocations: 1.742 MB / 0.5533 GB, free: 53.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001257/0.7658, allocations: 411.6 kB / 0.5537 GB, free: 52.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007848/0.7666, allocations: 0.7766 MB / 0.5545 GB, free: 51.86 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.7666, allocations: 0 / 0.5545 GB, free: 51.86 MB / 382.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).