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.04961/0.04961, allocations: 8.546 MB / 27.37 MB, free: 2.898 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.001335/0.001335, allocations: 101.1 kB / 32.61 MB, free: 1.578 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.001672/0.001672, allocations: 211.2 kB / 37.99 MB, free: 3.027 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.502/1.502, allocations: 230.6 MB / 273.8 MB, free: 3.031 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.02133/0.02133, allocations: 3.413 MB / 335.7 MB, free: 8.945 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.00303/0.00303, allocations: 98.23 kB / 465 MB, free: 50.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08775/0.09078, allocations: 56.32 MB / 0.5091 GB, free: 15.41 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.01306/0.1038, allocations: 9.853 MB / 0.5188 GB, free: 5.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0058/0.1096, allocations: 2.77 MB / 0.5215 GB, free: 2.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.1108, allocations: 67.62 kB / 0.5215 GB, free: 2.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.1121, allocations: 0.512 MB / 0.522 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.114, allocations: 0.7103 MB / 0.5227 GB, free: 1.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1152, allocations: 0.5422 MB / 0.5233 GB, free: 0.8867 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.003398/0.1186, allocations: 2.678 MB / 0.5259 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.1208, allocations: 1.336 MB / 0.5272 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.1228, allocations: 1.231 MB / 0.5284 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.1251, allocations: 1.475 MB / 0.5298 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004866/0.1256, allocations: 332 kB / 0.5301 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009396/0.1265, allocations: 439.8 kB / 0.5306 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009462/0.1275, allocations: 0.8765 MB / 0.5314 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.1292, allocations: 1.416 MB / 0.5328 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0048/0.134, allocations: 4.161 MB / 0.5369 GB, free: 2.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.134, allocations: 0 / 0.5369 GB, free: 2.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.134, allocations: 0 / 0.5369 GB, free: 2.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.099e-05/0.1341, allocations: 0 / 0.5369 GB, free: 2.848 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.005974/0.14, allocations: 2.905 MB / 0.5397 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1401, allocations: 12.03 kB / 0.5397 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004177/0.1405, allocations: 345.5 kB / 0.54 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009134/0.1414, allocations: 303.2 kB / 0.5403 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/0.1443, allocations: 1.422 MB / 0.5417 GB, free: 13.78 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.000405/0.1447, allocations: 295.4 kB / 0.542 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003359/0.1451, allocations: 239.9 kB / 0.5422 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005144/0.1502, allocations: 2.95 MB / 0.5451 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/0.1503, allocations: 4 kB / 0.5451 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/0.1505, allocations: 92 kB / 0.5452 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.1506, allocations: 108.5 kB / 0.5453 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004508/0.1551, allocations: 2.364 MB / 0.5476 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.1701, allocations: 8.503 MB / 0.5559 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/0.173, allocations: 1.337 MB / 0.5572 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/0.1749, allocations: 0.9008 MB / 0.5581 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.1751, allocations: 44.97 kB / 0.5581 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/0.1766, allocations: 0.7849 MB / 0.5589 GB, free: 11.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 2.886e-06/0.1766, allocations: 0 / 0.5589 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01535/0.1919, allocations: 6.461 MB / 0.5652 GB, free: 5.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.1921, allocations: 244.3 kB / 0.5654 GB, free: 4.938 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.001792/0.1939, allocations: 1.179 MB / 0.5666 GB, free: 3.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.194, allocations: 49.7 kB / 0.5666 GB, free: 3.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.1951, allocations: 1.043 MB / 0.5677 GB, free: 2.637 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.1955, allocations: 436.3 kB / 0.5681 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005911/0.1961, allocations: 263.5 kB / 0.5683 GB, free: 1.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1962, allocations: 309.1 kB / 0.5686 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.1976, allocations: 0.7074 MB / 0.5693 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.1993, allocations: 1.123 MB / 0.5704 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009098/0.2084, allocations: 3.558 MB / 0.5739 GB, free: 11.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-05/0.2084, allocations: 4 kB / 0.5739 GB, free: 11.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005017/0.2134, allocations: 2.474 MB / 0.5763 GB, free: 9.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.2134, allocations: 37.7 kB / 0.5763 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.2135, allocations: 12 kB / 0.5764 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.2148, allocations: 0.5036 MB / 0.5768 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.2159, allocations: 303.5 kB / 0.5771 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009427/0.2253, allocations: 8.386 MB / 0.5853 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.2269, allocations: 135.8 kB / 0.5855 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.227, allocations: 63.94 kB / 0.5855 GB, free: 15.49 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.002534/0.2296, allocations: 1.27 MB / 0.5868 GB, free: 14.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001647/0.2312, allocations: 1.095 MB / 0.5878 GB, free: 12.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00847/0.2397, allocations: 3.48 MB / 0.5912 GB, free: 9.305 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.117e-05/0.2397, allocations: 11.94 kB / 0.5912 GB, free: 9.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004748/0.2445, allocations: 2.419 MB / 0.5936 GB, free: 6.848 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.2445, allocations: 48.19 kB / 0.5936 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.2445, allocations: 12 kB / 0.5937 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.2458, allocations: 0.4994 MB / 0.5941 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.2468, allocations: 295.5 kB / 0.5944 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2234/0.4702, allocations: 8.388 MB / 0.6026 GB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.4718, allocations: 141.5 kB / 0.6028 GB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.472, allocations: 59.48 kB / 0.6028 GB, free: 79.8 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.0003862/0.4723, allocations: 295.7 kB / 0.6031 GB, free: 79.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.4726, allocations: 149.8 kB / 0.6032 GB, free: 79.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/0.4766, allocations: 2.128 MB / 0.6053 GB, free: 79.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.4766, allocations: 12.8 kB / 0.6053 GB, free: 79.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.4767, allocations: 5.562 kB / 0.6053 GB, free: 79.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.4767, allocations: 5.766 kB / 0.6053 GB, free: 79.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00837/0.485, allocations: 4.591 MB / 0.6098 GB, free: 77.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.4851, allocations: 4.125 kB / 0.6098 GB, free: 77.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/0.4859, allocations: 199.5 kB / 0.61 GB, free: 77.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.4873, allocations: 0.5224 MB / 0.6105 GB, free: 77.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.4875, allocations: 40.39 kB / 0.6106 GB, free: 77.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006646/0.4941, allocations: 8.206 MB / 0.6186 GB, free: 71.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4941, allocations: 8.062 kB / 0.6186 GB, free: 71.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005274/0.4994, allocations: 3.163 MB / 0.6217 GB, free: 69.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009614/0.5003, allocations: 294.5 kB / 0.622 GB, free: 69.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.5006, allocations: 39.42 kB / 0.622 GB, free: 69.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5016, allocations: 102.4 kB / 0.6221 GB, free: 69.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.5019, allocations: 120.8 kB / 0.6222 GB, free: 69.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/0.5019, allocations: 43.06 kB / 0.6222 GB, free: 69.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.503, allocations: 0.7991 MB / 0.623 GB, free: 69.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.503, allocations: 1.969 kB / 0.623 GB, free: 69.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002784/0.5058, allocations: 0.7816 MB / 0.6238 GB, free: 69.2 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.004897/0.5107, allocations: 3.81 MB / 0.6275 GB, free: 67.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008556/0.5193, allocations: 6.359 MB / 0.6337 GB, free: 62.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.5193, allocations: 0 / 0.6337 GB, free: 62.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003407/0.5227, allocations: 2.682 MB / 0.6363 GB, free: 60.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.5248, allocations: 404.2 kB / 0.6367 GB, free: 59.81 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.01726/0.5421, allocations: 12.45 MB / 0.6489 GB, free: 46.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.5433, allocations: 1.833 MB / 0.6507 GB, free: 45.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001158/0.5445, allocations: 421.3 kB / 0.6511 GB, free: 44.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008909/0.5453, allocations: 0.8625 MB / 0.6519 GB, free: 43.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.051e-06/0.5453, allocations: 0 / 0.6519 GB, free: 43.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.136/0.6814, allocations: 50.48 MB / 0.7012 GB, free: 9.707 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.98/16.66, allocations: 11.16 kB / 0.7012 GB, free: 9.699 MB / 462.1 MB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.840311425970867] Failed to read output from testmodel.py, exit status != 0: 16.793235598132014 16.81130731 16.673873011 Calling exit ...