Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_main_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.05491/0.05491, allocations: 8.032 MB / 23.5 MB, free: 0.6367 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.0009566/0.0009566, allocations: 111.4 kB / 26.08 MB, free: 3.523 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.001381/0.00138, allocations: 194.3 kB / 28.76 MB, free: 0.8438 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.253/1.253, allocations: 222.9 MB / 254.2 MB, free: 4.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01971/0.01971, allocations: 3.119 MB / 309.2 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 87.86 kB / 373.7 MB, free: 1.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2002, allocations: 51.98 MB / 425.7 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008058/0.2083, allocations: 9.016 MB / 434.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004741/0.2131, allocations: 2.556 MB / 437.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.2142, allocations: 43.81 kB / 437.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.2155, allocations: 456.6 kB / 437.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.2172, allocations: 0.6521 MB / 438.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009841/0.2182, allocations: 491.3 kB / 438.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.2201, allocations: 2.448 MB / 441.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.2217, allocations: 2.049 MB / 443.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009537/0.2227, allocations: 1.082 MB / 444.4 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.2237, allocations: 1.311 MB / 445.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.224, allocations: 300 kB / 446 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.2245, allocations: 395.8 kB / 446.4 MB, free: 420 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006709/0.2252, allocations: 0.7792 MB / 447.2 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.2265, allocations: 1.283 MB / 448.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.2297, allocations: 3.668 MB / 452.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2297, allocations: 0 / 452.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2298, allocations: 4 kB / 452.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.726e-05/0.2298, allocations: 0 / 452.2 MB, free: 10.66 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.005227/0.235, allocations: 2.685 MB / 454.9 MB, free: 7.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.2351, allocations: 12.03 kB / 454.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003466/0.2354, allocations: 315.5 kB / 455.2 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006411/0.2361, allocations: 262.1 kB / 455.4 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.2382, allocations: 1.286 MB / 456.7 MB, free: 5.977 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.0002404/0.2385, allocations: 217.5 kB / 456.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.2388, allocations: 215.8 kB / 457.1 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004077/0.2429, allocations: 2.691 MB / 459.8 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.415e-05/0.2429, allocations: 4 kB / 459.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.2431, allocations: 87.97 kB / 459.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.2432, allocations: 99.97 kB / 460 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.2469, allocations: 2.209 MB / 462.2 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/0.2583, allocations: 7.953 MB / 470.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.2609, allocations: 1.577 MB / 471.8 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.2626, allocations: 0.9528 MB / 472.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/0.2629, allocations: 122.1 kB / 472.8 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.2641, allocations: 0.7617 MB / 473.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.915e-06/0.2641, allocations: 4 kB / 473.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01363/0.2778, allocations: 6.61 MB / 480.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.2779, allocations: 244.3 kB / 480.4 MB, free: 13.61 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.001813/0.2797, allocations: 1.203 MB / 481.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.04e-05/0.2798, allocations: 49.7 kB / 481.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007714/0.2806, allocations: 0.9153 MB / 482.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.2809, allocations: 406.3 kB / 483 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/0.2813, allocations: 250.8 kB / 483.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2815, allocations: 353.9 kB / 483.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.2827, allocations: 0.7093 MB / 484.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.2842, allocations: 1.097 MB / 485.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008239/0.2925, allocations: 3.558 MB / 489 MB, free: 4.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.2925, allocations: 7.938 kB / 489 MB, free: 4.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004136/0.2966, allocations: 2.511 MB / 491.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.2967, allocations: 41.69 kB / 491.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.2967, allocations: 12 kB / 491.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.2978, allocations: 0.5001 MB / 492 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.2989, allocations: 295.5 kB / 492.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007761/0.3066, allocations: 8.813 MB / 0.4894 GB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.3079, allocations: 123.9 kB / 0.4895 GB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.308, allocations: 59.98 kB / 0.4896 GB, free: 7.75 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.001978/0.31, allocations: 1.234 MB / 0.4908 GB, free: 6.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001336/0.3114, allocations: 1.062 MB / 0.4918 GB, free: 5.293 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007886/0.3193, allocations: 3.5 MB / 0.4952 GB, free: 1.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.271e-05/0.3193, allocations: 7.938 kB / 0.4952 GB, free: 1.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004047/0.3233, allocations: 2.476 MB / 0.4976 GB, free: 15.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.3234, allocations: 33.7 kB / 0.4977 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3234, allocations: 12 kB / 0.4977 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.3245, allocations: 0.5002 MB / 0.4982 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009641/0.3255, allocations: 279.6 kB / 0.4984 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007516/0.333, allocations: 8.799 MB / 0.507 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.3345, allocations: 131.9 kB / 0.5072 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.3346, allocations: 55.98 kB / 0.5072 GB, free: 4.719 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.0004487/0.335, allocations: 292.6 kB / 0.5075 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.3353, allocations: 142.4 kB / 0.5076 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.3392, allocations: 2.184 MB / 0.5098 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3392, allocations: 12 kB / 0.5098 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.3393, allocations: 11.94 kB / 0.5098 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.3393, allocations: 7.969 kB / 0.5098 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2038/0.5431, allocations: 4.585 MB / 0.5143 GB, free: 85.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.5431, allocations: 4.688 kB / 0.5143 GB, free: 85.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009014/0.544, allocations: 201.8 kB / 0.5145 GB, free: 85.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.5456, allocations: 0.5191 MB / 0.515 GB, free: 85.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.5457, allocations: 36.89 kB / 0.515 GB, free: 85.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007294/0.553, allocations: 8.619 MB / 0.5234 GB, free: 78.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.553, allocations: 3.312 kB / 0.5234 GB, free: 78.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004765/0.5578, allocations: 3.221 MB / 0.5266 GB, free: 77.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000776/0.5586, allocations: 366.3 kB / 0.5269 GB, free: 77.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.5588, allocations: 27.84 kB / 0.527 GB, free: 77.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008414/0.5596, allocations: 101.4 kB / 0.527 GB, free: 77.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/0.5599, allocations: 112.2 kB / 0.5272 GB, free: 77.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.491e-05/0.56, allocations: 43.08 kB / 0.5272 GB, free: 77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009867/0.561, allocations: 0.7999 MB / 0.528 GB, free: 76.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.561, allocations: 0 / 0.528 GB, free: 76.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002091/0.5631, allocations: 0.7427 MB / 0.5287 GB, free: 76.6 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.004432/0.5675, allocations: 3.852 MB / 0.5325 GB, free: 74.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008746/0.5763, allocations: 7.08 MB / 0.5394 GB, free: 68.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.5763, allocations: 4 kB / 0.5394 GB, free: 68.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003316/0.5796, allocations: 2.835 MB / 0.5422 GB, free: 65.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.5813, allocations: 381.5 kB / 0.5425 GB, free: 65.44 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.01679/0.5981, allocations: 12.79 MB / 0.555 GB, free: 52.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.5991, allocations: 1.738 MB / 0.5567 GB, free: 50.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0011/0.6003, allocations: 411.6 kB / 0.5571 GB, free: 49.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000712/0.601, allocations: 0.7766 MB / 0.5579 GB, free: 49.06 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.601, allocations: 0 / 0.5579 GB, free: 49.06 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).