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.04345/0.04345, allocations: 8.528 MB / 28.16 MB, free: 2.734 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.001758/0.001758, allocations: 105.4 kB / 33.39 MB, free: 1.211 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.001542/0.001542, allocations: 226.5 kB / 38.76 MB, free: 2.676 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.491/1.491, allocations: 230.6 MB / 274.6 MB, free: 2.84 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.01514/0.01514, allocations: 3.41 MB / 336.5 MB, free: 8.742 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.002852/0.002852, allocations: 100.9 kB / 465.7 MB, free: 50.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0786/0.08145, allocations: 56.31 MB / 0.5098 GB, free: 15.22 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.01139/0.09284, allocations: 8.713 MB / 0.5183 GB, free: 6.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005645/0.09848, allocations: 2.727 MB / 0.521 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.09958, allocations: 63.62 kB / 0.521 GB, free: 3.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.1008, allocations: 492.3 kB / 0.5215 GB, free: 3.184 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.1028, allocations: 0.7142 MB / 0.5222 GB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.1039, allocations: 0.5578 MB / 0.5228 GB, free: 1.906 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.003408/0.1074, allocations: 2.69 MB / 0.5254 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.1093, allocations: 1.344 MB / 0.5267 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.1116, allocations: 1.242 MB / 0.5279 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.1138, allocations: 1.483 MB / 0.5294 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004865/0.1143, allocations: 336 kB / 0.5297 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008791/0.1152, allocations: 443.8 kB / 0.5301 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.1162, allocations: 0.8765 MB / 0.531 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.1176, allocations: 1.159 MB / 0.5321 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.1225, allocations: 4.208 MB / 0.5362 GB, free: 4.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1225, allocations: 4 kB / 0.5362 GB, free: 4.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1225, allocations: 0 / 0.5362 GB, free: 4.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001368/0.1226, allocations: 3.984 kB / 0.5362 GB, free: 4.023 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.006857/0.1295, allocations: 2.925 MB / 0.5391 GB, free: 1.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1295, allocations: 8.031 kB / 0.5391 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.555e-05/0.1296, allocations: 60.86 kB / 0.5391 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004596/0.1301, allocations: 349.6 kB / 0.5395 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009048/0.131, allocations: 307.2 kB / 0.5398 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.1338, allocations: 1.433 MB / 0.5412 GB, free: 14.86 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.0003292/0.1342, allocations: 291.5 kB / 0.5414 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003814/0.1346, allocations: 228 kB / 0.5416 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005748/0.1403, allocations: 3.125 MB / 0.5447 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.528e-05/0.1404, allocations: 11.94 kB / 0.5447 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.1406, allocations: 99.98 kB / 0.5448 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.1407, allocations: 112.6 kB / 0.5449 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004611/0.1453, allocations: 2.376 MB / 0.5472 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01373/0.1591, allocations: 7.861 MB / 0.5549 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/0.1619, allocations: 1.362 MB / 0.5562 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.1637, allocations: 0.9012 MB / 0.5571 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.1639, allocations: 52.97 kB / 0.5572 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001496/0.1654, allocations: 0.8854 MB / 0.558 GB, free: 13.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.216e-06/0.1654, allocations: 0 / 0.558 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01548/0.1809, allocations: 6.477 MB / 0.5644 GB, free: 6.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.181, allocations: 248.3 kB / 0.5646 GB, free: 6.254 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.001827/0.1828, allocations: 1.187 MB / 0.5658 GB, free: 5.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.183, allocations: 49.7 kB / 0.5658 GB, free: 5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.184, allocations: 1.055 MB / 0.5668 GB, free: 3.934 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/0.1844, allocations: 444.2 kB / 0.5673 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000509/0.1849, allocations: 271.5 kB / 0.5675 GB, free: 3.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1851, allocations: 301.1 kB / 0.5678 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.1864, allocations: 0.7443 MB / 0.5685 GB, free: 2.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.1883, allocations: 1.307 MB / 0.5698 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009191/0.1974, allocations: 3.59 MB / 0.5733 GB, free: 12.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.1975, allocations: 4 kB / 0.5733 GB, free: 12.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004979/0.2024, allocations: 2.507 MB / 0.5758 GB, free: 10.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/0.2025, allocations: 41.69 kB / 0.5758 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/0.2025, allocations: 15.94 kB / 0.5758 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.2039, allocations: 0.4988 MB / 0.5763 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.2051, allocations: 311.5 kB / 0.5766 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009317/0.2144, allocations: 8.335 MB / 0.5847 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.216, allocations: 131.9 kB / 0.5849 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.2161, allocations: 63.98 kB / 0.5849 GB, free: 492 kB / 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.002449/0.2186, allocations: 1.316 MB / 0.5862 GB, free: 15.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001755/0.2203, allocations: 1.275 MB / 0.5875 GB, free: 13.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008871/0.2292, allocations: 3.52 MB / 0.5909 GB, free: 9.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-05/0.2292, allocations: 4 kB / 0.5909 GB, free: 9.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004727/0.2339, allocations: 2.468 MB / 0.5933 GB, free: 7.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.234, allocations: 38.02 kB / 0.5933 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.234, allocations: 15.94 kB / 0.5934 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.2353, allocations: 0.5039 MB / 0.5939 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.2365, allocations: 307.4 kB / 0.5941 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2307/0.4671, allocations: 8.319 MB / 0.6023 GB, free: 80.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.4687, allocations: 137.1 kB / 0.6024 GB, free: 80.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.4689, allocations: 60.83 kB / 0.6025 GB, free: 80.32 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.0004784/0.4694, allocations: 291 kB / 0.6027 GB, free: 80.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.4697, allocations: 156.3 kB / 0.6029 GB, free: 80.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/0.4737, allocations: 2.141 MB / 0.605 GB, free: 80.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.4737, allocations: 12.47 kB / 0.605 GB, free: 80.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.4737, allocations: 4.688 kB / 0.605 GB, free: 80.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.4738, allocations: 5.766 kB / 0.605 GB, free: 80.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007346/0.4811, allocations: 4.396 MB / 0.6093 GB, free: 78.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.4811, allocations: 3.969 kB / 0.6093 GB, free: 78.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009432/0.4821, allocations: 210.2 kB / 0.6095 GB, free: 78.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.4834, allocations: 0.5167 MB / 0.61 GB, free: 78.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.4836, allocations: 37.05 kB / 0.61 GB, free: 78.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006771/0.4903, allocations: 8.166 MB / 0.618 GB, free: 71.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4903, allocations: 3.688 kB / 0.618 GB, free: 71.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005403/0.4957, allocations: 3.209 MB / 0.6211 GB, free: 70.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007447/0.4965, allocations: 291.9 kB / 0.6214 GB, free: 70.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.4967, allocations: 34.14 kB / 0.6215 GB, free: 70.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009566/0.4977, allocations: 106.4 kB / 0.6216 GB, free: 70.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003196/0.498, allocations: 114 kB / 0.6217 GB, free: 70.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.4981, allocations: 47.41 kB / 0.6217 GB, free: 70.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.4993, allocations: 0.8013 MB / 0.6225 GB, free: 70.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4993, allocations: 0 / 0.6225 GB, free: 70.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00249/0.5017, allocations: 0.7963 MB / 0.6233 GB, free: 70.02 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.004849/0.5066, allocations: 3.837 MB / 0.627 GB, free: 68.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008122/0.5147, allocations: 6.433 MB / 0.6333 GB, free: 62.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.5147, allocations: 4 kB / 0.6333 GB, free: 62.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003411/0.5181, allocations: 2.693 MB / 0.6359 GB, free: 60.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.52, allocations: 409 kB / 0.6363 GB, free: 59.7 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.01698/0.537, allocations: 12.61 MB / 0.6486 GB, free: 46.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.538, allocations: 1.271 MB / 0.6499 GB, free: 45.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001215/0.5392, allocations: 424.1 kB / 0.6503 GB, free: 44.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008732/0.5401, allocations: 0.8742 MB / 0.6511 GB, free: 44.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5401, allocations: 0 / 0.6511 GB, free: 44.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09402/0.6341, allocations: 52.5 MB / 0.7024 GB, free: 8.062 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/15.68, allocations: 0 / 0.7024 GB, free: 8.062 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: 19.207806800026447] Failed to read output from testmodel.py, exit status != 0: 15.895271822926588 15.921777305 15.795228501 Calling exit ...