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.04919/0.04919, allocations: 8.53 MB / 28.15 MB, free: 2.805 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.001284/0.001284, allocations: 108.7 kB / 33.4 MB, free: 1.25 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.002/0.002, allocations: 219.8 kB / 38.78 MB, free: 2.66 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.471/1.471, allocations: 230.6 MB / 274.6 MB, free: 3.012 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.02366/0.02366, allocations: 3.409 MB / 336.5 MB, free: 8.938 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.002846/0.002846, allocations: 96.58 kB / 465.8 MB, free: 50.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.1013, allocations: 56.32 MB / 0.5099 GB, free: 15.38 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.0147/0.116, allocations: 9.846 MB / 0.5195 GB, free: 5.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006259/0.1223, allocations: 2.762 MB / 0.5222 GB, free: 2.715 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.1239, allocations: 67.56 kB / 0.5223 GB, free: 2.648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.1254, allocations: 0.5159 MB / 0.5228 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.1278, allocations: 0.7065 MB / 0.5235 GB, free: 1.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.1292, allocations: 0.5494 MB / 0.524 GB, free: 0.8711 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.004074/0.1333, allocations: 2.678 MB / 0.5266 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.1353, allocations: 1.332 MB / 0.5279 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.1374, allocations: 1.238 MB / 0.5291 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.1399, allocations: 1.471 MB / 0.5306 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005823/0.1405, allocations: 336 kB / 0.5309 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009079/0.1414, allocations: 435.8 kB / 0.5313 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009296/0.1424, allocations: 0.8804 MB / 0.5322 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.1441, allocations: 1.416 MB / 0.5336 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004995/0.1491, allocations: 4.161 MB / 0.5376 GB, free: 2.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1491, allocations: 0 / 0.5376 GB, free: 2.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1491, allocations: 0 / 0.5376 GB, free: 2.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001021/0.1492, allocations: 4 kB / 0.5376 GB, free: 2.824 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.007069/0.1563, allocations: 2.905 MB / 0.5405 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1564, allocations: 8.031 kB / 0.5405 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.67e-05/0.1565, allocations: 64.78 kB / 0.5405 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004869/0.1569, allocations: 333.5 kB / 0.5408 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008966/0.1578, allocations: 307.2 kB / 0.5411 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.161, allocations: 1.426 MB / 0.5425 GB, free: 13.7 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.0003459/0.1613, allocations: 291.4 kB / 0.5428 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004183/0.1618, allocations: 235.9 kB / 0.543 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005668/0.1674, allocations: 2.954 MB / 0.5459 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.609e-05/0.1675, allocations: 4 kB / 0.5459 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000249/0.1677, allocations: 96 kB / 0.546 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.1679, allocations: 108.5 kB / 0.5461 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004816/0.1727, allocations: 2.368 MB / 0.5484 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/0.1892, allocations: 8.504 MB / 0.5567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.1922, allocations: 1.336 MB / 0.558 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.1942, allocations: 0.8969 MB / 0.5589 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.1944, allocations: 44.95 kB / 0.559 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/0.196, allocations: 0.7811 MB / 0.5597 GB, free: 11.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 3.998e-06/0.196, allocations: 3.938 kB / 0.5597 GB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01744/0.2134, allocations: 6.446 MB / 0.566 GB, free: 5.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.2136, allocations: 252.3 kB / 0.5663 GB, free: 4.863 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.00249/0.2161, allocations: 1.179 MB / 0.5674 GB, free: 3.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.2162, allocations: 49.7 kB / 0.5675 GB, free: 3.617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.2175, allocations: 1.043 MB / 0.5685 GB, free: 2.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005191/0.218, allocations: 444.3 kB / 0.5689 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005611/0.2186, allocations: 263.5 kB / 0.5692 GB, free: 1.859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2187, allocations: 305.1 kB / 0.5694 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.2201, allocations: 0.7113 MB / 0.5701 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.222, allocations: 1.127 MB / 0.5712 GB, free: 15.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009166/0.2312, allocations: 3.554 MB / 0.5747 GB, free: 11.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.2312, allocations: 7.938 kB / 0.5747 GB, free: 11.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005112/0.2363, allocations: 2.466 MB / 0.5771 GB, free: 9.324 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.2364, allocations: 41.64 kB / 0.5772 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.2364, allocations: 15.98 kB / 0.5772 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.2377, allocations: 0.4962 MB / 0.5777 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.2389, allocations: 303.5 kB / 0.578 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009432/0.2483, allocations: 8.385 MB / 0.5861 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.25, allocations: 143.8 kB / 0.5863 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.2502, allocations: 56 kB / 0.5863 GB, free: 15.42 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.002727/0.253, allocations: 1.272 MB / 0.5876 GB, free: 14.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001746/0.2547, allocations: 1.095 MB / 0.5886 GB, free: 12.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008839/0.2636, allocations: 3.495 MB / 0.5921 GB, free: 9.215 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.526e-05/0.2636, allocations: 4 kB / 0.5921 GB, free: 9.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004955/0.2685, allocations: 2.427 MB / 0.5944 GB, free: 6.754 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.2686, allocations: 33.7 kB / 0.5945 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.2686, allocations: 12 kB / 0.5945 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.2698, allocations: 0.4963 MB / 0.595 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.2709, allocations: 303.5 kB / 0.5953 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2447/0.5156, allocations: 8.387 MB / 0.6034 GB, free: 79.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.5171, allocations: 134.5 kB / 0.6036 GB, free: 79.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.5172, allocations: 59.03 kB / 0.6036 GB, free: 79.38 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.0003781/0.5176, allocations: 296.5 kB / 0.6039 GB, free: 79.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.5179, allocations: 152.4 kB / 0.6041 GB, free: 79.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/0.5218, allocations: 2.12 MB / 0.6061 GB, free: 79.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.5218, allocations: 16.97 kB / 0.6061 GB, free: 79.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.5218, allocations: 5.5 kB / 0.6061 GB, free: 79.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.5218, allocations: 8.281 kB / 0.6062 GB, free: 79.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007701/0.5295, allocations: 4.593 MB / 0.6106 GB, free: 77.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.5295, allocations: 5.656 kB / 0.6106 GB, free: 77.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/0.5304, allocations: 208.7 kB / 0.6108 GB, free: 77.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.5317, allocations: 0.5134 MB / 0.6113 GB, free: 77.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.451e-05/0.5318, allocations: 39.72 kB / 0.6114 GB, free: 77.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006594/0.5384, allocations: 8.204 MB / 0.6194 GB, free: 70.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5384, allocations: 13.03 kB / 0.6194 GB, free: 70.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005353/0.5438, allocations: 3.161 MB / 0.6225 GB, free: 69.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008383/0.5446, allocations: 299.5 kB / 0.6228 GB, free: 69.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003881/0.545, allocations: 37.66 kB / 0.6228 GB, free: 69.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.5461, allocations: 108.1 kB / 0.6229 GB, free: 69.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.5463, allocations: 120.3 kB / 0.623 GB, free: 69.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-05/0.5464, allocations: 39.31 kB / 0.6231 GB, free: 69.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001121/0.5475, allocations: 0.8024 MB / 0.6239 GB, free: 68.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5475, allocations: 0 / 0.6239 GB, free: 68.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002418/0.5499, allocations: 0.7839 MB / 0.6246 GB, free: 68.77 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.004756/0.5547, allocations: 3.802 MB / 0.6283 GB, free: 66.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008104/0.5628, allocations: 6.357 MB / 0.6345 GB, free: 62.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.5628, allocations: 0 / 0.6345 GB, free: 62.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003341/0.5662, allocations: 2.692 MB / 0.6372 GB, free: 59.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.5683, allocations: 393 kB / 0.6375 GB, free: 59.27 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.01931/0.5876, allocations: 12.45 MB / 0.6497 GB, free: 46.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.5891, allocations: 1.837 MB / 0.6515 GB, free: 44.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001188/0.5903, allocations: 429.4 kB / 0.6519 GB, free: 44.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009246/0.5912, allocations: 0.8547 MB / 0.6527 GB, free: 43.25 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5912, allocations: 0 / 0.6527 GB, free: 43.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/0.6933, allocations: 50.52 MB / 0.7021 GB, free: 9.145 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.51, allocations: 4.062 kB / 0.7021 GB, free: 9.141 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 & /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.011209439951926] Failed to read output from testmodel.py, exit status != 0: 15.710863817017525 15.733585208 15.580952436 Calling exit ...