Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.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.04367/0.04367, allocations: 8.534 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.001649/0.001649, allocations: 121.6 kB / 33.41 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.002193/0.002193, allocations: 211.2 kB / 38.78 MB, free: 2.832 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.482/1.482, allocations: 230.6 MB / 274.6 MB, free: 3.031 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.01477/0.01477, allocations: 3.402 MB / 336.5 MB, free: 8.969 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.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",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.002758/0.002758, allocations: 101.5 kB / 465.8 MB, free: 50.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.09381, allocations: 56.32 MB / 0.5099 GB, free: 15.41 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:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) 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:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) 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.wFollowing): time 0.01487/0.1087, allocations: 9.955 MB / 0.5196 GB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006408/0.1151, allocations: 2.844 MB / 0.5224 GB, free: 2.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.1162, allocations: 63.62 kB / 0.5225 GB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.1175, allocations: 0.5197 MB / 0.523 GB, free: 1.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.1194, allocations: 0.7103 MB / 0.5237 GB, free: 1.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1206, allocations: 0.5617 MB / 0.5242 GB, free: 0.6914 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.003467/0.124, allocations: 2.69 MB / 0.5268 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001962/0.126, allocations: 1.344 MB / 0.5282 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.1279, allocations: 1.234 MB / 0.5294 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.1299, allocations: 1.491 MB / 0.5308 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005106/0.1304, allocations: 336 kB / 0.5311 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007961/0.1312, allocations: 439.8 kB / 0.5316 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008745/0.1321, allocations: 0.8804 MB / 0.5324 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.1336, allocations: 1.431 MB / 0.5338 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00466/0.1383, allocations: 4.192 MB / 0.5379 GB, free: 2.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1383, allocations: 0 / 0.5379 GB, free: 2.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1383, allocations: 0 / 0.5379 GB, free: 2.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.967e-05/0.1384, allocations: 0 / 0.5379 GB, free: 2.559 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: 608 * Number of variables: 608 Notification: Performance of Generate backend data structure: time 0.006471/0.1449, allocations: 2.921 MB / 0.5408 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.1449, allocations: 12.03 kB / 0.5408 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.632e-05/0.145, allocations: 64.86 kB / 0.5408 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004644/0.1454, allocations: 341.7 kB / 0.5412 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009458/0.1464, allocations: 307.2 kB / 0.5415 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003416/0.1498, allocations: 1.433 MB / 0.5429 GB, free: 13.39 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.0003373/0.1501, allocations: 299.5 kB / 0.5431 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005208/0.1507, allocations: 236 kB / 0.5434 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006163/0.1568, allocations: 2.97 MB / 0.5463 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.891e-05/0.1569, allocations: 3.953 kB / 0.5463 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.1571, allocations: 99.98 kB / 0.5464 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.1573, allocations: 112.6 kB / 0.5465 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004949/0.1622, allocations: 2.38 MB / 0.5488 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.1785, allocations: 8.559 MB / 0.5572 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.1814, allocations: 1.361 MB / 0.5585 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.1833, allocations: 0.9128 MB / 0.5594 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/0.1836, allocations: 44.97 kB / 0.5594 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/0.185, allocations: 0.789 MB / 0.5602 GB, free: 11.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.916e-06/0.185, allocations: 3.938 kB / 0.5602 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01573/0.2007, allocations: 6.48 MB / 0.5665 GB, free: 4.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.2009, allocations: 252.3 kB / 0.5668 GB, free: 4.387 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.001789/0.2027, allocations: 1.183 MB / 0.5679 GB, free: 3.191 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.2029, allocations: 49.7 kB / 0.568 GB, free: 3.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009798/0.2038, allocations: 1.051 MB / 0.569 GB, free: 2.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00044/0.2043, allocations: 448.2 kB / 0.5694 GB, free: 1.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004554/0.2047, allocations: 267.5 kB / 0.5697 GB, free: 1.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2049, allocations: 305.1 kB / 0.57 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.2062, allocations: 0.7153 MB / 0.5707 GB, free: 352 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.2079, allocations: 1.127 MB / 0.5718 GB, free: 15.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009329/0.2173, allocations: 3.578 MB / 0.5753 GB, free: 11.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.2173, allocations: 4.062 kB / 0.5753 GB, free: 11.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005051/0.2223, allocations: 2.493 MB / 0.5777 GB, free: 8.758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.2224, allocations: 33.7 kB / 0.5777 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.2224, allocations: 15.94 kB / 0.5777 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.2237, allocations: 0.5033 MB / 0.5782 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.2248, allocations: 311.5 kB / 0.5785 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.2349, allocations: 8.386 MB / 0.5867 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.2366, allocations: 127.8 kB / 0.5868 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/0.237, allocations: 60.05 kB / 0.5869 GB, free: 14.86 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.003103/0.2401, allocations: 1.281 MB / 0.5882 GB, free: 13.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001729/0.2418, allocations: 1.104 MB / 0.5892 GB, free: 12.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00895/0.2508, allocations: 3.516 MB / 0.5927 GB, free: 8.625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.186e-05/0.2508, allocations: 0 / 0.5927 GB, free: 8.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004771/0.2555, allocations: 2.446 MB / 0.5951 GB, free: 6.148 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.2556, allocations: 38 kB / 0.5951 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.2556, allocations: 19.94 kB / 0.5951 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.2568, allocations: 0.5071 MB / 0.5956 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.2579, allocations: 295.5 kB / 0.5959 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1935/0.4515, allocations: 8.374 MB / 0.6041 GB, free: 79.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.453, allocations: 132.4 kB / 0.6042 GB, free: 79.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4531, allocations: 62.7 kB / 0.6042 GB, free: 79.82 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.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (158): * Single equations (assignments): 151 * 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.0003779/0.4535, allocations: 299.4 kB / 0.6045 GB, free: 79.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.4537, allocations: 155.3 kB / 0.6047 GB, free: 79.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.4576, allocations: 2.136 MB / 0.6068 GB, free: 79.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.4576, allocations: 12.09 kB / 0.6068 GB, free: 79.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4576, allocations: 4.938 kB / 0.6068 GB, free: 79.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.4576, allocations: 6.578 kB / 0.6068 GB, free: 79.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007474/0.4651, allocations: 4.631 MB / 0.6113 GB, free: 77.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.4651, allocations: 7.688 kB / 0.6113 GB, free: 77.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008657/0.466, allocations: 207.2 kB / 0.6115 GB, free: 77.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.4673, allocations: 0.5257 MB / 0.612 GB, free: 77.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.4675, allocations: 43.62 kB / 0.6121 GB, free: 77.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006045/0.4735, allocations: 8.199 MB / 0.6201 GB, free: 70.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4735, allocations: 8.281 kB / 0.6201 GB, free: 70.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005023/0.4785, allocations: 3.206 MB / 0.6232 GB, free: 69.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/0.4792, allocations: 294.5 kB / 0.6235 GB, free: 69.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.4794, allocations: 31.78 kB / 0.6235 GB, free: 69.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009038/0.4803, allocations: 105.7 kB / 0.6236 GB, free: 69.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.4806, allocations: 115 kB / 0.6237 GB, free: 69.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/0.4806, allocations: 47.73 kB / 0.6238 GB, free: 69.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009174/0.4816, allocations: 0.8031 MB / 0.6246 GB, free: 69.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4816, allocations: 0 / 0.6246 GB, free: 69.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002249/0.4838, allocations: 0.7885 MB / 0.6253 GB, free: 69.06 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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 97 * 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.004823/0.4886, allocations: 3.843 MB / 0.6291 GB, free: 67.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008092/0.4967, allocations: 6.372 MB / 0.6353 GB, free: 62.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.4967, allocations: 4 kB / 0.6353 GB, free: 62.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003397/0.5001, allocations: 2.704 MB / 0.638 GB, free: 59.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.5024, allocations: 405.4 kB / 0.6383 GB, free: 59.28 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.01596/0.5184, allocations: 12.53 MB / 0.6506 GB, free: 46.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009927/0.5193, allocations: 1.845 MB / 0.6524 GB, free: 44.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00103/0.5204, allocations: 424.1 kB / 0.6528 GB, free: 44.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/0.5211, allocations: 0.8703 MB / 0.6536 GB, free: 43.15 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5211, allocations: 0 / 0.6536 GB, free: 43.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09151/0.6127, allocations: 50.71 MB / 0.7032 GB, free: 8.832 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.34, allocations: 14.52 kB / 0.7032 GB, free: 8.82 MB / 462.1 MB " [Timeout remaining time 644] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.826887092087418] Failed to read output from testmodel.py, exit status != 0: 15.542242594994605 15.56463512 15.421803525 Calling exit ...