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.0392/0.0392, allocations: 8.039 MB / 23.16 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.0008337/0.0008336, allocations: 112 kB / 25.73 MB, free: 3.535 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.0009245/0.0009244, allocations: 192.9 kB / 28.39 MB, free: 0.875 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.195/1.195, allocations: 222.9 MB / 253.8 MB, free: 5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01262/0.01262, allocations: 3.117 MB / 308.8 MB, free: 2.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 87.86 kB / 373 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1699, allocations: 51.97 MB / 425 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.006827/0.1768, allocations: 8.979 MB / 434 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002793/0.1796, allocations: 2.517 MB / 436.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004458/0.18, allocations: 43.81 kB / 436.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007508/0.1808, allocations: 393.7 kB / 436.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009121/0.1817, allocations: 0.5672 MB / 437.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.1823, allocations: 452.5 kB / 437.9 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.1838, allocations: 2.737 MB / 440.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.1851, allocations: 1.752 MB / 442.4 MB, free: 4.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000642/0.1858, allocations: 0.9457 MB / 443.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008639/0.1866, allocations: 1.257 MB / 444.6 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.1869, allocations: 180 kB / 444.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004615/0.1874, allocations: 279.8 kB / 445.1 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.1878, allocations: 0.6737 MB / 445.8 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008185/0.1886, allocations: 1.155 MB / 446.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.1912, allocations: 3.575 MB / 450.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1912, allocations: 0 / 450.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1912, allocations: 4 kB / 450.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.498e-05/0.1912, allocations: 0 / 450.5 MB, free: 12.02 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.004675/0.1959, allocations: 2.685 MB / 453.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.196, allocations: 8.031 kB / 453.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003502/0.1963, allocations: 311.6 kB / 453.5 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006148/0.197, allocations: 262.1 kB / 453.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.1988, allocations: 1.282 MB / 455 MB, free: 7.352 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.0002202/0.199, allocations: 219.4 kB / 455.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/0.1993, allocations: 207.9 kB / 455.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004116/0.2035, allocations: 2.694 MB / 458.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/0.2035, allocations: 4 kB / 458.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/0.2037, allocations: 87.98 kB / 458.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.464e-05/0.2038, allocations: 99.97 kB / 458.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.2075, allocations: 2.209 MB / 460.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.2183, allocations: 7.957 MB / 468.5 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.2209, allocations: 1.576 MB / 470.1 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.2226, allocations: 0.9532 MB / 471 MB, free: 6.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.2228, allocations: 130 kB / 471.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.2241, allocations: 0.7578 MB / 471.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 4.077e-06/0.2241, allocations: 4 kB / 471.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01395/0.2381, allocations: 6.599 MB / 478.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.2382, allocations: 252.3 kB / 478.8 MB, free: 14.98 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.001574/0.2398, allocations: 1.199 MB / 480 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/0.2399, allocations: 49.7 kB / 480 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006693/0.2406, allocations: 0.9192 MB / 480.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/0.2409, allocations: 402.3 kB / 481.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000405/0.2413, allocations: 250.8 kB / 481.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2414, allocations: 357.9 kB / 481.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.2426, allocations: 0.7054 MB / 482.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.2441, allocations: 1.089 MB / 483.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008707/0.2528, allocations: 3.55 MB / 487.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.2529, allocations: 11.94 kB / 487.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004195/0.2571, allocations: 2.515 MB / 489.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.2571, allocations: 37.7 kB / 489.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.2571, allocations: 8 kB / 489.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.2583, allocations: 0.506 MB / 490.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.2594, allocations: 299.5 kB / 490.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007221/0.2666, allocations: 8.068 MB / 498.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.2678, allocations: 135.9 kB / 498.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.2679, allocations: 59.98 kB / 498.9 MB, free: 9.887 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.001933/0.2699, allocations: 1.226 MB / 0.4884 GB, free: 8.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00137/0.2712, allocations: 1.058 MB / 0.4894 GB, free: 7.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008345/0.2796, allocations: 3.496 MB / 0.4928 GB, free: 3.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/0.2796, allocations: 4 kB / 0.4928 GB, free: 3.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003975/0.2836, allocations: 2.465 MB / 0.4952 GB, free: 1.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.2836, allocations: 33.7 kB / 0.4953 GB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2837, allocations: 15.98 kB / 0.4953 GB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.2848, allocations: 0.504 MB / 0.4958 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.2858, allocations: 283.6 kB / 0.4961 GB, free: 428 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007141/0.293, allocations: 8.075 MB / 0.5039 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.2941, allocations: 135.9 kB / 0.5041 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.2943, allocations: 56 kB / 0.5041 GB, free: 7.613 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.000351/0.2946, allocations: 296.7 kB / 0.5044 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.2948, allocations: 130.4 kB / 0.5045 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.2987, allocations: 2.191 MB / 0.5067 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.2987, allocations: 15.94 kB / 0.5067 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/0.2987, allocations: 4 kB / 0.5067 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.2987, allocations: 3.984 kB / 0.5067 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007147/0.3059, allocations: 4.607 MB / 0.5112 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.3059, allocations: 7.984 kB / 0.5112 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000843/0.3068, allocations: 187.7 kB / 0.5114 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1461/0.4529, allocations: 0.5179 MB / 0.5119 GB, free: 85.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/0.4531, allocations: 38.05 kB / 0.5119 GB, free: 85.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006075/0.4592, allocations: 7.89 MB / 0.5196 GB, free: 79.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.4592, allocations: 9.438 kB / 0.5196 GB, free: 79.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.464, allocations: 3.222 MB / 0.5228 GB, free: 78.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.4646, allocations: 359.3 kB / 0.5231 GB, free: 78.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.4648, allocations: 35.08 kB / 0.5232 GB, free: 78.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/0.4657, allocations: 102.3 kB / 0.5233 GB, free: 78.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.4659, allocations: 110.8 kB / 0.5234 GB, free: 78.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.4661, allocations: 46.89 kB / 0.5234 GB, free: 78.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001119/0.4672, allocations: 0.7949 MB / 0.5242 GB, free: 77.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4672, allocations: 1.469 kB / 0.5242 GB, free: 77.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002004/0.4692, allocations: 0.7407 MB / 0.5249 GB, free: 77.92 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.004451/0.4737, allocations: 3.854 MB / 0.5287 GB, free: 75.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007837/0.4815, allocations: 6.664 MB / 0.5352 GB, free: 71.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4815, allocations: 3.844 kB / 0.5352 GB, free: 71.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003351/0.4849, allocations: 2.845 MB / 0.538 GB, free: 69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.4864, allocations: 350.3 kB / 0.5383 GB, free: 68.73 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.01612/0.5025, allocations: 13.64 MB / 0.5516 GB, free: 54.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009079/0.5035, allocations: 1.738 MB / 0.5533 GB, free: 52.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001068/0.5045, allocations: 411.6 kB / 0.5537 GB, free: 52.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007285/0.5053, allocations: 0.7766 MB / 0.5545 GB, free: 51.81 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5053, allocations: 4 kB / 0.5545 GB, free: 51.8 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).