Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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.04393/0.04393, allocations: 8.529 MB / 28.16 MB, free: 2.738 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.00131/0.00131, allocations: 116.3 kB / 33.39 MB, free: 1.25 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.001637/0.001637, allocations: 218.2 kB / 38.75 MB, free: 2.691 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.52/1.52, allocations: 230.6 MB / 274.6 MB, free: 2.855 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01506/0.01506, allocations: 3.405 MB / 336.5 MB, free: 8.73 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/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_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_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.00284/0.00284, allocations: 100.2 kB / 465.7 MB, free: 50.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.09028, allocations: 56.32 MB / 0.5098 GB, free: 15.2 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.0123/0.1026, allocations: 8.705 MB / 0.5183 GB, free: 6.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00625/0.1088, allocations: 2.719 MB / 0.521 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.1104, allocations: 67.56 kB / 0.521 GB, free: 3.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.1119, allocations: 492.3 kB / 0.5215 GB, free: 3.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.1141, allocations: 0.7142 MB / 0.5222 GB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1154, allocations: 0.5655 MB / 0.5227 GB, free: 1.898 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.003516/0.1189, allocations: 2.688 MB / 0.5254 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.1212, allocations: 1.352 MB / 0.5267 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.1237, allocations: 1.242 MB / 0.5279 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.1262, allocations: 1.479 MB / 0.5293 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008437/0.127, allocations: 340 kB / 0.5297 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.1281, allocations: 439.9 kB / 0.5301 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009965/0.1291, allocations: 0.8765 MB / 0.5309 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.1308, allocations: 1.159 MB / 0.5321 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005045/0.1358, allocations: 4.216 MB / 0.5362 GB, free: 4.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1358, allocations: 4 kB / 0.5362 GB, free: 4.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1358, allocations: 0 / 0.5362 GB, free: 4.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.221e-05/0.1359, allocations: 0 / 0.5362 GB, free: 4.012 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.006394/0.1423, allocations: 2.925 MB / 0.5391 GB, free: 1.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1424, allocations: 8.031 kB / 0.5391 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.906e-05/0.1424, allocations: 60.86 kB / 0.5391 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004449/0.1429, allocations: 341.7 kB / 0.5394 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.1437, allocations: 311.2 kB / 0.5397 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.1469, allocations: 1.433 MB / 0.5411 GB, free: 14.85 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.0003532/0.1472, allocations: 295.5 kB / 0.5414 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004593/0.1477, allocations: 232 kB / 0.5416 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005911/0.1536, allocations: 3.129 MB / 0.5447 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.496e-05/0.1536, allocations: 7.953 kB / 0.5447 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.1539, allocations: 96 kB / 0.5448 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.154, allocations: 112.6 kB / 0.5449 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004556/0.1586, allocations: 2.376 MB / 0.5472 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01626/0.1748, allocations: 7.857 MB / 0.5549 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.1777, allocations: 1.358 MB / 0.5562 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.1796, allocations: 0.905 MB / 0.5571 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.1798, allocations: 52.95 kB / 0.5572 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/0.1812, allocations: 0.8893 MB / 0.558 GB, free: 13.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.296e-06/0.1813, allocations: 0 / 0.558 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01574/0.197, allocations: 6.481 MB / 0.5644 GB, free: 6.527 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/0.1972, allocations: 248.3 kB / 0.5646 GB, free: 6.23 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.00183/0.199, allocations: 1.187 MB / 0.5658 GB, free: 5.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.1992, allocations: 49.7 kB / 0.5658 GB, free: 4.977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009799/0.2001, allocations: 1.051 MB / 0.5668 GB, free: 3.914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/0.2005, allocations: 444.2 kB / 0.5673 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/0.201, allocations: 271.5 kB / 0.5675 GB, free: 3.203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2011, allocations: 301.1 kB / 0.5678 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.2025, allocations: 0.7443 MB / 0.5685 GB, free: 2.152 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.2043, allocations: 1.303 MB / 0.5698 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009316/0.2136, allocations: 3.586 MB / 0.5733 GB, free: 12.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.2136, allocations: 4 kB / 0.5733 GB, free: 12.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005082/0.2187, allocations: 2.511 MB / 0.5758 GB, free: 10.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/0.2187, allocations: 41.69 kB / 0.5758 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.2188, allocations: 15.94 kB / 0.5758 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.22, allocations: 0.4885 MB / 0.5763 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.2212, allocations: 319.5 kB / 0.5766 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009207/0.2304, allocations: 8.335 MB / 0.5847 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.2321, allocations: 131.9 kB / 0.5849 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.2323, allocations: 67.97 kB / 0.5849 GB, free: 472 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.002583/0.2349, allocations: 1.302 MB / 0.5862 GB, free: 15.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001747/0.2366, allocations: 1.283 MB / 0.5874 GB, free: 13.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008984/0.2456, allocations: 3.52 MB / 0.5909 GB, free: 9.973 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.251e-05/0.2456, allocations: 4 kB / 0.5909 GB, free: 9.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004774/0.2504, allocations: 2.468 MB / 0.5933 GB, free: 7.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.2505, allocations: 37.7 kB / 0.5933 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.2505, allocations: 20 kB / 0.5934 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.2518, allocations: 0.4998 MB / 0.5938 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.2529, allocations: 299.5 kB / 0.5941 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1957/0.4486, allocations: 8.321 MB / 0.6023 GB, free: 80.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.4502, allocations: 138.9 kB / 0.6024 GB, free: 80.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.4504, allocations: 63.25 kB / 0.6024 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.0003877/0.4507, allocations: 305.8 kB / 0.6027 GB, free: 80.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.451, allocations: 154.8 kB / 0.6029 GB, free: 80.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/0.4548, allocations: 2.136 MB / 0.605 GB, free: 80.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.4548, allocations: 12.38 kB / 0.605 GB, free: 80.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4548, allocations: 4.125 kB / 0.605 GB, free: 80.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.4548, allocations: 7.891 kB / 0.605 GB, free: 80.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006947/0.4617, allocations: 4.396 MB / 0.6093 GB, free: 78.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4617, allocations: 8.594 kB / 0.6093 GB, free: 78.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008854/0.4626, allocations: 206.3 kB / 0.6095 GB, free: 78.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.4639, allocations: 0.5142 MB / 0.61 GB, free: 78.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.464, allocations: 34.77 kB / 0.61 GB, free: 78.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006039/0.47, allocations: 8.17 MB / 0.618 GB, free: 71.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.47, allocations: 4.281 kB / 0.618 GB, free: 71.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004612/0.4747, allocations: 3.21 MB / 0.6211 GB, free: 70.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006298/0.4753, allocations: 297 kB / 0.6214 GB, free: 70.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.4755, allocations: 28.97 kB / 0.6215 GB, free: 70.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009472/0.4764, allocations: 108.2 kB / 0.6216 GB, free: 70.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.4767, allocations: 120 kB / 0.6217 GB, free: 70.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.4768, allocations: 39.12 kB / 0.6217 GB, free: 70.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009257/0.4777, allocations: 0.8087 MB / 0.6225 GB, free: 70.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4777, allocations: 0 / 0.6225 GB, free: 70.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002209/0.48, allocations: 0.793 MB / 0.6233 GB, free: 70.04 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.004428/0.4844, allocations: 3.826 MB / 0.627 GB, free: 68.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007486/0.4919, allocations: 6.437 MB / 0.6333 GB, free: 62.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.4919, allocations: 4 kB / 0.6333 GB, free: 62.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003207/0.4951, allocations: 2.701 MB / 0.6359 GB, free: 60.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.4968, allocations: 394.6 kB / 0.6363 GB, free: 59.72 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.01539/0.5122, allocations: 12.61 MB / 0.6486 GB, free: 46.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.5132, allocations: 1.271 MB / 0.6499 GB, free: 45.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001069/0.5143, allocations: 432 kB / 0.6503 GB, free: 44.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008569/0.5151, allocations: 0.8703 MB / 0.6511 GB, free: 44.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5151, allocations: 0 / 0.6511 GB, free: 44.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09225/0.6074, allocations: 52.49 MB / 0.7024 GB, free: 8.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.28, allocations: 11.02 kB / 0.7024 GB, free: 8.062 MB / 462.1 MB " [Timeout remaining time 645] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.817622033995576] Failed to read output from testmodel.py, exit status != 0: 15.490326596074738 15.518946612 15.378087095 Calling exit ...