Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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.04446/0.04446, allocations: 8.539 MB / 24.89 MB, free: 4.645 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 112 kB / 29.79 MB, free: 84 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 196 kB / 34.8 MB, free: 1.617 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 265.3 MB, free: 8.871 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.01828/0.01828, allocations: 3.42 MB / 325.6 MB, free: 15.41 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 97.05 kB / 450.8 MB, free: 49.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08173/0.08447, allocations: 55.1 MB / 0.494 GB, free: 8.727 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.008677/0.09315, allocations: 9.774 MB / 0.5036 GB, free: 14.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006138/0.09929, allocations: 2.727 MB / 0.5063 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.1005, allocations: 51.81 kB / 0.5063 GB, free: 12.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1019, allocations: 0.5003 MB / 0.5068 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.1039, allocations: 0.7065 MB / 0.5075 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1051, allocations: 0.5405 MB / 0.508 GB, free: 10.37 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.003353/0.1085, allocations: 2.666 MB / 0.5106 GB, free: 7.691 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.1106, allocations: 1.668 MB / 0.5122 GB, free: 5.957 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.1124, allocations: 1.195 MB / 0.5134 GB, free: 4.758 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.1143, allocations: 1.467 MB / 0.5148 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004324/0.1148, allocations: 332 kB / 0.5152 GB, free: 2.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.1155, allocations: 427.8 kB / 0.5156 GB, free: 2.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008452/0.1164, allocations: 0.8727 MB / 0.5164 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.1179, allocations: 1.416 MB / 0.5178 GB, free: 252 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.1224, allocations: 4.149 MB / 0.5219 GB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1224, allocations: 3.938 kB / 0.5219 GB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1224, allocations: 0 / 0.5219 GB, free: 12.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.264e-05/0.1225, allocations: 8 kB / 0.5219 GB, free: 12.07 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.0059/0.1284, allocations: 2.965 MB / 0.5248 GB, free: 9.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1284, allocations: 12.03 kB / 0.5248 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004439/0.1288, allocations: 341.4 kB / 0.5251 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007316/0.1296, allocations: 299.2 kB / 0.5254 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.1324, allocations: 1.443 MB / 0.5268 GB, free: 6.895 MB / 382.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.0002827/0.1326, allocations: 232 kB / 0.527 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/0.133, allocations: 232 kB / 0.5272 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005011/0.138, allocations: 2.961 MB / 0.5301 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/0.1381, allocations: 4 kB / 0.5301 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.1383, allocations: 104 kB / 0.5302 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.1384, allocations: 108.5 kB / 0.5303 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004402/0.1428, allocations: 2.372 MB / 0.5326 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01477/0.1576, allocations: 8.724 MB / 0.5412 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.1604, allocations: 1.558 MB / 0.5427 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.1622, allocations: 0.9094 MB / 0.5436 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.1624, allocations: 126.1 kB / 0.5437 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/0.1638, allocations: 0.7812 MB / 0.5445 GB, free: 4.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.685e-06/0.1638, allocations: 0 / 0.5445 GB, free: 4.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=121): time 0.01534/0.1791, allocations: 7.001 MB / 0.5513 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.1793, allocations: 252.3 kB / 0.5515 GB, free: 12.83 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.001759/0.1811, allocations: 1.195 MB / 0.5527 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.1812, allocations: 49.7 kB / 0.5528 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009392/0.1821, allocations: 1.043 MB / 0.5538 GB, free: 10.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/0.1825, allocations: 440.3 kB / 0.5542 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/0.183, allocations: 263.5 kB / 0.5544 GB, free: 9.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1831, allocations: 305.1 kB / 0.5547 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.1845, allocations: 0.7231 MB / 0.5554 GB, free: 8.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.1861, allocations: 1.139 MB / 0.5565 GB, free: 7.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008968/0.1951, allocations: 3.593 MB / 0.5601 GB, free: 3.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.1951, allocations: 4 kB / 0.5601 GB, free: 3.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004724/0.1998, allocations: 2.561 MB / 0.5626 GB, free: 1.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.1999, allocations: 37.7 kB / 0.5626 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.1999, allocations: 11.98 kB / 0.5626 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.2011, allocations: 0.504 MB / 0.5631 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.2022, allocations: 299.5 kB / 0.5634 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009185/0.2114, allocations: 8.798 MB / 0.572 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.213, allocations: 131.9 kB / 0.5721 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.2132, allocations: 59.92 kB / 0.5722 GB, free: 6.695 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.002484/0.2156, allocations: 1.297 MB / 0.5734 GB, free: 5.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00161/0.2173, allocations: 1.104 MB / 0.5745 GB, free: 4.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008606/0.2259, allocations: 3.534 MB / 0.578 GB, free: 436 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.53e-05/0.2259, allocations: 11.98 kB / 0.578 GB, free: 424 kB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00469/0.2306, allocations: 2.514 MB / 0.5804 GB, free: 13.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.2306, allocations: 37.7 kB / 0.5805 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.2306, allocations: 12 kB / 0.5805 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.2318, allocations: 0.5077 MB / 0.581 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.2329, allocations: 295.4 kB / 0.5813 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009148/0.2421, allocations: 8.803 MB / 0.5898 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.2438, allocations: 135.9 kB / 0.59 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.2439, allocations: 67.92 kB / 0.59 GB, free: 3.426 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.0005396/0.2444, allocations: 292.5 kB / 0.5903 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.2448, allocations: 147.1 kB / 0.5905 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.249, allocations: 2.207 MB / 0.5926 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.249, allocations: 12 kB / 0.5926 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.249, allocations: 4 kB / 0.5926 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.249, allocations: 15.97 kB / 0.5926 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1975/0.4465, allocations: 4.713 MB / 0.5972 GB, free: 88.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.4465, allocations: 4.531 kB / 0.5973 GB, free: 88.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.4473, allocations: 200.2 kB / 0.5974 GB, free: 88.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.4485, allocations: 0.5246 MB / 0.598 GB, free: 88.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.081e-05/0.4486, allocations: 33.31 kB / 0.598 GB, free: 88.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006206/0.4548, allocations: 8.625 MB / 0.6064 GB, free: 82.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4548, allocations: 6.5 kB / 0.6064 GB, free: 82.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/0.4592, allocations: 3.259 MB / 0.6096 GB, free: 80.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008088/0.46, allocations: 365 kB / 0.6099 GB, free: 80.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.4602, allocations: 37.5 kB / 0.61 GB, free: 80.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009381/0.4611, allocations: 106.3 kB / 0.6101 GB, free: 80.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.4614, allocations: 110.9 kB / 0.6102 GB, free: 80.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.4615, allocations: 42.45 kB / 0.6102 GB, free: 80.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001063/0.4626, allocations: 0.8209 MB / 0.611 GB, free: 80.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4626, allocations: 0.6562 kB / 0.611 GB, free: 80.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00246/0.465, allocations: 0.7861 MB / 0.6118 GB, free: 80.15 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.004444/0.4695, allocations: 3.903 MB / 0.6156 GB, free: 78.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007776/0.4773, allocations: 6.574 MB / 0.622 GB, free: 73.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4773, allocations: 0 / 0.622 GB, free: 73.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003327/0.4806, allocations: 2.794 MB / 0.6248 GB, free: 71.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.4823, allocations: 389.8 kB / 0.6251 GB, free: 71.07 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.0147/0.497, allocations: 12.56 MB / 0.6374 GB, free: 58.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.4981, allocations: 1.837 MB / 0.6392 GB, free: 56.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001036/0.4991, allocations: 425.4 kB / 0.6396 GB, free: 55.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000733/0.4998, allocations: 0.8586 MB / 0.6404 GB, free: 55.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4998, allocations: 0 / 0.6404 GB, free: 55.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0872/0.587, allocations: 49.57 MB / 0.6888 GB, free: 5.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/13.85, allocations: 11.97 kB / 0.6889 GB, free: 5.879 MB / 446.1 MB " [Timeout remaining time 646] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.910261319950223] Failed to read output from testmodel.py, exit status != 0: 13.963197888340801 13.986102713 13.85879146 Calling exit ...