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.04625/0.04625, allocations: 8.545 MB / 27.37 MB, free: 2.906 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.001554/0.001554, allocations: 106.4 kB / 32.62 MB, free: 1.598 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.001577/0.001577, allocations: 211.2 kB / 38 MB, free: 3.031 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.467/1.467, allocations: 230.6 MB / 273.8 MB, free: 2.996 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.01487/0.01487, allocations: 3.41 MB / 335.7 MB, free: 10.81 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_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.002872/0.002872, allocations: 97.33 kB / 465 MB, free: 49.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1164, allocations: 56.33 MB / 0.5091 GB, free: 15.59 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.01314/0.1296, allocations: 9.954 MB / 0.5189 GB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006167/0.1357, allocations: 2.84 MB / 0.5216 GB, free: 2.734 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.1371, allocations: 71.56 kB / 0.5217 GB, free: 2.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.1384, allocations: 0.5119 MB / 0.5222 GB, free: 2.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.1403, allocations: 0.7103 MB / 0.5229 GB, free: 1.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1415, allocations: 0.5577 MB / 0.5234 GB, free: 0.875 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.003208/0.1447, allocations: 2.694 MB / 0.5261 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.1466, allocations: 1.344 MB / 0.5274 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1483, allocations: 1.234 MB / 0.5286 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.1505, allocations: 1.487 MB / 0.53 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004424/0.1509, allocations: 336 kB / 0.5304 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00073/0.1516, allocations: 443.8 kB / 0.5308 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008562/0.1525, allocations: 0.8805 MB / 0.5317 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.154, allocations: 1.435 MB / 0.5331 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004646/0.1586, allocations: 4.184 MB / 0.5371 GB, free: 2.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1586, allocations: 0 / 0.5371 GB, free: 2.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1586, allocations: 0 / 0.5371 GB, free: 2.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.04e-05/0.1587, allocations: 0 / 0.5371 GB, free: 2.742 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.00617/0.1649, allocations: 2.923 MB / 0.54 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1649, allocations: 12.03 kB / 0.54 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004508/0.1654, allocations: 337.7 kB / 0.5403 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008689/0.1662, allocations: 315.2 kB / 0.5406 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.1692, allocations: 1.432 MB / 0.542 GB, free: 13.64 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.0003377/0.1696, allocations: 295.5 kB / 0.5423 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/0.1699, allocations: 232 kB / 0.5425 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005077/0.175, allocations: 2.978 MB / 0.5454 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.421e-05/0.1751, allocations: 11.89 kB / 0.5455 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/0.1753, allocations: 96 kB / 0.5455 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.1754, allocations: 112.5 kB / 0.5456 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004362/0.1797, allocations: 2.376 MB / 0.548 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/0.194, allocations: 8.563 MB / 0.5563 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.1966, allocations: 1.357 MB / 0.5577 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/0.1984, allocations: 0.9167 MB / 0.5586 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.1986, allocations: 44.97 kB / 0.5586 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/0.1999, allocations: 0.7928 MB / 0.5594 GB, free: 11.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.434e-06/0.1999, allocations: 0 / 0.5594 GB, free: 11.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01468/0.2146, allocations: 6.47 MB / 0.5657 GB, free: 4.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.2148, allocations: 256.3 kB / 0.5659 GB, free: 4.633 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.001695/0.2165, allocations: 1.183 MB / 0.5671 GB, free: 3.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.2166, allocations: 49.7 kB / 0.5671 GB, free: 3.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009914/0.2176, allocations: 1.047 MB / 0.5682 GB, free: 2.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003839/0.2179, allocations: 456.2 kB / 0.5686 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/0.2184, allocations: 267.5 kB / 0.5688 GB, free: 1.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2185, allocations: 301.1 kB / 0.5691 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.2198, allocations: 0.7192 MB / 0.5698 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.2214, allocations: 1.123 MB / 0.5709 GB, free: 15.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00835/0.2298, allocations: 3.586 MB / 0.5744 GB, free: 11.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.2298, allocations: 8.062 kB / 0.5744 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004612/0.2344, allocations: 2.493 MB / 0.5769 GB, free: 8.992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.2344, allocations: 33.7 kB / 0.5769 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.2344, allocations: 12 kB / 0.5769 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.2357, allocations: 0.4996 MB / 0.5774 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.2368, allocations: 307.5 kB / 0.5777 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009494/0.2463, allocations: 8.386 MB / 0.5859 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.248, allocations: 135.9 kB / 0.586 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.2481, allocations: 59.98 kB / 0.5861 GB, free: 15.09 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.002665/0.2508, allocations: 1.276 MB / 0.5873 GB, free: 13.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001674/0.2525, allocations: 1.107 MB / 0.5884 GB, free: 12.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008278/0.2607, allocations: 3.508 MB / 0.5918 GB, free: 8.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.105e-06/0.2608, allocations: 7.938 kB / 0.5918 GB, free: 8.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004622/0.2654, allocations: 2.439 MB / 0.5942 GB, free: 6.395 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.2654, allocations: 41.7 kB / 0.5943 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.2654, allocations: 12 kB / 0.5943 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.2666, allocations: 0.5071 MB / 0.5948 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.2677, allocations: 303.5 kB / 0.5951 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2499/0.5176, allocations: 8.375 MB / 0.6032 GB, free: 80.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.5192, allocations: 138.3 kB / 0.6034 GB, free: 80.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.5193, allocations: 60.06 kB / 0.6034 GB, free: 80.43 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.000426/0.5197, allocations: 297.1 kB / 0.6037 GB, free: 80.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.52, allocations: 154.4 kB / 0.6039 GB, free: 80.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/0.524, allocations: 2.134 MB / 0.6059 GB, free: 79.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.5241, allocations: 12.72 kB / 0.606 GB, free: 79.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.5241, allocations: 6.469 kB / 0.606 GB, free: 79.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.5241, allocations: 9.891 kB / 0.606 GB, free: 79.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008138/0.5322, allocations: 4.633 MB / 0.6105 GB, free: 77.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.5322, allocations: 8.812 kB / 0.6105 GB, free: 77.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009265/0.5332, allocations: 201.5 kB / 0.6107 GB, free: 77.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/0.5346, allocations: 0.5291 MB / 0.6112 GB, free: 77.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.5347, allocations: 34.33 kB / 0.6112 GB, free: 77.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006499/0.5412, allocations: 8.218 MB / 0.6193 GB, free: 71.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5412, allocations: 3.375 kB / 0.6193 GB, free: 71.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005275/0.5465, allocations: 3.203 MB / 0.6224 GB, free: 69.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007271/0.5472, allocations: 290.3 kB / 0.6227 GB, free: 69.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.5474, allocations: 35.25 kB / 0.6227 GB, free: 69.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008999/0.5483, allocations: 105.8 kB / 0.6228 GB, free: 69.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/0.5485, allocations: 122.7 kB / 0.6229 GB, free: 69.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/0.5486, allocations: 37.7 kB / 0.623 GB, free: 69.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009272/0.5495, allocations: 0.8071 MB / 0.6237 GB, free: 69.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5495, allocations: 3.906 kB / 0.6238 GB, free: 69.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002351/0.5519, allocations: 0.7864 MB / 0.6245 GB, free: 69.32 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.004643/0.5565, allocations: 3.836 MB / 0.6283 GB, free: 67.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007876/0.5644, allocations: 6.369 MB / 0.6345 GB, free: 62.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5644, allocations: 0 / 0.6345 GB, free: 62.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003295/0.5677, allocations: 2.706 MB / 0.6371 GB, free: 59.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.5696, allocations: 403.8 kB / 0.6375 GB, free: 59.36 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.01575/0.5853, allocations: 12.52 MB / 0.6497 GB, free: 46.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.5864, allocations: 1.841 MB / 0.6515 GB, free: 44.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001058/0.5875, allocations: 424.1 kB / 0.6519 GB, free: 44.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008153/0.5883, allocations: 0.8781 MB / 0.6528 GB, free: 43.24 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5883, allocations: 0 / 0.6528 GB, free: 43.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09986/0.6882, allocations: 50.69 MB / 0.7023 GB, free: 8.941 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.35, allocations: 11.86 kB / 0.7023 GB, free: 8.93 MB / 462.1 MB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file EHPTexamples_latest_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_latest_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.485805809003068] Failed to read output from testmodel.py, exit status != 0: 16.49134786000286 16.507177054 16.345441822 Calling exit ...