Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json 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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 108 kB / 15.59 MB, free: 184 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 197.2 kB / 16.51 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1765/0.1765, allocations: 8.009 MB / 298.4 MB, free: 2.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 55.91 kB / 360.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1085, allocations: 51.19 MB / 411.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01096/0.1195, allocations: 9.682 MB / 421.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1849/0.3044, allocations: 2.685 MB / 424.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.3058, allocations: 54.97 kB / 424.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.307, allocations: 0.494 MB / 424.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.3087, allocations: 0.6662 MB / 425.4 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009477/0.3096, allocations: 0.5435 MB / 426 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.3115, allocations: 2.635 MB / 428.6 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.3133, allocations: 2.29 MB / 430.9 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.3145, allocations: 1.186 MB / 432.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.3157, allocations: 1.426 MB / 433.5 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003154/0.316, allocations: 333.4 kB / 433.8 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005773/0.3166, allocations: 427.3 kB / 434.2 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005561/0.3171, allocations: 0.8609 MB / 435.1 MB, free: 33.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.3182, allocations: 1.416 MB / 436.5 MB, free: 32.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.3206, allocations: 4.077 MB / 440.6 MB, free: 31.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3206, allocations: 0 / 440.6 MB, free: 31.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3206, allocations: 0 / 440.6 MB, free: 31.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.325e-05/0.3207, allocations: 3.188 kB / 440.6 MB, free: 31.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.004461/0.3252, allocations: 2.894 MB / 443.5 MB, free: 29.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3252, allocations: 8.688 kB / 443.5 MB, free: 29.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003088/0.3255, allocations: 344.5 kB / 443.8 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005697/0.3261, allocations: 289.5 kB / 444.1 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.3278, allocations: 1.368 MB / 445.5 MB, free: 28.75 MB / 350.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.0002268/0.328, allocations: 246.6 kB / 445.7 MB, free: 28.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.3283, allocations: 233.4 kB / 446 MB, free: 28.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00443/0.3327, allocations: 2.96 MB / 448.9 MB, free: 27.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-05/0.3328, allocations: 18.09 kB / 448.9 MB, free: 27.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.333, allocations: 97.94 kB / 449 MB, free: 27.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.387e-05/0.3331, allocations: 104.9 kB / 449.1 MB, free: 27.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/0.3364, allocations: 2.376 MB / 451.5 MB, free: 26.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00987/0.3463, allocations: 8.795 MB / 460.3 MB, free: 21.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.3487, allocations: 1.636 MB / 461.9 MB, free: 20.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.3504, allocations: 0.9716 MB / 462.9 MB, free: 20.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.3506, allocations: 126.6 kB / 463 MB, free: 20.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.352, allocations: 0.7777 MB / 463.8 MB, free: 20.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.065e-06/0.352, allocations: 5.125 kB / 463.8 MB, free: 20.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.0152/0.3672, allocations: 6.938 MB / 470.8 MB, free: 17.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.3673, allocations: 250.6 kB / 471 MB, free: 16.85 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.10177640614116878 / (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.10177640614116878 / (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.002415/0.3697, allocations: 1.23 MB / 472.2 MB, free: 16.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.3699, allocations: 51.27 kB / 472.3 MB, free: 16.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008571/0.3707, allocations: 1.013 MB / 473.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.371, allocations: 414.3 kB / 473.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004564/0.3715, allocations: 265.3 kB / 474 MB, free: 15.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.98e-05/0.3716, allocations: 309.1 kB / 474.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3729, allocations: 0.7161 MB / 475 MB, free: 14.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.3744, allocations: 1.129 MB / 476.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008854/0.3833, allocations: 3.619 MB / 479.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.935e-05/0.3833, allocations: 1.625 kB / 479.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004662/0.388, allocations: 2.572 MB / 482.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.3881, allocations: 40.7 kB / 482.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.3881, allocations: 14 kB / 482.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.3892, allocations: 0.5044 MB / 482.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3903, allocations: 299.7 kB / 483.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006336/0.3966, allocations: 8.812 MB / 492 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.3982, allocations: 131.9 kB / 492.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/0.3984, allocations: 56.14 kB / 492.1 MB, free: 2.723 MB / 350.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002134/0.4006, allocations: 1.294 MB / 493.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001235/0.4018, allocations: 1.103 MB / 494.5 MB, free: 160 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00837/0.4102, allocations: 3.555 MB / 498.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.314e-05/0.4102, allocations: 1.125 kB / 498.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004407/0.4147, allocations: 2.517 MB / 0.4889 GB, free: 9.867 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.4147, allocations: 41.7 kB / 0.4889 GB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.4147, allocations: 12 kB / 0.4889 GB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.4159, allocations: 0.5 MB / 0.4894 GB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4169, allocations: 291.5 kB / 0.4897 GB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007516/0.4244, allocations: 8.804 MB / 0.4983 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.426, allocations: 139.8 kB / 0.4984 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.4263, allocations: 60 kB / 0.4985 GB, free: 15.47 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (155): * Single equations (assignments): 148 * 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.0005446/0.4268, allocations: 297.8 kB / 0.4988 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.4272, allocations: 138.3 kB / 0.4989 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/0.4311, allocations: 2.207 MB / 0.5011 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.4312, allocations: 15.94 kB / 0.5011 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.4312, allocations: 4 kB / 0.5011 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.4312, allocations: 11.95 kB / 0.5011 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008318/0.4395, allocations: 4.755 MB / 0.5057 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.4396, allocations: 4 kB / 0.5057 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009145/0.4405, allocations: 195.7 kB / 0.5059 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.4419, allocations: 0.5275 MB / 0.5064 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.442, allocations: 35.97 kB / 0.5065 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008005/0.45, allocations: 8.629 MB / 0.5149 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4501, allocations: 4 kB / 0.5149 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005277/0.4553, allocations: 3.252 MB / 0.5181 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007805/0.4561, allocations: 367.2 kB / 0.5184 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/0.4565, allocations: 33.11 kB / 0.5185 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.4576, allocations: 107.9 kB / 0.5186 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.4578, allocations: 108.7 kB / 0.5187 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/0.4579, allocations: 39.98 kB / 0.5187 GB, free: 9.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001219/0.4592, allocations: 0.8224 MB / 0.5195 GB, free: 9.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4592, allocations: 0 / 0.5195 GB, free: 9.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002916/0.4621, allocations: 0.7812 MB / 0.5203 GB, free: 8.312 MB / 398.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 (102): * Single equations (assignments): 94 * 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.005508/0.4676, allocations: 3.895 MB / 0.5241 GB, free: 4.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009919/0.4775, allocations: 6.741 MB / 0.5307 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.4776, allocations: 0 / 0.5307 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004119/0.4817, allocations: 2.846 MB / 0.5334 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.4841, allocations: 399.3 kB / 0.5338 GB, free: 10.01 MB / 414.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.02339/0.5075, allocations: 13.51 MB / 0.547 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/0.5097, allocations: 1.825 MB / 0.5488 GB, free: 9.859 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001245/0.511, allocations: 420 kB / 0.5492 GB, free: 9.445 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.512, allocations: 0.8625 MB / 0.55 GB, free: 8.582 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.512, allocations: 0 / 0.55 GB, free: 8.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2531/0.7651, allocations: 48.31 MB / 0.5972 GB, free: 126.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.883/9.648, allocations: 17.61 kB / 0.5972 GB, free: 126.2 MB / 446.1 MB (rm -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)