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.06138/0.06138, allocations: 8.539 MB / 28.16 MB, free: 2.824 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.001334/0.001334, allocations: 114.2 kB / 33.4 MB, free: 1.387 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.001552/0.001552, allocations: 211.2 kB / 38.78 MB, free: 2.836 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.525/1.525, 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 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.017/0.017, allocations: 3.405 MB / 336.5 MB, free: 8.941 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.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_EHPTexamples_ElectricDrives_tqFollowing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_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.002745/0.002745, allocations: 91.36 kB / 465.8 MB, free: 50.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.09028, allocations: 56.33 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.01242/0.1027, allocations: 9.85 MB / 0.5195 GB, free: 5.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005614/0.1083, allocations: 2.758 MB / 0.5222 GB, free: 2.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.1096, allocations: 63.62 kB / 0.5223 GB, free: 2.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.1109, allocations: 0.5159 MB / 0.5228 GB, free: 2.125 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.1128, allocations: 0.7064 MB / 0.5235 GB, free: 1.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.114, allocations: 0.5486 MB / 0.524 GB, free: 0.8672 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.003941/0.118, allocations: 2.678 MB / 0.5266 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.12, allocations: 1.336 MB / 0.5279 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.1217, allocations: 1.227 MB / 0.5291 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.1237, allocations: 1.479 MB / 0.5306 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004695/0.1242, allocations: 332 kB / 0.5309 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008/0.125, allocations: 439.8 kB / 0.5313 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008982/0.1259, allocations: 0.8727 MB / 0.5322 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.1276, allocations: 1.423 MB / 0.5336 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004901/0.1325, allocations: 4.169 MB / 0.5376 GB, free: 2.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1325, allocations: 0 / 0.5376 GB, free: 2.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1325, allocations: 0 / 0.5376 GB, free: 2.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001082/0.1326, allocations: 0 / 0.5376 GB, free: 2.816 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.007338/0.14, allocations: 2.901 MB / 0.5405 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.14, allocations: 12.03 kB / 0.5405 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.908e-05/0.1401, allocations: 64.73 kB / 0.5405 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004323/0.1405, allocations: 337.5 kB / 0.5409 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008743/0.1414, allocations: 299.2 kB / 0.5411 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003032/0.1444, allocations: 1.426 MB / 0.5425 GB, free: 13.69 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.0003204/0.1447, allocations: 287.4 kB / 0.5428 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.1451, allocations: 239.9 kB / 0.543 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005361/0.1505, allocations: 2.958 MB / 0.5459 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-05/0.1505, allocations: 7.938 kB / 0.5459 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/0.1508, allocations: 95.98 kB / 0.546 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.1509, allocations: 104.5 kB / 0.5461 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/0.1554, allocations: 2.36 MB / 0.5484 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.1705, allocations: 8.515 MB / 0.5567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.1733, allocations: 1.329 MB / 0.558 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.1751, allocations: 0.8969 MB / 0.5589 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.1753, allocations: 48.95 kB / 0.559 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.1767, allocations: 0.7889 MB / 0.5597 GB, free: 11.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 2.354e-06/0.1767, allocations: 0 / 0.5597 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01588/0.1926, allocations: 6.45 MB / 0.566 GB, free: 5.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.1928, allocations: 252.3 kB / 0.5663 GB, free: 4.848 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.002084/0.1949, allocations: 1.179 MB / 0.5674 GB, free: 3.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.195, allocations: 45.7 kB / 0.5675 GB, free: 3.605 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.1961, allocations: 1.047 MB / 0.5685 GB, free: 2.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005114/0.1966, allocations: 432.3 kB / 0.5689 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005291/0.1972, allocations: 263.5 kB / 0.5692 GB, free: 1.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1973, allocations: 313.1 kB / 0.5695 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.1987, allocations: 0.7074 MB / 0.5701 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.2004, allocations: 1.127 MB / 0.5712 GB, free: 15.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008576/0.209, allocations: 3.55 MB / 0.5747 GB, free: 11.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.209, 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.004905/0.2139, allocations: 2.47 MB / 0.5771 GB, free: 9.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/0.214, allocations: 37.7 kB / 0.5772 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.214, allocations: 8 kB / 0.5772 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.2153, allocations: 0.5079 MB / 0.5777 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.2164, allocations: 303.4 kB / 0.578 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009002/0.2254, allocations: 8.388 MB / 0.5862 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.227, allocations: 139.7 kB / 0.5863 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.2271, allocations: 63.98 kB / 0.5863 GB, free: 15.4 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.002354/0.2295, allocations: 1.265 MB / 0.5876 GB, free: 14.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001574/0.2311, allocations: 1.095 MB / 0.5887 GB, free: 12.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008431/0.2395, allocations: 3.492 MB / 0.5921 GB, free: 9.211 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.634e-06/0.2395, allocations: 0 / 0.5921 GB, free: 9.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004707/0.2442, allocations: 2.427 MB / 0.5944 GB, free: 6.754 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.2442, allocations: 41.7 kB / 0.5945 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.2443, allocations: 12 kB / 0.5945 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.2455, allocations: 0.4995 MB / 0.595 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.2466, allocations: 295.5 kB / 0.5953 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2448/0.4914, allocations: 8.391 MB / 0.6034 GB, free: 79.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.4931, allocations: 136.1 kB / 0.6036 GB, free: 79.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.4932, allocations: 59.67 kB / 0.6036 GB, free: 79.25 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.0004505/0.4937, allocations: 290.8 kB / 0.6039 GB, free: 79.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.494, allocations: 149 kB / 0.6041 GB, free: 79.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004164/0.4981, allocations: 2.124 MB / 0.6061 GB, free: 78.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.4982, allocations: 15.25 kB / 0.6061 GB, free: 78.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.4982, allocations: 5.812 kB / 0.6061 GB, free: 78.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.4982, allocations: 7.047 kB / 0.6062 GB, free: 78.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009201/0.5074, allocations: 4.598 MB / 0.6106 GB, free: 77.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.5074, allocations: 3.281 kB / 0.6106 GB, free: 77.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009451/0.5083, allocations: 198.6 kB / 0.6108 GB, free: 77.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.5097, allocations: 0.5202 MB / 0.6113 GB, free: 76.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.5099, allocations: 49.06 kB / 0.6114 GB, free: 76.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007163/0.517, allocations: 8.203 MB / 0.6194 GB, free: 70.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.517, allocations: 12.09 kB / 0.6194 GB, free: 70.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005895/0.5229, allocations: 3.162 MB / 0.6225 GB, free: 69.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.524, allocations: 292.6 kB / 0.6228 GB, free: 69.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004445/0.5244, allocations: 37.66 kB / 0.6228 GB, free: 69.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.5256, allocations: 104.3 kB / 0.6229 GB, free: 69.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/0.5259, allocations: 119.6 kB / 0.623 GB, free: 69.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.643e-05/0.5259, allocations: 44.45 kB / 0.6231 GB, free: 69.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001242/0.5272, allocations: 0.7988 MB / 0.6239 GB, free: 68.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5272, allocations: 0 / 0.6239 GB, free: 68.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003132/0.5303, allocations: 0.7898 MB / 0.6246 GB, free: 68.64 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.005387/0.5357, allocations: 3.806 MB / 0.6283 GB, free: 66.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008559/0.5443, allocations: 6.353 MB / 0.6345 GB, free: 62.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.5443, allocations: 8.156 kB / 0.6346 GB, free: 62.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003665/0.5479, allocations: 2.686 MB / 0.6372 GB, free: 59.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.5505, allocations: 395.4 kB / 0.6376 GB, free: 59.23 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.02238/0.5729, allocations: 12.44 MB / 0.6497 GB, free: 46.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/0.5746, allocations: 1.845 MB / 0.6515 GB, free: 44.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00129/0.5759, allocations: 425.4 kB / 0.6519 GB, free: 44.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009717/0.5769, allocations: 0.8586 MB / 0.6527 GB, free: 43.2 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5769, allocations: 0 / 0.6527 GB, free: 43.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/0.6988, allocations: 50.51 MB / 0.7021 GB, free: 9.109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.41, allocations: 7.938 kB / 0.7021 GB, free: 9.102 MB / 462.1 MB " [Timeout remaining time 644] (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: 18.930013510980643] Failed to read output from testmodel.py, exit status != 0: 15.599128601024859 15.618269637 15.482180395 Calling exit ...