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.08577/0.08577, allocations: 8.528 MB / 28.16 MB, free: 2.75 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.001248/0.001248, allocations: 115.5 kB / 33.39 MB, free: 1.238 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.001644/0.001644, allocations: 218.5 kB / 38.76 MB, free: 2.695 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.506/1.506, allocations: 230.6 MB / 274.6 MB, free: 2.867 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.03019/0.03019, allocations: 3.408 MB / 336.5 MB, free: 8.762 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.002853/0.002853, allocations: 103.7 kB / 465.7 MB, free: 50.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/0.09216, allocations: 56.32 MB / 0.5098 GB, free: 15.23 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.01179/0.104, allocations: 8.622 MB / 0.5182 GB, free: 6.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005539/0.1095, allocations: 2.63 MB / 0.5208 GB, free: 3.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009797/0.1105, allocations: 67.56 kB / 0.5209 GB, free: 3.863 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.1117, allocations: 496.3 kB / 0.5213 GB, free: 3.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.1136, allocations: 0.722 MB / 0.522 GB, free: 2.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1148, allocations: 0.5498 MB / 0.5226 GB, free: 2.102 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.003442/0.1182, allocations: 2.674 MB / 0.5252 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.1201, allocations: 1.34 MB / 0.5265 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.1219, allocations: 1.234 MB / 0.5277 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.124, allocations: 1.467 MB / 0.5291 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004877/0.1245, allocations: 332 kB / 0.5294 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007944/0.1253, allocations: 439.8 kB / 0.5299 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009145/0.1262, allocations: 0.8726 MB / 0.5307 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.1276, allocations: 1.151 MB / 0.5318 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.1322, allocations: 4.188 MB / 0.5359 GB, free: 4.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1322, allocations: 0 / 0.5359 GB, free: 4.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1322, allocations: 4 kB / 0.5359 GB, free: 4.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00013/0.1324, allocations: 0 / 0.5359 GB, free: 4.305 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.007122/0.1395, allocations: 2.905 MB / 0.5388 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.1395, allocations: 8.031 kB / 0.5388 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.212e-05/0.1396, allocations: 60.8 kB / 0.5388 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004666/0.1401, allocations: 337.5 kB / 0.5392 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009233/0.141, allocations: 303.2 kB / 0.5395 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/0.1439, allocations: 1.429 MB / 0.5408 GB, free: 15.18 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.0003356/0.1443, allocations: 287.4 kB / 0.5411 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003776/0.1447, allocations: 235.9 kB / 0.5413 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0056/0.1503, allocations: 3.112 MB / 0.5444 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.206e-05/0.1503, allocations: 4 kB / 0.5444 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.1506, allocations: 92 kB / 0.5445 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.1507, allocations: 108.5 kB / 0.5446 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004595/0.1553, allocations: 2.36 MB / 0.5469 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/0.1692, allocations: 7.798 MB / 0.5545 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.1719, allocations: 1.337 MB / 0.5558 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.1737, allocations: 0.9007 MB / 0.5567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.1739, allocations: 48.97 kB / 0.5567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.1754, allocations: 0.8854 MB / 0.5576 GB, free: 13.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 2.996e-06/0.1755, allocations: 0 / 0.5576 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01581/0.1913, allocations: 6.442 MB / 0.5639 GB, free: 7.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/0.1914, allocations: 252.3 kB / 0.5641 GB, free: 6.738 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.001755/0.1932, allocations: 1.179 MB / 0.5653 GB, free: 5.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.1933, allocations: 49.69 kB / 0.5653 GB, free: 5.492 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009593/0.1943, allocations: 1.043 MB / 0.5663 GB, free: 4.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.1947, allocations: 440.3 kB / 0.5668 GB, free: 4.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000461/0.1951, allocations: 263.5 kB / 0.567 GB, free: 3.738 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1953, allocations: 313 kB / 0.5673 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.1966, allocations: 0.7325 MB / 0.568 GB, free: 2.688 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.1984, allocations: 1.302 MB / 0.5693 GB, free: 1.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008801/0.2072, allocations: 3.55 MB / 0.5728 GB, free: 13.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.2073, allocations: 4 kB / 0.5728 GB, free: 13.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004677/0.2119, allocations: 2.503 MB / 0.5752 GB, free: 10.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.212, allocations: 37.7 kB / 0.5753 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.212, allocations: 12 kB / 0.5753 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.2132, allocations: 0.5001 MB / 0.5758 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.2144, allocations: 307.4 kB / 0.576 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008942/0.2233, allocations: 8.346 MB / 0.5842 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.2248, allocations: 139.8 kB / 0.5843 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.2249, allocations: 59.98 kB / 0.5844 GB, free: 1.047 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.002359/0.2273, allocations: 1.299 MB / 0.5857 GB, free: 15.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001681/0.2289, allocations: 1.275 MB / 0.5869 GB, free: 14.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008887/0.2378, allocations: 3.488 MB / 0.5903 GB, free: 10.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.457e-05/0.2378, allocations: 4 kB / 0.5903 GB, free: 10.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004804/0.2426, allocations: 2.452 MB / 0.5927 GB, free: 8.102 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.2427, allocations: 38.02 kB / 0.5927 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.2427, allocations: 12 kB / 0.5928 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.2439, allocations: 0.5 MB / 0.5932 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.245, allocations: 295.5 kB / 0.5935 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2078/0.4528, allocations: 8.33 MB / 0.6017 GB, free: 80.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.4544, allocations: 135.6 kB / 0.6018 GB, free: 80.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.4545, allocations: 61.84 kB / 0.6018 GB, free: 80.3 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.0003777/0.4549, allocations: 303.2 kB / 0.6021 GB, free: 80.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.4551, allocations: 148.4 kB / 0.6023 GB, free: 80.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.4588, allocations: 2.131 MB / 0.6044 GB, free: 80.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.4588, allocations: 12.78 kB / 0.6044 GB, free: 80.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4588, allocations: 4.594 kB / 0.6044 GB, free: 80.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4588, allocations: 10.52 kB / 0.6044 GB, free: 80.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007007/0.4658, allocations: 4.364 MB / 0.6086 GB, free: 78.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.4658, allocations: 3.469 kB / 0.6086 GB, free: 78.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/0.4667, allocations: 205.4 kB / 0.6088 GB, free: 78.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.468, allocations: 0.5122 MB / 0.6093 GB, free: 78.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.855e-05/0.4681, allocations: 34.31 kB / 0.6094 GB, free: 78.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006632/0.4747, allocations: 8.164 MB / 0.6174 GB, free: 72.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.4747, allocations: 4.312 kB / 0.6174 GB, free: 72.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005129/0.4799, allocations: 3.171 MB / 0.6205 GB, free: 70.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000978/0.4808, allocations: 290.7 kB / 0.6207 GB, free: 70.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.4811, allocations: 33.5 kB / 0.6208 GB, free: 70.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.4821, allocations: 105.8 kB / 0.6209 GB, free: 70.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/0.4824, allocations: 117.4 kB / 0.621 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.349e-05/0.4825, allocations: 38.48 kB / 0.621 GB, free: 70.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.4838, allocations: 0.8074 MB / 0.6218 GB, free: 70.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4838, allocations: 2.078 kB / 0.6218 GB, free: 70.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00259/0.4863, allocations: 0.7855 MB / 0.6226 GB, free: 70.24 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.004852/0.4912, allocations: 3.806 MB / 0.6263 GB, free: 68.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007909/0.4991, allocations: 6.417 MB / 0.6326 GB, free: 63.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.4991, allocations: 0 / 0.6326 GB, free: 63.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003319/0.5024, allocations: 2.692 MB / 0.6352 GB, free: 60.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.5043, allocations: 399.1 kB / 0.6356 GB, free: 60.29 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.5196, allocations: 12.51 MB / 0.6478 GB, free: 47.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.5207, allocations: 1.278 MB / 0.649 GB, free: 46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001107/0.5218, allocations: 423.9 kB / 0.6494 GB, free: 45.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008251/0.5226, allocations: 0.8625 MB / 0.6503 GB, free: 44.72 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5226, allocations: 0 / 0.6503 GB, free: 44.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.139/0.6616, allocations: 52.29 MB / 0.7013 GB, free: 8.953 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15/15.66, allocations: 11.02 kB / 0.7014 GB, free: 8.949 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: 19.224960897001438] Failed to read output from testmodel.py, exit status != 0: 15.856713165994734 15.873687054 15.737931658 Calling exit ...