Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04779/0.04779, allocations: 8.033 MB / 23.3 MB, free: 72 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.0006645/0.0006645, allocations: 91.67 kB / 25.87 MB, free: 3.352 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.000883/0.000883, allocations: 182.8 kB / 28.56 MB, free: 0.7227 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.265/1.265, allocations: 223.2 MB / 254.4 MB, free: 5.492 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01213/0.01213, allocations: 3.122 MB / 310.4 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004625, allocations: 19.22 kB / 375.5 MB, free: 54.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09805/0.09855, allocations: 52.98 MB / 428.5 MB, free: 19.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.006774/0.1054, allocations: 8.548 MB / 437.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004603/0.11, allocations: 2.579 MB / 439.6 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.1111, allocations: 43.81 kB / 439.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000887/0.112, allocations: 389.6 kB / 440.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.1134, allocations: 0.5788 MB / 440.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007712/0.1142, allocations: 453.1 kB / 441.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.116, allocations: 2.761 MB / 443.8 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.1175, allocations: 1.736 MB / 445.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008814/0.1184, allocations: 0.8246 MB / 446.4 MB, free: 1.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009623/0.1194, allocations: 1.105 MB / 447.5 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.1196, allocations: 124 kB / 447.6 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.12, allocations: 227.8 kB / 447.9 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.1204, allocations: 0.5761 MB / 448.4 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009257/0.1214, allocations: 1.086 MB / 449.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00276/0.1241, allocations: 3.476 MB / 453 MB, free: 11.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1242, allocations: 3.938 kB / 453 MB, free: 11.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1242, allocations: 0 / 453 MB, free: 11.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.039e-05/0.1242, allocations: 0 / 453 MB, free: 11.35 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.004856/0.1291, allocations: 2.334 MB / 455.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1292, allocations: 11.97 kB / 455.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000444/0.1296, allocations: 307.8 kB / 455.6 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006658/0.1303, allocations: 262 kB / 455.9 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.1322, allocations: 1.29 MB / 457.2 MB, free: 7.031 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.0002412/0.1325, allocations: 231.5 kB / 457.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.1328, allocations: 207.9 kB / 457.6 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004378/0.1372, allocations: 2.742 MB / 460.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.677e-05/0.1373, allocations: 4 kB / 460.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.1374, allocations: 80 kB / 460.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.913e-05/0.1376, allocations: 100 kB / 460.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003936/0.1415, allocations: 2.272 MB / 462.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.1528, allocations: 8.079 MB / 470.9 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.1554, allocations: 1.678 MB / 472.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.1571, allocations: 0.9791 MB / 473.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.1573, allocations: 122.1 kB / 473.7 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/0.1586, allocations: 0.8006 MB / 474.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.715e-06/0.1586, allocations: 7.938 kB / 474.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01418/0.1728, allocations: 6.816 MB / 481.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.173, allocations: 248.3 kB / 481.5 MB, free: 14 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.001706/0.1747, allocations: 1.208 MB / 482.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.547e-05/0.1748, allocations: 49.64 kB / 482.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007133/0.1755, allocations: 0.9271 MB / 483.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.1758, allocations: 414 kB / 484.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.176, allocations: 121.6 kB / 484.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1761, allocations: 365.9 kB / 484.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.1773, allocations: 0.7222 MB / 485.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.1788, allocations: 1.119 MB / 486.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008571/0.1874, allocations: 3.661 MB / 490.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.1874, allocations: 4 kB / 490.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004477/0.1919, allocations: 2.572 MB / 492.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000302/0.1922, allocations: 414.3 kB / 493.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.1923, allocations: 19.94 kB / 493.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.1934, allocations: 0.4959 MB / 493.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.1945, allocations: 307.5 kB / 493.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007426/0.2019, allocations: 8.094 MB / 0.4902 GB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.2034, allocations: 147.9 kB / 0.4904 GB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.2036, allocations: 59.98 kB / 0.4904 GB, free: 8.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/0.2036, allocations: 7.938 kB / 0.4904 GB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004055/0.2077, allocations: 2.377 MB / 0.4928 GB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/0.2077, allocations: 15.98 kB / 0.4928 GB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.2089, allocations: 0.4994 MB / 0.4933 GB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.2099, allocations: 303.5 kB / 0.4935 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007246/0.2172, allocations: 8.078 MB / 0.5014 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.2186, allocations: 131.9 kB / 0.5016 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.2189, allocations: 52 kB / 0.5016 GB, free: 12.19 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.00145/0.2203, allocations: 0.7199 MB / 0.5023 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/0.2207, allocations: 146.3 kB / 0.5025 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.2249, allocations: 2.238 MB / 0.5046 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.2249, allocations: 15.94 kB / 0.5047 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.2249, allocations: 4 kB / 0.5047 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.2249, allocations: 3.984 kB / 0.5047 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009097/0.2341, allocations: 4.682 MB / 0.5092 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.2341, allocations: 4 kB / 0.5092 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008969/0.235, allocations: 207.7 kB / 0.5094 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001377/0.2364, allocations: 0.5232 MB / 0.5099 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.2365, allocations: 35.92 kB / 0.51 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.23/0.4665, allocations: 7.905 MB / 0.5177 GB, free: 79.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.4666, allocations: 4.812 kB / 0.5177 GB, free: 79.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005617/0.4722, allocations: 3.32 MB / 0.5209 GB, free: 79.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/0.473, allocations: 359 kB / 0.5213 GB, free: 78.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.4732, allocations: 43.73 kB / 0.5213 GB, free: 78.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009717/0.4742, allocations: 120.2 kB / 0.5214 GB, free: 78.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.4745, allocations: 109.4 kB / 0.5215 GB, free: 78.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/0.4746, allocations: 39.97 kB / 0.5216 GB, free: 78.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001217/0.4758, allocations: 0.8044 MB / 0.5224 GB, free: 78.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4758, allocations: 0 / 0.5224 GB, free: 78.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002663/0.4785, allocations: 0.7444 MB / 0.5231 GB, free: 78.42 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.00526/0.4838, allocations: 3.943 MB / 0.5269 GB, free: 76.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008915/0.4927, allocations: 6.768 MB / 0.5336 GB, free: 72.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.4927, allocations: 0 / 0.5336 GB, free: 72.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003763/0.4965, allocations: 2.878 MB / 0.5364 GB, free: 70.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.499, allocations: 364.3 kB / 0.5367 GB, free: 70.11 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1914:3-1914:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/0.5179, allocations: 13.94 MB / 0.5503 GB, free: 56.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.519, allocations: 1.745 MB / 0.552 GB, free: 54.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00122/0.5202, allocations: 415.6 kB / 0.5524 GB, free: 54.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007638/0.521, allocations: 0.7827 MB / 0.5532 GB, free: 53.43 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.521, allocations: 0 / 0.5532 GB, free: 53.43 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).