Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_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.005043/0.005043, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001322/0.001323, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03965/0.03965, allocations: 8.038 MB / 298.6 MB, free: 6.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.91 kB / 412.6 MB, free: 22.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09399/0.09518, allocations: 51.19 MB / 463.8 MB, free: 3.57 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.0109/0.1061, allocations: 9.717 MB / 473.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005658/0.1118, allocations: 2.704 MB / 476.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.1132, allocations: 55.75 kB / 476.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.1146, allocations: 0.4926 MB / 476.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.117, allocations: 0.7142 MB / 477.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.1185, allocations: 0.5383 MB / 478 MB, free: 5.293 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.003401/0.1219, allocations: 2.678 MB / 480.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/0.1245, allocations: 2.296 MB / 483 MB, free: 244 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.1262, allocations: 1.203 MB / 484.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.1278, allocations: 1.432 MB / 485.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004492/0.1283, allocations: 336 kB / 485.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007199/0.129, allocations: 419.8 kB / 486.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007781/0.1298, allocations: 0.8649 MB / 487.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.1312, allocations: 1.42 MB / 488.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.1348, allocations: 4.144 MB / 492.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1348, allocations: 0 / 492.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1349, allocations: 0 / 492.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.564e-05/0.1349, allocations: 3.938 kB / 492.8 MB, free: 6.402 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.005102/0.14, allocations: 2.893 MB / 495.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1401, allocations: 12.03 kB / 495.7 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003748/0.1405, allocations: 345.4 kB / 496 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/0.1411, allocations: 289.8 kB / 496.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.1433, allocations: 1.423 MB / 497.7 MB, free: 1.324 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.0002435/0.1435, allocations: 240 kB / 497.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003257/0.1439, allocations: 232 kB / 498.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004683/0.1485, allocations: 2.958 MB / 0.4894 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.286e-05/0.1486, allocations: 15.83 kB / 0.4894 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.1488, allocations: 92 kB / 0.4895 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.1489, allocations: 104.5 kB / 0.4896 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004122/0.1531, allocations: 2.379 MB / 0.4919 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.1663, allocations: 8.69 MB / 0.5004 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/0.1693, allocations: 1.636 MB / 0.502 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1851/0.3545, allocations: 0.9551 MB / 0.5029 GB, free: 44.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.3548, allocations: 125 kB / 0.503 GB, free: 44.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.3561, allocations: 0.782 MB / 0.5038 GB, free: 44.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.715e-06/0.3561, allocations: 0 / 0.5038 GB, free: 44.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01343/0.3696, allocations: 6.949 MB / 0.5106 GB, free: 41.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.3697, allocations: 251 kB / 0.5108 GB, free: 41.59 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.001858/0.3715, allocations: 1.193 MB / 0.512 GB, free: 41.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.3717, allocations: 47.8 kB / 0.512 GB, free: 41.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007605/0.3724, allocations: 1.01 MB / 0.513 GB, free: 40.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003331/0.3728, allocations: 419.3 kB / 0.5134 GB, free: 39.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004717/0.3732, allocations: 263.5 kB / 0.5137 GB, free: 39.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.3733, allocations: 310.2 kB / 0.514 GB, free: 39.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.3746, allocations: 0.7159 MB / 0.5147 GB, free: 39.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.3763, allocations: 1.131 MB / 0.5158 GB, free: 38.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009363/0.3856, allocations: 3.607 MB / 0.5193 GB, free: 36.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/0.3857, allocations: 2.562 kB / 0.5193 GB, free: 36.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004203/0.3899, allocations: 2.567 MB / 0.5218 GB, free: 35.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.39, allocations: 36.05 kB / 0.5219 GB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.39, allocations: 12.69 kB / 0.5219 GB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.3911, allocations: 0.498 MB / 0.5224 GB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009665/0.392, allocations: 307.9 kB / 0.5226 GB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005768/0.3978, allocations: 8.804 MB / 0.5312 GB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.3993, allocations: 125 kB / 0.5314 GB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.3994, allocations: 62.7 kB / 0.5314 GB, free: 28.09 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.001982/0.4014, allocations: 1.284 MB / 0.5327 GB, free: 27.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001152/0.4026, allocations: 1.107 MB / 0.5338 GB, free: 26.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0071/0.4097, allocations: 3.532 MB / 0.5372 GB, free: 22.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.666e-06/0.4098, allocations: 0 / 0.5372 GB, free: 22.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003818/0.4136, allocations: 2.532 MB / 0.5397 GB, free: 19.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.4137, allocations: 37.69 kB / 0.5397 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.4137, allocations: 12 kB / 0.5397 GB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.4148, allocations: 0.5011 MB / 0.5402 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009783/0.4157, allocations: 295.5 kB / 0.5405 GB, free: 19.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006133/0.4219, allocations: 8.791 MB / 0.5491 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.4234, allocations: 137 kB / 0.5492 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.4236, allocations: 63.98 kB / 0.5493 GB, free: 9.566 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.0005242/0.4241, allocations: 289 kB / 0.5495 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004361/0.4246, allocations: 147.2 kB / 0.5497 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.4282, allocations: 2.215 MB / 0.5519 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.4283, allocations: 15.94 kB / 0.5519 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.4283, allocations: 4 kB / 0.5519 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.4283, allocations: 7.969 kB / 0.5519 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007561/0.4359, allocations: 4.738 MB / 0.5565 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.4359, allocations: 12.03 kB / 0.5565 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/0.4367, allocations: 195.7 kB / 0.5567 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.4379, allocations: 0.5204 MB / 0.5572 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.438, allocations: 41 kB / 0.5573 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008344/0.4463, allocations: 8.613 MB / 0.5657 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.4464, allocations: 7.938 kB / 0.5657 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006162/0.4526, allocations: 3.261 MB / 0.5689 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/0.4539, allocations: 363.3 kB / 0.5692 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/0.4544, allocations: 42.28 kB / 0.5692 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.4555, allocations: 99.89 kB / 0.5693 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.4559, allocations: 112.7 kB / 0.5694 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-05/0.456, allocations: 39.98 kB / 0.5695 GB, free: 4.051 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001453/0.4574, allocations: 0.8146 MB / 0.5703 GB, free: 3.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4574, allocations: 4 kB / 0.5703 GB, free: 3.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003358/0.4608, allocations: 0.7917 MB / 0.5711 GB, free: 2.438 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.005964/0.4668, allocations: 3.897 MB / 0.5749 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01043/0.4772, allocations: 6.737 MB / 0.5814 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4773, allocations: 0 / 0.5814 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004211/0.4815, allocations: 2.848 MB / 0.5842 GB, free: 4.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.4836, allocations: 394 kB / 0.5846 GB, free: 4.148 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.02003/0.5037, allocations: 12.51 MB / 0.5968 GB, free: 7.188 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001775/0.5055, allocations: 1.837 MB / 0.5986 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001288/0.5068, allocations: 420 kB / 0.599 GB, free: 4.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.5079, allocations: 0.8547 MB / 0.5998 GB, free: 4.047 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5079, allocations: 0 / 0.5998 GB, free: 4.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/0.65, allocations: 49.23 MB / 0.6479 GB, free: 3.285 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.96, allocations: 3.375 kB / 0.6479 GB, free: 3.285 MB / 478.1 MB (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)