Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_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.1009/0.1009, allocations: 8.03 MB / 23.53 MB, free: 4.75 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.001559/0.001559, allocations: 107.6 kB / 26.12 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.002128/0.002128, allocations: 191.2 kB / 28.8 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.672/1.672, allocations: 222.9 MB / 254.3 MB, free: 4.773 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.02818/0.02818, allocations: 3.12 MB / 309.3 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 95.86 kB / 373.8 MB, free: 1.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2798, allocations: 51.97 MB / 425.7 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.007952/0.2878, allocations: 9.03 MB / 434.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004699/0.2925, allocations: 2.544 MB / 437.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.2939, allocations: 51.81 kB / 437.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.2951, allocations: 456.6 kB / 437.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.2968, allocations: 0.6443 MB / 438.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000922/0.2977, allocations: 0.4889 MB / 438.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.2997, allocations: 2.456 MB / 441.4 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.3014, allocations: 2.045 MB / 443.4 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.3026, allocations: 1.082 MB / 444.5 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.3041, allocations: 1.311 MB / 445.8 MB, free: 1.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003972/0.3045, allocations: 300 kB / 446.1 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007046/0.3052, allocations: 383.8 kB / 446.5 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000742/0.3059, allocations: 0.791 MB / 447.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001659/0.3076, allocations: 1.287 MB / 448.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004132/0.3118, allocations: 3.657 MB / 452.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3118, allocations: 4 kB / 452.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.3118, allocations: 0 / 452.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.782e-05/0.3119, allocations: 7.938 kB / 452.3 MB, free: 10.77 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.006296/0.3182, allocations: 2.693 MB / 455 MB, free: 8.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.3183, allocations: 8.031 kB / 455 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003701/0.3186, allocations: 299.6 kB / 455.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000693/0.3193, allocations: 266.1 kB / 455.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.3216, allocations: 1.29 MB / 456.8 MB, free: 6.09 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.0002534/0.3219, allocations: 219.4 kB / 457 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/0.3222, allocations: 203.9 kB / 457.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/0.3267, allocations: 2.69 MB / 459.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/0.3268, allocations: 8 kB / 459.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.327, allocations: 91.98 kB / 460 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.3271, allocations: 99.95 kB / 460.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004217/0.3313, allocations: 2.209 MB / 462.3 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.3441, allocations: 7.953 MB / 470.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00871/0.3529, allocations: 1.581 MB / 471.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.3549, allocations: 0.9489 MB / 472.8 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.3552, allocations: 122.1 kB / 472.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/0.3567, allocations: 0.7694 MB / 473.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.845e-06/0.3567, allocations: 0 / 473.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.02121/0.3779, allocations: 6.602 MB / 480.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.3782, allocations: 248.3 kB / 480.5 MB, free: 13.73 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.002089/0.3803, allocations: 1.208 MB / 481.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002644/0.3805, allocations: 45.7 kB / 481.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008504/0.3814, allocations: 0.9193 MB / 482.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.3818, allocations: 406.3 kB / 483.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000432/0.3823, allocations: 246.8 kB / 483.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3825, allocations: 361.9 kB / 483.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.3837, allocations: 0.7093 MB / 484.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.3853, allocations: 1.089 MB / 485.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008681/0.394, allocations: 3.57 MB / 489.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/0.394, allocations: 3.938 kB / 489.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004653/0.3987, allocations: 2.512 MB / 491.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.3988, allocations: 33.7 kB / 491.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.3988, allocations: 12 kB / 491.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.4, allocations: 0.5038 MB / 492.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.4011, allocations: 287.5 kB / 492.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008661/0.4097, allocations: 8.811 MB / 0.4895 GB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.4115, allocations: 127.9 kB / 0.4896 GB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.4116, allocations: 59.98 kB / 0.4896 GB, free: 7.863 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.002329/0.414, allocations: 1.225 MB / 0.4908 GB, free: 6.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001456/0.4154, allocations: 1.062 MB / 0.4919 GB, free: 5.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008553/0.424, allocations: 3.507 MB / 0.4953 GB, free: 1.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-05/0.424, allocations: 3.938 kB / 0.4953 GB, free: 1.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004371/0.4284, allocations: 2.468 MB / 0.4977 GB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.4285, allocations: 41.69 kB / 0.4978 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.4285, allocations: 8 kB / 0.4978 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.4296, allocations: 0.4996 MB / 0.4983 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.4306, allocations: 291.5 kB / 0.4985 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008659/0.4393, allocations: 8.79 MB / 0.5071 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.441, allocations: 139.9 kB / 0.5072 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.4411, allocations: 55.98 kB / 0.5073 GB, free: 4.836 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.0005746/0.4417, allocations: 296.1 kB / 0.5076 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.442, allocations: 130.4 kB / 0.5077 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004116/0.4461, allocations: 2.191 MB / 0.5098 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.4461, allocations: 12 kB / 0.5099 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.4462, allocations: 7.938 kB / 0.5099 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.4462, allocations: 7.922 kB / 0.5099 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2881/0.7343, allocations: 4.595 MB / 0.5144 GB, free: 84.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.7343, allocations: 5.875 kB / 0.5144 GB, free: 84.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008929/0.7352, allocations: 198.2 kB / 0.5146 GB, free: 84.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/0.7368, allocations: 0.5232 MB / 0.5151 GB, free: 84.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-05/0.7369, allocations: 33.02 kB / 0.5151 GB, free: 84.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007465/0.7444, allocations: 8.61 MB / 0.5235 GB, free: 78.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7444, allocations: 3.969 kB / 0.5235 GB, free: 78.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/0.7499, allocations: 3.224 MB / 0.5267 GB, free: 76.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.7507, allocations: 357.8 kB / 0.527 GB, free: 76.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.751, allocations: 37.72 kB / 0.527 GB, free: 76.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009798/0.7519, allocations: 103.4 kB / 0.5271 GB, free: 76.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.7523, allocations: 111 kB / 0.5272 GB, free: 76.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.7524, allocations: 38.17 kB / 0.5273 GB, free: 76.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001141/0.7535, allocations: 0.804 MB / 0.5281 GB, free: 76.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7535, allocations: 0 / 0.5281 GB, free: 76.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002529/0.756, allocations: 0.7419 MB / 0.5288 GB, free: 76.05 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.004771/0.7608, allocations: 3.845 MB / 0.5325 GB, free: 74.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009575/0.7704, allocations: 7.083 MB / 0.5395 GB, free: 68.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.7705, allocations: 0 / 0.5395 GB, free: 68.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003657/0.7741, allocations: 2.837 MB / 0.5422 GB, free: 65.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.7761, allocations: 392 kB / 0.5426 GB, free: 64.88 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.01648/0.7926, allocations: 12.81 MB / 0.5551 GB, free: 51.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.7937, allocations: 1.738 MB / 0.5568 GB, free: 49.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001234/0.795, allocations: 411.6 kB / 0.5572 GB, free: 49.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007758/0.7958, allocations: 0.7805 MB / 0.558 GB, free: 48.48 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.7958, allocations: 0 / 0.558 GB, free: 48.48 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).