Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.06937/0.06937, allocations: 8.543 MB / 27.37 MB, free: 2.855 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 109.7 kB / 32.62 MB, free: 1.566 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 210.3 kB / 37.99 MB, free: 3.035 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 230.6 MB / 273.8 MB, free: 3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01925/0.01925, allocations: 3.411 MB / 335.7 MB, free: 10.83 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: EHPTexamples requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002893/0.002893, allocations: 110.4 kB / 465 MB, free: 49.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.106, allocations: 56.33 MB / 0.5091 GB, free: 15.62 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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(EHPTexamples.ElectricDrives.tqFollowing): time 0.01316/0.1191, allocations: 9.846 MB / 0.5188 GB, free: 5.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006021/0.1252, allocations: 2.762 MB / 0.5215 GB, free: 2.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.1267, allocations: 67.56 kB / 0.5215 GB, free: 2.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.1285, allocations: 0.5159 MB / 0.522 GB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.1311, allocations: 0.7025 MB / 0.5227 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.1329, allocations: 0.55 MB / 0.5233 GB, free: 1.105 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.004249/0.1372, allocations: 2.674 MB / 0.5259 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002551/0.1397, allocations: 1.336 MB / 0.5272 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.1419, allocations: 1.23 MB / 0.5284 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.1446, allocations: 1.475 MB / 0.5298 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006737/0.1452, allocations: 336 kB / 0.5301 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.1463, allocations: 435.8 kB / 0.5305 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009195/0.1472, allocations: 0.8727 MB / 0.5314 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.149, allocations: 1.427 MB / 0.5328 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004784/0.1538, allocations: 4.161 MB / 0.5369 GB, free: 3.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1538, allocations: 0 / 0.5369 GB, free: 3.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1538, allocations: 0 / 0.5369 GB, free: 3.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.001e-05/0.1539, allocations: 0 / 0.5369 GB, free: 3.062 MB / 382.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.006327/0.1602, allocations: 2.905 MB / 0.5397 GB, free: 104 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1603, allocations: 8.031 kB / 0.5397 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005653/0.1608, allocations: 337.5 kB / 0.54 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008042/0.1616, allocations: 307.2 kB / 0.5403 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.1648, allocations: 1.426 MB / 0.5417 GB, free: 14 MB / 398.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.0003273/0.1651, allocations: 287.4 kB / 0.542 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005014/0.1657, allocations: 235.9 kB / 0.5422 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005282/0.1709, allocations: 2.961 MB / 0.5451 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/0.171, allocations: 0 / 0.5451 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.1712, allocations: 95.98 kB / 0.5452 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.1713, allocations: 108.5 kB / 0.5453 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00453/0.1759, allocations: 2.364 MB / 0.5476 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/0.191, allocations: 8.507 MB / 0.5559 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/0.1938, allocations: 1.332 MB / 0.5572 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.1957, allocations: 0.9007 MB / 0.5581 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.1959, allocations: 44.97 kB / 0.5581 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.1973, allocations: 0.785 MB / 0.5589 GB, free: 11.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 2.785e-06/0.1973, allocations: 0 / 0.5589 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01551/0.2128, allocations: 6.449 MB / 0.5652 GB, free: 5.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.213, allocations: 252.3 kB / 0.5654 GB, free: 5.16 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.001747/0.2147, allocations: 1.183 MB / 0.5666 GB, free: 3.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.959e-05/0.2148, allocations: 49.69 kB / 0.5666 GB, free: 3.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.2158, allocations: 1.043 MB / 0.5677 GB, free: 2.855 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/0.2162, allocations: 436.3 kB / 0.5681 GB, free: 2.426 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/0.2166, allocations: 263.5 kB / 0.5683 GB, free: 2.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2167, allocations: 305.1 kB / 0.5686 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.2181, allocations: 0.7113 MB / 0.5693 GB, free: 1.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.2197, allocations: 1.127 MB / 0.5704 GB, free: 15.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008562/0.2283, allocations: 3.558 MB / 0.5739 GB, free: 12.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.2283, allocations: 0 / 0.5739 GB, free: 12.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004999/0.2333, allocations: 2.478 MB / 0.5763 GB, free: 9.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.2333, allocations: 37.69 kB / 0.5763 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.2333, allocations: 12 kB / 0.5764 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.2346, allocations: 0.504 MB / 0.5768 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.2358, allocations: 299.5 kB / 0.5771 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009229/0.245, allocations: 8.385 MB / 0.5853 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.2467, allocations: 139.8 kB / 0.5855 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.2468, allocations: 63.92 kB / 0.5855 GB, free: 15.71 MB / 446.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.002559/0.2494, allocations: 1.27 MB / 0.5868 GB, free: 14.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001598/0.251, allocations: 1.095 MB / 0.5878 GB, free: 13.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008103/0.2591, allocations: 3.484 MB / 0.5912 GB, free: 9.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.896e-06/0.2591, allocations: 4 kB / 0.5912 GB, free: 9.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004856/0.2639, allocations: 2.427 MB / 0.5936 GB, free: 7.059 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.264, allocations: 41.64 kB / 0.5936 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.264, allocations: 8 kB / 0.5936 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.2651, allocations: 0.5041 MB / 0.5941 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.2663, allocations: 295.5 kB / 0.5944 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2516/0.5179, allocations: 8.38 MB / 0.6026 GB, free: 79.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.5198, allocations: 140.4 kB / 0.6027 GB, free: 79.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.5199, allocations: 59.12 kB / 0.6028 GB, free: 79.62 MB / 446.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: 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.0004386/0.5204, allocations: 304.3 kB / 0.6031 GB, free: 79.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004138/0.5208, allocations: 149.9 kB / 0.6032 GB, free: 79.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/0.525, allocations: 2.122 MB / 0.6053 GB, free: 79.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.5251, allocations: 12.38 kB / 0.6053 GB, free: 79.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.5251, allocations: 4.734 kB / 0.6053 GB, free: 79.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.5251, allocations: 10.48 kB / 0.6053 GB, free: 79.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008636/0.5337, allocations: 4.597 MB / 0.6098 GB, free: 77.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.5337, allocations: 3.875 kB / 0.6098 GB, free: 77.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/0.5346, allocations: 195.3 kB / 0.61 GB, free: 77.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.5362, allocations: 0.5234 MB / 0.6105 GB, free: 77.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.5363, allocations: 35.12 kB / 0.6106 GB, free: 77.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006876/0.5431, allocations: 8.211 MB / 0.6186 GB, free: 70.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.5431, allocations: 12.59 kB / 0.6186 GB, free: 70.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006093/0.5492, allocations: 3.164 MB / 0.6217 GB, free: 69.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.5503, allocations: 292.4 kB / 0.622 GB, free: 69.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.5505, allocations: 39.72 kB / 0.622 GB, free: 69.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.5515, allocations: 101.9 kB / 0.6221 GB, free: 69.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.5518, allocations: 117.4 kB / 0.6222 GB, free: 69.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.5519, allocations: 43.33 kB / 0.6222 GB, free: 69.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001252/0.5532, allocations: 0.8028 MB / 0.623 GB, free: 69.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5532, allocations: 0 / 0.623 GB, free: 69.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002933/0.5561, allocations: 0.7844 MB / 0.6238 GB, free: 69.06 MB / 446.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.005015/0.5611, allocations: 3.812 MB / 0.6275 GB, free: 67.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008235/0.5693, allocations: 6.357 MB / 0.6337 GB, free: 62.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5693, allocations: 0 / 0.6337 GB, free: 62.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003277/0.5726, allocations: 2.681 MB / 0.6363 GB, free: 59.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.5745, allocations: 401.6 kB / 0.6367 GB, free: 59.44 MB / 446.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.01752/0.5921, allocations: 12.45 MB / 0.6489 GB, free: 46.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.5934, allocations: 1.841 MB / 0.6507 GB, free: 44.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001124/0.5945, allocations: 420.8 kB / 0.6511 GB, free: 44.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008478/0.5954, allocations: 0.8663 MB / 0.6519 GB, free: 43.42 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5954, allocations: 0 / 0.6519 GB, free: 43.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/0.7008, allocations: 50.47 MB / 0.7012 GB, free: 9.352 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/15.86, allocations: 14.98 kB / 0.7012 GB, free: 9.34 MB / 462.1 MB " [Timeout remaining time 644] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.112231807997887] Failed to read output from testmodel.py, exit status != 0: 16.000842567998916 16.020168577 15.862929827 Calling exit ...