Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_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.006826/0.006826, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03885/0.03885, allocations: 8.029 MB / 298.6 MB, free: 6.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.91 kB / 412.6 MB, free: 22.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07885/0.08003, allocations: 51.18 MB / 463.8 MB, free: 3.707 MB / 334.1 MB [/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. [/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: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/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) 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: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: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: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) 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=3*(1 - sqrt(1 - 0.0667))/(2*pi*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=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) 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=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) 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: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: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) as default value. [/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. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01149/0.09156, allocations: 9.724 MB / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005225/0.0968, allocations: 2.708 MB / 476.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.098, allocations: 51.81 kB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.09948, allocations: 0.5003 MB / 476.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.1015, allocations: 0.7026 MB / 477.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1028, allocations: 0.5499 MB / 478 MB, free: 5.414 MB / 350.1 MB [/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/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. Notification: Performance of NFFlatten.flatten: time 0.002938/0.1057, allocations: 2.666 MB / 480.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002673/0.1084, allocations: 2.296 MB / 483 MB, free: 380 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.1099, allocations: 1.203 MB / 484.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.1118, allocations: 1.44 MB / 485.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004062/0.1123, allocations: 332 kB / 485.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006106/0.1129, allocations: 419.8 kB / 486.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007743/0.1137, allocations: 0.865 MB / 487.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.115, allocations: 1.42 MB / 488.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003636/0.1187, allocations: 4.153 MB / 492.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1187, allocations: 0 / 492.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1187, allocations: 0 / 492.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.451e-05/0.1188, allocations: 0 / 492.8 MB, free: 6.523 MB / 366.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.005331/0.1241, allocations: 2.968 MB / 495.7 MB, free: 3.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1241, allocations: 8.031 kB / 495.7 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000389/0.1245, allocations: 337.5 kB / 496.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006744/0.1252, allocations: 307.2 kB / 496.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.1275, allocations: 1.436 MB / 497.8 MB, free: 1.352 MB / 366.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.0002498/0.1278, allocations: 232 kB / 498 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.1281, allocations: 239.9 kB / 498.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004739/0.1329, allocations: 2.961 MB / 0.4895 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-05/0.133, allocations: 4 kB / 0.4895 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.1332, allocations: 96 kB / 0.4896 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/0.1333, allocations: 112.5 kB / 0.4897 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004071/0.1374, allocations: 2.372 MB / 0.492 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.1496, allocations: 8.713 MB / 0.5005 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.1524, allocations: 1.624 MB / 0.5021 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1682/0.3206, allocations: 0.9648 MB / 0.503 GB, free: 44.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.3209, allocations: 119.7 kB / 0.5032 GB, free: 44.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.3223, allocations: 0.7885 MB / 0.5039 GB, free: 44.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.006e-06/0.3223, allocations: 1.375 kB / 0.5039 GB, free: 44.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01404/0.3364, allocations: 7.003 MB / 0.5108 GB, free: 41.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.3365, allocations: 246 kB / 0.511 GB, free: 41.64 MB / 382.1 MB [/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.3381, allocations: 1.204 MB / 0.5122 GB, free: 41.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/0.3381, allocations: 48.11 kB / 0.5122 GB, free: 41.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007218/0.3389, allocations: 1.04 MB / 0.5132 GB, free: 40.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.3391, allocations: 440.8 kB / 0.5137 GB, free: 40.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004416/0.3396, allocations: 261.6 kB / 0.5139 GB, free: 40.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.77e-05/0.3396, allocations: 310.1 kB / 0.5142 GB, free: 39.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.341, allocations: 0.7165 MB / 0.5149 GB, free: 39.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.3424, allocations: 1.133 MB / 0.516 GB, free: 38.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007982/0.3503, allocations: 3.598 MB / 0.5195 GB, free: 37.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3504, allocations: 8.344 kB / 0.5195 GB, free: 37.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003881/0.3543, allocations: 2.574 MB / 0.522 GB, free: 36.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.3543, allocations: 40.5 kB / 0.5221 GB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.3543, allocations: 9.625 kB / 0.5221 GB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.3554, allocations: 0.5027 MB / 0.5226 GB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.3564, allocations: 306.3 kB / 0.5229 GB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00578/0.3622, allocations: 8.81 MB / 0.5315 GB, free: 28.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.3634, allocations: 128.4 kB / 0.5316 GB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-05/0.3635, allocations: 60.89 kB / 0.5317 GB, free: 28.21 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001685/0.3652, allocations: 1.288 MB / 0.5329 GB, free: 27.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001066/0.3662, allocations: 1.099 MB / 0.534 GB, free: 26.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007054/0.3733, allocations: 3.539 MB / 0.5374 GB, free: 22.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.42e-06/0.3733, allocations: 4 kB / 0.5375 GB, free: 22.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003362/0.3767, allocations: 2.533 MB / 0.5399 GB, free: 20.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3767, allocations: 41.45 kB / 0.54 GB, free: 20 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.3767, allocations: 12 kB / 0.54 GB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000918/0.3777, allocations: 0.4922 MB / 0.5405 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009752/0.3787, allocations: 291.5 kB / 0.5407 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005509/0.3842, allocations: 8.804 MB / 0.5493 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.3854, allocations: 135.9 kB / 0.5495 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.56e-05/0.3854, allocations: 59.98 kB / 0.5495 GB, free: 9.66 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.0003112/0.3858, allocations: 297.9 kB / 0.5498 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.386, allocations: 147.1 kB / 0.5499 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/0.3892, allocations: 2.212 MB / 0.5521 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3892, allocations: 19.92 kB / 0.5521 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3893, allocations: 9.203 kB / 0.5521 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3893, allocations: 3.984 kB / 0.5521 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006069/0.3953, allocations: 4.747 MB / 0.5568 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.3954, allocations: 7.984 kB / 0.5568 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.3962, allocations: 199.7 kB / 0.557 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.3973, allocations: 0.5115 MB / 0.5575 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.837e-05/0.3974, allocations: 35.98 kB / 0.5575 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007352/0.4047, allocations: 8.626 MB / 0.5659 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4047, allocations: 4 kB / 0.5659 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005098/0.4098, allocations: 3.278 MB / 0.5691 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006543/0.4105, allocations: 368 kB / 0.5695 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.4107, allocations: 31.98 kB / 0.5695 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009675/0.4117, allocations: 103.9 kB / 0.5696 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.4119, allocations: 116.7 kB / 0.5697 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/0.412, allocations: 39.98 kB / 0.5698 GB, free: 4.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.4131, allocations: 0.8185 MB / 0.5706 GB, free: 3.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4131, allocations: 6.516 kB / 0.5706 GB, free: 3.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002356/0.4155, allocations: 0.789 MB / 0.5713 GB, free: 2.484 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.005493/0.421, allocations: 3.902 MB / 0.5751 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00996/0.4309, allocations: 6.744 MB / 0.5817 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.431, allocations: 0.6875 kB / 0.5817 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004172/0.4351, allocations: 2.841 MB / 0.5845 GB, free: 4.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.437, allocations: 408.4 kB / 0.5849 GB, free: 4.172 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/0.4551, allocations: 12.58 MB / 0.5972 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.4566, allocations: 1.837 MB / 0.599 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001123/0.4577, allocations: 416 kB / 0.5994 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.4587, allocations: 0.8586 MB / 0.6002 GB, free: 3.98 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4588, allocations: 0 / 0.6002 GB, free: 3.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08917/0.5479, allocations: 49.21 MB / 0.6483 GB, free: 3.211 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.81, allocations: 0 / 0.6483 GB, free: 3.211 MB / 478.1 MB (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)