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-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) 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-main/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04764/0.04764, allocations: 8.412 MB / 24.05 MB, free: 4.891 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 117.8 kB / 26.82 MB, free: 2.738 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001355, allocations: 198.2 kB / 29.68 MB, free: 6.434 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 255.3 MB, free: 4.172 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01508/0.01508, allocations: 3.362 MB / 310.8 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 92.17 kB / 428.2 MB, free: 16.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.08985, allocations: 52.21 MB / 480.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.01201/0.1019, allocations: 9.782 MB / 490.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005836/0.1078, allocations: 2.778 MB / 493 MB, free: 112 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.1092, allocations: 55.75 kB / 493 MB, free: 56 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.1111, allocations: 0.4924 MB / 493.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.1135, allocations: 0.6752 MB / 494.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.115, allocations: 0.5491 MB / 494.7 MB, free: 14.33 MB / 366.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: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.0) 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: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.0) 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.003798/0.1188, allocations: 2.688 MB / 497.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.1217, allocations: 2.3 MB / 499.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.1234, allocations: 1.191 MB / 0.4892 GB, free: 8.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.1253, allocations: 1.44 MB / 0.4906 GB, free: 6.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005137/0.1259, allocations: 336 kB / 0.4909 GB, free: 6.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008129/0.1267, allocations: 427.8 kB / 0.4913 GB, free: 5.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009107/0.1276, allocations: 0.8766 MB / 0.4922 GB, free: 5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.1293, allocations: 1.427 MB / 0.4936 GB, free: 3.566 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.1341, allocations: 4.173 MB / 0.4976 GB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1342, allocations: 0 / 0.4976 GB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1342, allocations: 0 / 0.4976 GB, free: 15.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.878e-05/0.1342, allocations: 0 / 0.4976 GB, free: 15.38 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.006473/0.1407, allocations: 2.981 MB / 0.5005 GB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1408, allocations: 8.031 kB / 0.5006 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005008/0.1413, allocations: 337.7 kB / 0.5009 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.1421, allocations: 311.2 kB / 0.5012 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.1447, allocations: 1.439 MB / 0.5026 GB, free: 10.19 MB / 382.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.0002909/0.145, allocations: 240 kB / 0.5028 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000399/0.1454, allocations: 240 kB / 0.503 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005588/0.151, allocations: 2.978 MB / 0.5059 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.968e-05/0.1511, allocations: 7.953 kB / 0.506 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.1513, allocations: 99.98 kB / 0.506 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.1515, allocations: 104.6 kB / 0.5061 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004967/0.1564, allocations: 2.391 MB / 0.5085 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1881/0.3446, allocations: 8.762 MB / 0.517 GB, free: 34.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.3473, allocations: 1.67 MB / 0.5187 GB, free: 34.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.3491, allocations: 0.9712 MB / 0.5196 GB, free: 33.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.3494, allocations: 132.2 kB / 0.5197 GB, free: 33.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/0.3507, allocations: 0.7904 MB / 0.5205 GB, free: 33.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=107): time 3.356e-06/0.3507, allocations: 0 / 0.5205 GB, free: 33.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=124): time 0.01506/0.3658, allocations: 6.936 MB / 0.5273 GB, free: 30.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3659, allocations: 254.4 kB / 0.5275 GB, free: 30.43 MB / 382.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: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.0) 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: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.0) 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.00168/0.3676, allocations: 1.235 MB / 0.5287 GB, free: 29.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.3677, allocations: 48.02 kB / 0.5288 GB, free: 29.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005877/0.3683, allocations: 1.046 MB / 0.5298 GB, free: 29.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.3685, allocations: 454.3 kB / 0.5302 GB, free: 28.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/0.369, allocations: 264.5 kB / 0.5305 GB, free: 28.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.369, allocations: 308.7 kB / 0.5308 GB, free: 28.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.3702, allocations: 0.7238 MB / 0.5315 GB, free: 28.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.3716, allocations: 1.134 MB / 0.5326 GB, free: 27.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008069/0.3797, allocations: 3.635 MB / 0.5362 GB, free: 25.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.3797, allocations: 3.906 kB / 0.5362 GB, free: 25.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004033/0.3838, allocations: 2.587 MB / 0.5387 GB, free: 24.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.3838, allocations: 35.89 kB / 0.5387 GB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.3838, allocations: 15.55 kB / 0.5387 GB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.3849, allocations: 0.4941 MB / 0.5392 GB, free: 23.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.386, allocations: 321.4 kB / 0.5395 GB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/0.3918, allocations: 8.82 MB / 0.5481 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3932, allocations: 123.9 kB / 0.5483 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.3934, allocations: 64.05 kB / 0.5483 GB, free: 15.67 MB / 382.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.00185/0.3952, allocations: 1.284 MB / 0.5496 GB, free: 14.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001123/0.3963, allocations: 1.112 MB / 0.5507 GB, free: 13.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007706/0.4041, allocations: 3.571 MB / 0.5541 GB, free: 9.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-05/0.4041, allocations: 0 / 0.5541 GB, free: 9.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.003799/0.4079, allocations: 2.549 MB / 0.5566 GB, free: 6.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.408, allocations: 40.52 kB / 0.5567 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.408, allocations: 12 kB / 0.5567 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009922/0.409, allocations: 0.5025 MB / 0.5572 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.41, allocations: 295.5 kB / 0.5575 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007062/0.4171, allocations: 8.803 MB / 0.566 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.4187, allocations: 135.9 kB / 0.5662 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.4189, allocations: 59.98 kB / 0.5662 GB, free: 12.39 MB / 398.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.0004877/0.4194, allocations: 290.2 kB / 0.5665 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/0.4197, allocations: 155 kB / 0.5667 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004476/0.4242, allocations: 2.231 MB / 0.5688 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.4243, allocations: 14.02 kB / 0.5689 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.4243, allocations: 4 kB / 0.5689 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.4243, allocations: 8.625 kB / 0.5689 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00865/0.433, allocations: 4.767 MB / 0.5735 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.433, allocations: 12.05 kB / 0.5735 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000951/0.434, allocations: 203.7 kB / 0.5737 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/0.4354, allocations: 0.5188 MB / 0.5742 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.4356, allocations: 35.98 kB / 0.5743 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00916/0.4447, allocations: 8.63 MB / 0.5827 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.4448, allocations: 4 kB / 0.5827 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006248/0.451, allocations: 3.296 MB / 0.5859 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008357/0.4519, allocations: 376 kB / 0.5863 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002595/0.4522, allocations: 39.92 kB / 0.5863 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.4532, allocations: 102.2 kB / 0.5864 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/0.4535, allocations: 112.8 kB / 0.5865 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.494e-05/0.4536, allocations: 47.92 kB / 0.5866 GB, free: 6.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001239/0.4549, allocations: 0.8185 MB / 0.5874 GB, free: 5.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4549, allocations: 0 / 0.5874 GB, free: 5.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0026/0.4575, allocations: 0.7968 MB / 0.5881 GB, free: 5.129 MB / 414.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.006381/0.4639, allocations: 3.939 MB / 0.592 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01139/0.4753, allocations: 6.762 MB / 0.5986 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.4753, allocations: 0 / 0.5986 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004841/0.4802, allocations: 2.853 MB / 0.6014 GB, free: 7.125 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.4823, allocations: 398.9 kB / 0.6018 GB, free: 6.746 MB / 430.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.02078/0.503, allocations: 12.67 MB / 0.6141 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.5048, allocations: 1.845 MB / 0.6159 GB, free: 7.711 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00135/0.5062, allocations: 420.1 kB / 0.6163 GB, free: 7.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.5073, allocations: 0.8703 MB / 0.6172 GB, free: 6.426 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5074, allocations: 0 / 0.6172 GB, free: 6.426 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/0.6583, allocations: 49.42 MB / 0.6654 GB, free: 5.406 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.82, allocations: 3.938 kB / 0.6654 GB, free: 5.402 MB / 494.1 MB (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)