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.05084/0.05084, allocations: 8.546 MB / 25.6 MB, free: 4.348 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.001286/0.001286, allocations: 107.7 kB / 30.5 MB, free: 52 kB / 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.001575/0.001575, allocations: 212.7 kB / 35.53 MB, free: 1.57 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.487/1.487, allocations: 230.6 MB / 271 MB, free: 3.797 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.01905/0.01905, allocations: 3.419 MB / 332.5 MB, free: 9.934 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.002921/0.002921, allocations: 104.5 kB / 460 MB, free: 50.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.1022, allocations: 56.28 MB / 0.5042 GB, free: 0.9297 MB / 350.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.01257/0.1147, allocations: 9.785 MB / 0.5138 GB, free: 7.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00566/0.1204, allocations: 2.758 MB / 0.5165 GB, free: 4.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.1218, allocations: 67.56 kB / 0.5165 GB, free: 4.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.1233, allocations: 0.5081 MB / 0.517 GB, free: 3.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.1256, allocations: 0.7065 MB / 0.5177 GB, free: 3.039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1269, allocations: 0.5461 MB / 0.5183 GB, free: 2.492 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.003614/0.1306, allocations: 2.683 MB / 0.5209 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.1331, allocations: 1.656 MB / 0.5225 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.135, allocations: 1.234 MB / 0.5237 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.1379, allocations: 1.471 MB / 0.5251 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.1391, allocations: 336 kB / 0.5255 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.1407, allocations: 435.8 kB / 0.5259 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.1418, allocations: 0.8726 MB / 0.5267 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.1436, allocations: 1.423 MB / 0.5281 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006323/0.1499, allocations: 4.157 MB / 0.5322 GB, free: 4.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.1499, allocations: 3.984 kB / 0.5322 GB, free: 4.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1499, allocations: 0 / 0.5322 GB, free: 4.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000138/0.1501, allocations: 0 / 0.5322 GB, free: 4.121 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.008412/0.1585, allocations: 2.981 MB / 0.5351 GB, free: 1.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.1586, allocations: 8.031 kB / 0.5351 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000102/0.1587, allocations: 64.78 kB / 0.5352 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005003/0.1592, allocations: 333.5 kB / 0.5355 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.1602, allocations: 307.2 kB / 0.5358 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.1635, allocations: 1.498 MB / 0.5372 GB, free: 14.81 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.0003457/0.1638, allocations: 247.9 kB / 0.5375 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/0.1642, allocations: 232 kB / 0.5377 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005825/0.17, allocations: 2.961 MB / 0.5406 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.357e-05/0.1701, allocations: 0 / 0.5406 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.1703, allocations: 95.98 kB / 0.5407 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.1705, allocations: 108.5 kB / 0.5408 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004972/0.1754, allocations: 2.368 MB / 0.5431 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.19, allocations: 8.67 MB / 0.5516 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/0.193, allocations: 1.562 MB / 0.5531 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/0.1949, allocations: 0.9041 MB / 0.554 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/0.1952, allocations: 126 kB / 0.5541 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/0.1968, allocations: 0.7811 MB / 0.5548 GB, free: 12.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 4.047e-06/0.1968, allocations: 0 / 0.5548 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01877/0.2156, allocations: 6.969 MB / 0.5616 GB, free: 5.137 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002233/0.2158, allocations: 248.3 kB / 0.5619 GB, free: 4.84 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.002608/0.2184, allocations: 1.175 MB / 0.563 GB, free: 3.652 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.2186, allocations: 49.7 kB / 0.5631 GB, free: 3.598 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.22, allocations: 1.051 MB / 0.5641 GB, free: 2.535 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005909/0.2206, allocations: 436.3 kB / 0.5645 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006445/0.2212, allocations: 263.5 kB / 0.5648 GB, free: 1.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2214, allocations: 309 kB / 0.5651 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.223, allocations: 0.7113 MB / 0.5658 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.2251, allocations: 1.119 MB / 0.5669 GB, free: 15.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009232/0.2343, allocations: 3.558 MB / 0.5703 GB, free: 11.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/0.2344, allocations: 4 kB / 0.5703 GB, free: 11.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005137/0.2395, allocations: 2.541 MB / 0.5728 GB, free: 9.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.852e-05/0.2395, allocations: 41.69 kB / 0.5729 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.2396, allocations: 12 kB / 0.5729 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.2409, allocations: 0.5 MB / 0.5734 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.2422, allocations: 307.4 kB / 0.5736 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.253, allocations: 8.799 MB / 0.5822 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.2548, allocations: 135.9 kB / 0.5824 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/0.2551, allocations: 59.98 kB / 0.5824 GB, free: 14.79 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.003165/0.2583, allocations: 1.269 MB / 0.5837 GB, free: 13.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001937/0.2602, allocations: 1.096 MB / 0.5847 GB, free: 12.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00969/0.2699, allocations: 3.499 MB / 0.5882 GB, free: 8.594 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.692e-05/0.2699, allocations: 7.938 kB / 0.5882 GB, free: 8.586 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.005595/0.2755, allocations: 2.502 MB / 0.5906 GB, free: 6.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.2756, allocations: 33.7 kB / 0.5906 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.2756, allocations: 16 kB / 0.5907 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.2769, allocations: 0.4924 MB / 0.5911 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.2781, allocations: 307.4 kB / 0.5914 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3204/0.5985, allocations: 8.786 MB / 0.6 GB, free: 79.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.6003, allocations: 138.8 kB / 0.6001 GB, free: 79.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.6005, allocations: 60.56 kB / 0.6002 GB, free: 79.63 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.0005032/0.601, allocations: 290 kB / 0.6005 GB, free: 79.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/0.6013, allocations: 151.9 kB / 0.6006 GB, free: 79.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004394/0.6057, allocations: 2.201 MB / 0.6028 GB, free: 78.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.6058, allocations: 14.78 kB / 0.6028 GB, free: 78.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.6058, allocations: 4.125 kB / 0.6028 GB, free: 78.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/0.6058, allocations: 11.17 kB / 0.6028 GB, free: 78.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00824/0.614, allocations: 4.699 MB / 0.6074 GB, free: 76.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.614, allocations: 3.406 kB / 0.6074 GB, free: 76.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/0.6149, allocations: 201.9 kB / 0.6076 GB, free: 76.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.6162, allocations: 0.5323 MB / 0.6081 GB, free: 76.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.6163, allocations: 39.92 kB / 0.6081 GB, free: 76.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006147/0.6225, allocations: 8.609 MB / 0.6165 GB, free: 69.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.6225, allocations: 4.812 kB / 0.6166 GB, free: 69.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004918/0.6274, allocations: 3.244 MB / 0.6197 GB, free: 68.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006407/0.628, allocations: 368.2 kB / 0.6201 GB, free: 68.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.6282, allocations: 39.59 kB / 0.6201 GB, free: 68.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009357/0.6292, allocations: 102 kB / 0.6202 GB, free: 68.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.6294, allocations: 112 kB / 0.6203 GB, free: 68.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/0.6295, allocations: 39.92 kB / 0.6203 GB, free: 68.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009307/0.6304, allocations: 0.8031 MB / 0.6211 GB, free: 67.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6304, allocations: 0 / 0.6211 GB, free: 67.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002594/0.633, allocations: 0.7795 MB / 0.6219 GB, free: 67.84 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.004655/0.6377, allocations: 3.88 MB / 0.6257 GB, free: 65.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008208/0.6459, allocations: 6.508 MB / 0.632 GB, free: 60.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.6459, allocations: 4 kB / 0.632 GB, free: 60.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00343/0.6493, allocations: 2.762 MB / 0.6347 GB, free: 57.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.6512, allocations: 404.8 kB / 0.6351 GB, free: 57.13 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.01633/0.6676, allocations: 12.5 MB / 0.6473 GB, free: 44.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.6687, allocations: 1.841 MB / 0.6491 GB, free: 42.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001105/0.6698, allocations: 416 kB / 0.6495 GB, free: 41.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007953/0.6706, allocations: 0.8625 MB / 0.6504 GB, free: 41.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6706, allocations: 0 / 0.6504 GB, free: 41.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0934/0.764, allocations: 48.95 MB / 0.6982 GB, free: 8.523 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.01, allocations: 11.81 kB / 0.6982 GB, free: 8.512 MB / 462.1 MB " [Timeout remaining time 646] (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: 17.637678382045124] Failed to read output from testmodel.py, exit status != 0: 14.179811062000226 14.196270325 14.042821774 Calling exit ...