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.04239/0.04239, allocations: 8.529 MB / 28.16 MB, free: 2.746 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.001271/0.001271, allocations: 113.1 kB / 33.4 MB, free: 1.242 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.001541/0.001541, allocations: 221.9 kB / 38.76 MB, free: 2.691 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.429/1.429, allocations: 230.6 MB / 274.6 MB, free: 2.832 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.02069/0.02069, allocations: 3.406 MB / 336.5 MB, free: 8.742 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="cs",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.002774/0.002774, allocations: 104 kB / 465.7 MB, free: 50.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09071/0.09348, allocations: 56.32 MB / 0.5098 GB, free: 15.21 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.01185/0.1053, allocations: 8.617 MB / 0.5182 GB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005593/0.1109, allocations: 2.641 MB / 0.5208 GB, free: 3.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.1125, allocations: 63.62 kB / 0.5209 GB, free: 3.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.1143, allocations: 492.3 kB / 0.5213 GB, free: 3.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.117, allocations: 0.7181 MB / 0.522 GB, free: 2.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1186, allocations: 0.5454 MB / 0.5226 GB, free: 2.086 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.004241/0.1228, allocations: 2.666 MB / 0.5252 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.1253, allocations: 1.336 MB / 0.5265 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.1274, allocations: 1.238 MB / 0.5277 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.1298, allocations: 1.471 MB / 0.5291 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007624/0.1306, allocations: 336 kB / 0.5294 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009923/0.1316, allocations: 431.8 kB / 0.5299 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.1327, allocations: 0.8727 MB / 0.5307 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.1346, allocations: 1.155 MB / 0.5318 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005677/0.1403, allocations: 4.181 MB / 0.5359 GB, free: 4.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1403, allocations: 3.938 kB / 0.5359 GB, free: 4.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1403, allocations: 0 / 0.5359 GB, free: 4.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001192/0.1404, allocations: 4 kB / 0.5359 GB, free: 4.297 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.00681/0.1472, allocations: 2.904 MB / 0.5388 GB, free: 1.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.1473, allocations: 12.03 kB / 0.5388 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.79e-05/0.1473, allocations: 60.8 kB / 0.5388 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004449/0.1478, allocations: 337.4 kB / 0.5392 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000835/0.1486, allocations: 303.2 kB / 0.5394 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.1515, allocations: 1.429 MB / 0.5408 GB, free: 15.17 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.0003383/0.1519, allocations: 291.4 kB / 0.5411 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.1523, allocations: 239.9 kB / 0.5413 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005795/0.1581, allocations: 3.096 MB / 0.5444 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-05/0.1581, allocations: 11.92 kB / 0.5444 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.1584, allocations: 99.98 kB / 0.5445 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.1585, allocations: 104.5 kB / 0.5446 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004561/0.1631, allocations: 2.36 MB / 0.5469 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/0.1773, allocations: 7.802 MB / 0.5545 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.1801, allocations: 1.337 MB / 0.5558 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.1819, allocations: 0.9046 MB / 0.5567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.1821, allocations: 40.97 kB / 0.5567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001528/0.1836, allocations: 0.8815 MB / 0.5576 GB, free: 13.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 4.278e-06/0.1836, allocations: 3.938 kB / 0.5576 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01565/0.1993, allocations: 6.454 MB / 0.5639 GB, free: 7.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.1994, allocations: 244.3 kB / 0.5641 GB, free: 6.727 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.001727/0.2012, allocations: 1.179 MB / 0.5653 GB, free: 5.535 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.2013, allocations: 53.7 kB / 0.5653 GB, free: 5.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009663/0.2022, allocations: 1.043 MB / 0.5663 GB, free: 4.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/0.2027, allocations: 444.3 kB / 0.5668 GB, free: 3.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004768/0.2031, allocations: 259.5 kB / 0.567 GB, free: 3.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2033, allocations: 305.1 kB / 0.5673 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.2046, allocations: 0.7404 MB / 0.568 GB, free: 2.672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.2064, allocations: 1.302 MB / 0.5693 GB, free: 1.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008909/0.2153, allocations: 3.554 MB / 0.5728 GB, free: 13.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.2153, allocations: 4 kB / 0.5728 GB, free: 13.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004702/0.22, allocations: 2.503 MB / 0.5752 GB, free: 10.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.2201, allocations: 37.7 kB / 0.5753 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.2201, allocations: 8 kB / 0.5753 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.2213, allocations: 0.5001 MB / 0.5758 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.2224, allocations: 299.5 kB / 0.576 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00887/0.2313, allocations: 8.354 MB / 0.5842 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.2328, allocations: 139.8 kB / 0.5843 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.2329, allocations: 63.98 kB / 0.5844 GB, free: 1.027 MB / 430.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.002491/0.2354, allocations: 1.296 MB / 0.5857 GB, free: 15.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001796/0.2372, allocations: 1.271 MB / 0.5869 GB, free: 14.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008742/0.246, allocations: 3.496 MB / 0.5903 GB, free: 10.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.646e-05/0.246, allocations: 4 kB / 0.5903 GB, free: 10.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.005029/0.251, allocations: 2.444 MB / 0.5927 GB, free: 8.086 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.131e-05/0.2511, allocations: 45.62 kB / 0.5928 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.2511, allocations: 12.31 kB / 0.5928 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.2525, allocations: 0.4961 MB / 0.5932 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.2536, allocations: 299.5 kB / 0.5935 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2445/0.4981, allocations: 8.33 MB / 0.6017 GB, free: 80.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.4998, allocations: 133.3 kB / 0.6018 GB, free: 80.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.5, allocations: 61.23 kB / 0.6019 GB, free: 80.28 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.0004669/0.5004, allocations: 297 kB / 0.6021 GB, free: 80.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.5008, allocations: 151.7 kB / 0.6023 GB, free: 80.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.5049, allocations: 2.132 MB / 0.6044 GB, free: 79.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.5049, allocations: 11 kB / 0.6044 GB, free: 79.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.5049, allocations: 7.812 kB / 0.6044 GB, free: 79.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.5049, allocations: 5.672 kB / 0.6044 GB, free: 79.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007585/0.5125, allocations: 4.366 MB / 0.6086 GB, free: 78.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.5125, allocations: 5.141 kB / 0.6087 GB, free: 78.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008851/0.5134, allocations: 193.6 kB / 0.6088 GB, free: 78.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.5148, allocations: 0.5173 MB / 0.6093 GB, free: 78.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.5149, allocations: 39.7 kB / 0.6094 GB, free: 78.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006956/0.5219, allocations: 8.158 MB / 0.6173 GB, free: 72.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.5219, allocations: 8.531 kB / 0.6174 GB, free: 72.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/0.5274, allocations: 3.168 MB / 0.6205 GB, free: 70.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008333/0.5282, allocations: 289.5 kB / 0.6207 GB, free: 70.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.5284, allocations: 33.53 kB / 0.6208 GB, free: 70.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009769/0.5294, allocations: 109.6 kB / 0.6209 GB, free: 70.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.5297, allocations: 115.1 kB / 0.621 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-05/0.5298, allocations: 37.56 kB / 0.621 GB, free: 70.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001167/0.531, allocations: 0.8047 MB / 0.6218 GB, free: 70.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.531, allocations: 0 / 0.6218 GB, free: 70.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002401/0.5334, allocations: 0.7894 MB / 0.6226 GB, free: 70.25 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.004735/0.5381, allocations: 3.803 MB / 0.6263 GB, free: 68.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007881/0.546, allocations: 6.42 MB / 0.6325 GB, free: 63.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.435e-06/0.546, allocations: 0 / 0.6325 GB, free: 63.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003357/0.5494, allocations: 2.694 MB / 0.6352 GB, free: 60.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.5512, allocations: 402 kB / 0.6356 GB, free: 60.29 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/0.5681, allocations: 12.51 MB / 0.6478 GB, free: 47.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.5692, allocations: 1.271 MB / 0.649 GB, free: 46.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001182/0.5704, allocations: 420 kB / 0.6494 GB, free: 45.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008314/0.5712, allocations: 0.8663 MB / 0.6503 GB, free: 44.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.704e-06/0.5712, allocations: 0 / 0.6503 GB, free: 44.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09496/0.6662, allocations: 52.3 MB / 0.7013 GB, free: 8.949 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.27, allocations: 7.719 kB / 0.7014 GB, free: 8.945 MB / 462.1 MB " [Timeout remaining time 645] (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: 18.807625936926343] Failed to read output from testmodel.py, exit status != 0: 15.474044699920341 15.494763508 15.351320818 Calling exit ...