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.05936/0.05936, allocations: 8.537 MB / 24.89 MB, free: 4.668 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.001288/0.001288, allocations: 106.6 kB / 29.79 MB, free: 108 kB / 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.001593/0.001593, allocations: 208.6 kB / 34.82 MB, free: 1.629 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.49/1.49, allocations: 230.6 MB / 270.3 MB, free: 3.832 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.0144/0.0144, allocations: 3.414 MB / 331.8 MB, free: 9.996 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",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.00278/0.00278, allocations: 100.8 kB / 459.3 MB, free: 50.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09984/0.1026, allocations: 56.28 MB / 0.5035 GB, free: 0.8477 MB / 350.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.01266/0.1153, allocations: 9.9 MB / 0.5132 GB, free: 6.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006766/0.122, allocations: 2.844 MB / 0.516 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.124, allocations: 63.62 kB / 0.516 GB, free: 3.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.1257, allocations: 0.508 MB / 0.5165 GB, free: 3.473 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.1283, allocations: 0.7103 MB / 0.5172 GB, free: 2.758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.1296, allocations: 0.5539 MB / 0.5178 GB, free: 2.203 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.003814/0.1335, allocations: 2.686 MB / 0.5204 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.1358, allocations: 1.68 MB / 0.522 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.1379, allocations: 1.231 MB / 0.5232 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.1402, allocations: 1.483 MB / 0.5247 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005015/0.1407, allocations: 340 kB / 0.525 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008907/0.1416, allocations: 443.8 kB / 0.5254 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008921/0.1425, allocations: 0.8726 MB / 0.5263 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.1442, allocations: 1.431 MB / 0.5277 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00541/0.1497, allocations: 4.184 MB / 0.5318 GB, free: 3.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1497, allocations: 4 kB / 0.5318 GB, free: 3.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1497, allocations: 0 / 0.5318 GB, free: 3.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001077/0.1498, allocations: 3.938 kB / 0.5318 GB, free: 3.746 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.007042/0.1568, allocations: 3 MB / 0.5347 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1569, allocations: 8.031 kB / 0.5347 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004911/0.1574, allocations: 341.7 kB / 0.535 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009072/0.1583, allocations: 311.2 kB / 0.5353 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.1613, allocations: 1.513 MB / 0.5368 GB, free: 14.46 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.0002915/0.1616, allocations: 242.3 kB / 0.537 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.162, allocations: 235.9 kB / 0.5373 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00544/0.1674, allocations: 2.974 MB / 0.5402 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.745e-05/0.1675, allocations: 4 kB / 0.5402 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.1677, allocations: 99.98 kB / 0.5403 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.1678, allocations: 108.6 kB / 0.5404 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004665/0.1725, allocations: 2.376 MB / 0.5427 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.1871, allocations: 8.729 MB / 0.5512 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.19, allocations: 1.588 MB / 0.5528 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.1919, allocations: 0.9087 MB / 0.5536 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.1922, allocations: 130.1 kB / 0.5538 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/0.1936, allocations: 0.7851 MB / 0.5545 GB, free: 11.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.685e-06/0.1936, allocations: 0 / 0.5545 GB, free: 11.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01625/0.2099, allocations: 6.929 MB / 0.5613 GB, free: 4.723 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001803/0.21, allocations: 252.3 kB / 0.5615 GB, free: 4.422 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.002046/0.2121, allocations: 1.183 MB / 0.5627 GB, free: 3.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.2123, allocations: 49.7 kB / 0.5628 GB, free: 3.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.2134, allocations: 1.051 MB / 0.5638 GB, free: 2.109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004887/0.2139, allocations: 448.2 kB / 0.5642 GB, free: 1.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004748/0.2144, allocations: 267.5 kB / 0.5645 GB, free: 1.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2145, allocations: 301.1 kB / 0.5647 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.2159, allocations: 0.7153 MB / 0.5654 GB, free: 392 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.2177, allocations: 1.131 MB / 0.5665 GB, free: 15.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008985/0.2267, allocations: 3.575 MB / 0.57 GB, free: 11.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.2267, allocations: 4 kB / 0.57 GB, free: 11.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004957/0.2316, allocations: 2.561 MB / 0.5725 GB, free: 8.719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.2317, allocations: 37.7 kB / 0.5726 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.2317, allocations: 12.31 kB / 0.5726 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.233, allocations: 0.5114 MB / 0.5731 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.2342, allocations: 311.5 kB / 0.5734 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009321/0.2435, allocations: 8.804 MB / 0.582 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.2452, allocations: 131.9 kB / 0.5821 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.2453, allocations: 63.98 kB / 0.5822 GB, free: 14.29 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.002463/0.2478, allocations: 1.292 MB / 0.5834 GB, free: 13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001608/0.2494, allocations: 1.1 MB / 0.5845 GB, free: 11.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00864/0.258, allocations: 3.512 MB / 0.5879 GB, free: 8.043 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.399e-05/0.2581, allocations: 4 kB / 0.5879 GB, free: 8.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004657/0.2627, allocations: 2.514 MB / 0.5904 GB, free: 5.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.2628, allocations: 45.62 kB / 0.5904 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.2628, allocations: 8 kB / 0.5904 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.264, allocations: 0.5035 MB / 0.5909 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.2651, allocations: 299.5 kB / 0.5912 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2563/0.5213, allocations: 8.79 MB / 0.5998 GB, free: 79.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.5229, allocations: 136.8 kB / 0.5999 GB, free: 79.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.5231, allocations: 61.28 kB / 0.6 GB, free: 79.28 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.0003734/0.5234, allocations: 294.9 kB / 0.6003 GB, free: 79.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.5237, allocations: 154.7 kB / 0.6004 GB, free: 79.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.5277, allocations: 2.218 MB / 0.6026 GB, free: 78.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.5277, allocations: 13.56 kB / 0.6026 GB, free: 78.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.5277, allocations: 5.281 kB / 0.6026 GB, free: 78.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.5277, allocations: 5.859 kB / 0.6026 GB, free: 78.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008627/0.5363, allocations: 4.734 MB / 0.6072 GB, free: 76.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.5364, allocations: 4.344 kB / 0.6072 GB, free: 76.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009448/0.5373, allocations: 208.2 kB / 0.6074 GB, free: 76.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.5387, allocations: 0.5127 MB / 0.6079 GB, free: 76.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.911e-05/0.5388, allocations: 40.48 kB / 0.608 GB, free: 76.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006213/0.545, allocations: 8.627 MB / 0.6164 GB, free: 69.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.545, allocations: 3.719 kB / 0.6164 GB, free: 69.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005415/0.5504, allocations: 3.278 MB / 0.6196 GB, free: 68.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007728/0.5512, allocations: 372.4 kB / 0.62 GB, free: 67.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.5514, allocations: 34.56 kB / 0.62 GB, free: 67.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009457/0.5523, allocations: 105.9 kB / 0.6201 GB, free: 67.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/0.5526, allocations: 117.1 kB / 0.6202 GB, free: 67.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-05/0.5526, allocations: 39.48 kB / 0.6202 GB, free: 67.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00104/0.5537, allocations: 0.7981 MB / 0.621 GB, free: 67.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5537, allocations: 0 / 0.621 GB, free: 67.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002752/0.5564, allocations: 0.7961 MB / 0.6218 GB, free: 67.42 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.004817/0.5613, allocations: 3.904 MB / 0.6256 GB, free: 65.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008039/0.5693, allocations: 6.537 MB / 0.632 GB, free: 59.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.5693, allocations: 4 kB / 0.632 GB, free: 59.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003575/0.5729, allocations: 2.772 MB / 0.6347 GB, free: 56.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.5749, allocations: 398 kB / 0.6351 GB, free: 56.51 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.01617/0.591, allocations: 12.57 MB / 0.6474 GB, free: 43.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.5921, allocations: 1.845 MB / 0.6492 GB, free: 41.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001117/0.5932, allocations: 420.1 kB / 0.6496 GB, free: 41.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008335/0.594, allocations: 0.8742 MB / 0.6504 GB, free: 40.33 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.594, allocations: 0 / 0.6504 GB, free: 40.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09686/0.6909, allocations: 49.12 MB / 0.6984 GB, free: 7.605 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.66, allocations: 2.812 kB / 0.6984 GB, free: 7.605 MB / 462.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTexamples_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.771995436996804] Failed to read output from testmodel.py, exit status != 0: 13.77008861801005 13.794188948 13.639879442 Calling exit ...