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.04056/0.04056, allocations: 8.033 MB / 23.53 MB, free: 4.754 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.0008788/0.0008788, allocations: 102.3 kB / 26.11 MB, free: 3.078 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.0009645/0.0009645, allocations: 191.2 kB / 28.79 MB, free: 412 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.194/1.194, allocations: 222.9 MB / 254.3 MB, free: 4.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0115/0.0115, allocations: 3.133 MB / 309.3 MB, free: 2.391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 91.86 kB / 373.8 MB, free: 1.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1885, allocations: 51.97 MB / 425.8 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.01036/0.1988, allocations: 9.02 MB / 434.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005054/0.2039, allocations: 2.552 MB / 437.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.2054, allocations: 47.81 kB / 437.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.207, allocations: 464.6 kB / 437.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.2092, allocations: 0.6404 MB / 438.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.2104, allocations: 496.7 kB / 439 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.2124, allocations: 2.456 MB / 441.4 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.2143, allocations: 2.053 MB / 443.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.2153, allocations: 1.075 MB / 444.5 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.2167, allocations: 1.319 MB / 445.9 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000533/0.2173, allocations: 296 kB / 446.1 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008069/0.2181, allocations: 391.8 kB / 446.5 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007787/0.2189, allocations: 0.787 MB / 447.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.2204, allocations: 1.276 MB / 448.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003098/0.2235, allocations: 3.669 MB / 452.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2235, allocations: 0 / 452.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2235, allocations: 0 / 452.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.246e-05/0.2235, allocations: 0 / 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.004618/0.2282, allocations: 2.697 MB / 455 MB, free: 8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2282, allocations: 8.031 kB / 455 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003198/0.2285, allocations: 299.6 kB / 455.3 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/0.2291, allocations: 266.1 kB / 455.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.2309, allocations: 1.286 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.0002201/0.2312, allocations: 219.5 kB / 457 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/0.2315, allocations: 203.9 kB / 457.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003815/0.2353, allocations: 2.698 MB / 459.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.814e-05/0.2353, allocations: 4 kB / 459.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.2355, allocations: 84 kB / 460 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-05/0.2356, allocations: 99.97 kB / 460.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003704/0.2393, allocations: 2.206 MB / 462.3 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.2504, allocations: 7.965 MB / 470.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.253, allocations: 1.581 MB / 471.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.2546, allocations: 0.9411 MB / 472.8 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.2548, allocations: 130 kB / 472.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.2562, allocations: 0.7617 MB / 473.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.945e-06/0.2562, allocations: 0 / 473.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.0138/0.27, allocations: 6.603 MB / 480.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.2702, 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.001785/0.272, allocations: 1.202 MB / 481.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.903e-05/0.2721, allocations: 53.64 kB / 481.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007409/0.2728, allocations: 0.9192 MB / 482.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.2732, allocations: 398.3 kB / 483.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/0.2736, allocations: 254.8 kB / 483.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2737, allocations: 357.9 kB / 483.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.2749, allocations: 0.7093 MB / 484.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.2764, allocations: 1.093 MB / 485.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008214/0.2846, allocations: 3.57 MB / 489.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.2846, allocations: 7.938 kB / 489.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004137/0.2888, allocations: 2.507 MB / 491.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.2888, allocations: 41.69 kB / 491.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.2888, allocations: 8 kB / 491.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.2901, allocations: 0.5002 MB / 492.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.2913, allocations: 295.5 kB / 492.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007922/0.2992, allocations: 8.808 MB / 0.4895 GB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.3005, allocations: 123.9 kB / 0.4896 GB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.3006, allocations: 59.98 kB / 0.4896 GB, free: 7.859 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.002183/0.3028, allocations: 1.233 MB / 0.4908 GB, free: 6.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001517/0.3044, allocations: 1.066 MB / 0.4919 GB, free: 5.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008281/0.3127, allocations: 3.5 MB / 0.4953 GB, free: 1.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.738e-06/0.3127, allocations: 7.938 kB / 0.4953 GB, free: 1.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004151/0.3168, allocations: 2.468 MB / 0.4977 GB, free: 15.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.3169, allocations: 34.02 kB / 0.4978 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.3169, allocations: 16 kB / 0.4978 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.318, allocations: 0.503 MB / 0.4983 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/0.319, allocations: 283.6 kB / 0.4985 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007813/0.3268, allocations: 8.793 MB / 0.5071 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.328, allocations: 135.9 kB / 0.5073 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.3281, allocations: 59.92 kB / 0.5073 GB, free: 4.832 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.0003666/0.3285, allocations: 293.9 kB / 0.5076 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.3287, allocations: 138.4 kB / 0.5077 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.3325, allocations: 2.18 MB / 0.5098 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3325, allocations: 12 kB / 0.5099 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.3326, allocations: 15.94 kB / 0.5099 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.3326, allocations: 11.91 kB / 0.5099 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.147/0.4796, allocations: 4.589 MB / 0.5144 GB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.4796, allocations: 3.766 kB / 0.5144 GB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/0.4805, allocations: 197.9 kB / 0.5146 GB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.4818, allocations: 0.5215 MB / 0.5151 GB, free: 84.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.055e-05/0.4819, allocations: 36.61 kB / 0.5151 GB, free: 84.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00641/0.4883, allocations: 8.609 MB / 0.5235 GB, free: 78.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4883, allocations: 3.938 kB / 0.5235 GB, free: 78.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004858/0.4932, allocations: 3.225 MB / 0.5267 GB, free: 76.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006137/0.4938, allocations: 363 kB / 0.527 GB, free: 76.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.4941, allocations: 36.33 kB / 0.527 GB, free: 76.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009502/0.495, allocations: 102.5 kB / 0.5271 GB, free: 76.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.4953, allocations: 110.7 kB / 0.5272 GB, free: 76.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-05/0.4954, allocations: 42.27 kB / 0.5273 GB, free: 76.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.4964, allocations: 0.7995 MB / 0.5281 GB, free: 76.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4964, allocations: 0 / 0.5281 GB, free: 76.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002154/0.4986, allocations: 0.7394 MB / 0.5288 GB, free: 76.07 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.004545/0.5031, allocations: 3.854 MB / 0.5326 GB, free: 74.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008957/0.5121, allocations: 7.072 MB / 0.5395 GB, free: 68.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/0.5121, allocations: 0 / 0.5395 GB, free: 68.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00334/0.5155, allocations: 2.837 MB / 0.5422 GB, free: 65.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.5171, allocations: 385.1 kB / 0.5426 GB, free: 64.89 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.01348/0.5306, allocations: 12.81 MB / 0.5551 GB, free: 51.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009154/0.5315, allocations: 1.742 MB / 0.5568 GB, free: 49.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001029/0.5325, allocations: 411.6 kB / 0.5572 GB, free: 49.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006767/0.5332, allocations: 0.7844 MB / 0.558 GB, free: 48.5 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5332, allocations: 0 / 0.558 GB, free: 48.5 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).