Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.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.06346/0.06346, allocations: 8.406 MB / 24.69 MB, free: 128 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 106.9 kB / 29.48 MB, free: 0.707 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 203.7 kB / 34.36 MB, free: 2.387 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 222.9 MB / 262 MB, free: 9.859 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.01551/0.01551, allocations: 3.354 MB / 319.4 MB, free: 2.645 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002967/0.002967, allocations: 99.48 kB / 438.9 MB, free: 41.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1222, allocations: 52.21 MB / 491.1 MB, free: 19.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008686/0.131, allocations: 9.703 MB / 0.4891 GB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005353/0.1364, allocations: 2.696 MB / 0.4917 GB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.1383, allocations: 51.81 kB / 0.4918 GB, free: 7.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.1399, allocations: 496.2 kB / 0.4922 GB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.1421, allocations: 0.6752 MB / 0.4929 GB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1433, allocations: 0.5344 MB / 0.4934 GB, free: 5.773 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0 * sqrt(1.0 - 0.0667) / (2.0 * aimc.pi * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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 NFFlatten.flatten: time 0.003036/0.1463, allocations: 2.664 MB / 0.496 GB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.1486, allocations: 2.3 MB / 0.4983 GB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.1504, allocations: 1.184 MB / 0.4994 GB, free: 15.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.1529, allocations: 1.432 MB / 0.5008 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007051/0.1537, allocations: 332 kB / 0.5011 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009796/0.1546, allocations: 423.8 kB / 0.5015 GB, free: 13.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.1557, allocations: 0.861 MB / 0.5024 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.1581, allocations: 1.42 MB / 0.5038 GB, free: 11.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00587/0.164, allocations: 4.145 MB / 0.5078 GB, free: 6.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.164, allocations: 4 kB / 0.5078 GB, free: 6.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.164, allocations: 0 / 0.5078 GB, free: 6.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001003/0.1641, allocations: 0 / 0.5078 GB, free: 6.914 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.007767/0.1719, allocations: 2.961 MB / 0.5107 GB, free: 3.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1719, allocations: 12.03 kB / 0.5107 GB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006806/0.1726, allocations: 333.5 kB / 0.511 GB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008303/0.1735, allocations: 303.2 kB / 0.5113 GB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.1762, allocations: 1.432 MB / 0.5127 GB, free: 1.758 MB / 366.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.0004764/0.1767, allocations: 240 kB / 0.5129 GB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003957/0.1771, allocations: 236 kB / 0.5132 GB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005736/0.1829, allocations: 2.961 MB / 0.5161 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-05/0.183, allocations: 3.953 kB / 0.5161 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/0.1832, allocations: 99.98 kB / 0.5162 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.1833, allocations: 104.5 kB / 0.5163 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005032/0.1884, allocations: 2.379 MB / 0.5186 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.2041, allocations: 8.716 MB / 0.5271 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.2072, allocations: 1.628 MB / 0.5287 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.2094, allocations: 0.9783 MB / 0.5296 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.2097, allocations: 122 kB / 0.5298 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/0.2113, allocations: 0.785 MB / 0.5305 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 4.839e-06/0.2113, allocations: 0 / 0.5305 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=121): time 0.01859/0.2299, allocations: 7.012 MB / 0.5374 GB, free: 7.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002166/0.2302, allocations: 244.3 kB / 0.5376 GB, free: 7.559 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/0.2326, allocations: 1.234 MB / 0.5388 GB, free: 6.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.2328, allocations: 45.7 kB / 0.5389 GB, free: 6.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.234, allocations: 1.035 MB / 0.5399 GB, free: 5.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004648/0.2345, allocations: 448.3 kB / 0.5403 GB, free: 4.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006087/0.2351, allocations: 255.5 kB / 0.5405 GB, free: 4.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2352, allocations: 309.1 kB / 0.5408 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.2369, allocations: 0.7153 MB / 0.5415 GB, free: 3.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.2388, allocations: 1.131 MB / 0.5426 GB, free: 2.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.249, allocations: 3.616 MB / 0.5462 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.156e-05/0.2491, allocations: 0 / 0.5462 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005427/0.2545, allocations: 2.576 MB / 0.5487 GB, free: 11.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.2546, allocations: 33.7 kB / 0.5487 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.2546, allocations: 12 kB / 0.5487 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.256, allocations: 0.5118 MB / 0.5492 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.2573, allocations: 299.5 kB / 0.5495 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.2675, allocations: 8.807 MB / 0.5581 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.2693, allocations: 127.9 kB / 0.5582 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.2695, allocations: 63.92 kB / 0.5583 GB, free: 1.363 MB / 414.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.002842/0.2724, allocations: 1.282 MB / 0.5595 GB, free: 88 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001755/0.2742, allocations: 1.103 MB / 0.5606 GB, free: 14.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009802/0.284, allocations: 3.538 MB / 0.5641 GB, free: 11.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.491e-05/0.2841, allocations: 4 kB / 0.5641 GB, free: 11.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.005287/0.2894, allocations: 2.53 MB / 0.5666 GB, free: 8.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.2895, allocations: 41.69 kB / 0.5666 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.035e-05/0.2896, allocations: 12.06 kB / 0.5666 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.2908, allocations: 0.5041 MB / 0.5671 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.292, allocations: 291.5 kB / 0.5674 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009792/0.3018, allocations: 8.811 MB / 0.576 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.3037, allocations: 135.9 kB / 0.5761 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.3039, allocations: 63.92 kB / 0.5762 GB, free: 14.1 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.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.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 (155): * Single equations (assignments): 148 * 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.0005264/0.3045, allocations: 296.3 kB / 0.5765 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.3048, allocations: 151 kB / 0.5766 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004639/0.3094, allocations: 2.211 MB / 0.5788 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.3095, allocations: 12 kB / 0.5788 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.3095, allocations: 4 kB / 0.5788 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.3095, allocations: 3.984 kB / 0.5788 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009145/0.3187, allocations: 4.74 MB / 0.5834 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.3187, allocations: 4 kB / 0.5834 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008678/0.3196, allocations: 195.7 kB / 0.5836 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.3211, allocations: 0.5233 MB / 0.5841 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.3213, allocations: 35.98 kB / 0.5841 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2932/0.6145, allocations: 8.615 MB / 0.5926 GB, free: 95.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.6146, allocations: 7.031 kB / 0.5926 GB, free: 95.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005928/0.6205, allocations: 3.266 MB / 0.5958 GB, free: 95.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008158/0.6214, allocations: 369 kB / 0.5961 GB, free: 95.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.6216, allocations: 34.03 kB / 0.5961 GB, free: 95.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.6228, allocations: 106.2 kB / 0.5962 GB, free: 95.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.6231, allocations: 111.3 kB / 0.5963 GB, free: 95.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.6232, allocations: 46.47 kB / 0.5964 GB, free: 95.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001605/0.6249, allocations: 0.8155 MB / 0.5972 GB, free: 95.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6249, allocations: 0 / 0.5972 GB, free: 95.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003122/0.628, allocations: 0.7905 MB / 0.598 GB, free: 95.13 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,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * 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.006065/0.6341, allocations: 3.901 MB / 0.6018 GB, free: 93.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009862/0.644, allocations: 6.746 MB / 0.6084 GB, free: 89.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.644, allocations: 3.406 kB / 0.6084 GB, free: 89.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003769/0.6478, allocations: 2.851 MB / 0.6111 GB, free: 87.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.6497, allocations: 393.8 kB / 0.6115 GB, free: 87.02 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.01772/0.6675, allocations: 12.59 MB / 0.6238 GB, free: 76.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.6686, allocations: 1.838 MB / 0.6256 GB, free: 74.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001129/0.6697, allocations: 422.4 kB / 0.626 GB, free: 74.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009555/0.6707, allocations: 0.8547 MB / 0.6268 GB, free: 73.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/0.6707, allocations: 0 / 0.6268 GB, free: 73.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0986/0.7693, allocations: 49.21 MB / 0.6749 GB, free: 24.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.96, allocations: 14.72 kB / 0.6749 GB, free: 24.46 MB / 446.1 MB " [Timeout remaining time 645] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_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_tqFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.291294916998595] Failed to read output from testmodel.py, exit status != 0: 15.08000273106154 15.101182018 14.933315412 Calling exit ...