Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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 2.1.4/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04656/0.04656, allocations: 8.026 MB / 23.66 MB, free: 272 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 102 kB / 26.25 MB, free: 3.242 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.001377/0.001377, allocations: 191 kB / 28.94 MB, free: 0.5664 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 254.4 MB, free: 4.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01393/0.01393, allocations: 3.119 MB / 309.4 MB, free: 2.305 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 99.84 kB / 426.4 MB, free: 18.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.09186, allocations: 51.97 MB / 478.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.01156/0.1035, allocations: 9.129 MB / 487.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005404/0.1089, allocations: 2.634 MB / 490.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000961/0.1099, allocations: 47.81 kB / 490.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.1111, allocations: 460.6 kB / 490.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.1129, allocations: 0.6481 MB / 491.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.114, allocations: 0.4985 MB / 491.8 MB, free: 0.5625 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: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.003108/0.1171, allocations: 2.498 MB / 494.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.1197, allocations: 2.053 MB / 496.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.1216, allocations: 1.094 MB / 497.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.1234, allocations: 1.315 MB / 498.8 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004221/0.1239, allocations: 300 kB / 499.1 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007715/0.1246, allocations: 411.8 kB / 499.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008731/0.1255, allocations: 0.7831 MB / 0.4885 GB, free: 8.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.127, allocations: 1.299 MB / 0.4898 GB, free: 6.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004248/0.1313, allocations: 3.756 MB / 0.4934 GB, free: 2.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1313, allocations: 0 / 0.4934 GB, free: 2.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1313, allocations: 4 kB / 0.4935 GB, free: 2.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.313e-05/0.1314, allocations: 0 / 0.4935 GB, free: 2.957 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.005883/0.1373, allocations: 2.765 MB / 0.4962 GB, free: 124 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1373, allocations: 12.03 kB / 0.4962 GB, free: 112 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000445/0.1378, allocations: 303.9 kB / 0.4965 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007598/0.1385, allocations: 275.4 kB / 0.4967 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.1408, allocations: 1.342 MB / 0.498 GB, free: 14.14 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.0002711/0.1411, allocations: 219.5 kB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.1414, allocations: 215.9 kB / 0.4984 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004807/0.1463, allocations: 2.715 MB / 0.5011 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.465e-05/0.1463, allocations: 15.88 kB / 0.5011 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.1466, allocations: 88 kB / 0.5012 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.1467, allocations: 96.03 kB / 0.5013 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00426/0.151, allocations: 2.225 MB / 0.5035 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.1636, allocations: 7.937 MB / 0.5112 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1925/0.3561, allocations: 1.602 MB / 0.5128 GB, free: 39.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/0.3583, allocations: 0.9476 MB / 0.5137 GB, free: 39.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.3586, allocations: 125.5 kB / 0.5138 GB, free: 39.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/0.3601, allocations: 0.7761 MB / 0.5146 GB, free: 39.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.046e-06/0.3601, allocations: 1.75 kB / 0.5146 GB, free: 39.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01418/0.3743, allocations: 6.716 MB / 0.5211 GB, free: 36.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.3744, allocations: 251 kB / 0.5214 GB, free: 36.34 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.001748/0.3761, allocations: 1.202 MB / 0.5225 GB, free: 35.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.054e-05/0.3762, allocations: 47.27 kB / 0.5226 GB, free: 35.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008545/0.3771, allocations: 0.9497 MB / 0.5235 GB, free: 35.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/0.3775, allocations: 436.4 kB / 0.5239 GB, free: 34.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004912/0.378, allocations: 256.4 kB / 0.5242 GB, free: 34.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.3781, allocations: 365.7 kB / 0.5245 GB, free: 34.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.3793, allocations: 0.7121 MB / 0.5252 GB, free: 34.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.3807, allocations: 1.101 MB / 0.5263 GB, free: 33.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008475/0.3892, allocations: 3.579 MB / 0.5298 GB, free: 31.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.3893, allocations: 2.75 kB / 0.5298 GB, free: 31.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004188/0.3934, allocations: 2.529 MB / 0.5323 GB, free: 30.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.3935, allocations: 41.55 kB / 0.5323 GB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.3935, allocations: 11.81 kB / 0.5323 GB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.3946, allocations: 0.4984 MB / 0.5328 GB, free: 30.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009953/0.3956, allocations: 295.1 kB / 0.5331 GB, free: 30.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/0.4016, allocations: 8.801 MB / 0.5417 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.4029, allocations: 136.7 kB / 0.5418 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-05/0.403, allocations: 61.08 kB / 0.5419 GB, free: 22.97 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.001811/0.4049, allocations: 1.23 MB / 0.5431 GB, free: 22.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001089/0.406, allocations: 1.082 MB / 0.5441 GB, free: 21.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007391/0.4134, allocations: 3.51 MB / 0.5476 GB, free: 17.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.285e-05/0.4134, allocations: 4.844 kB / 0.5476 GB, free: 17.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003859/0.4173, allocations: 2.489 MB / 0.55 GB, free: 14.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.4173, allocations: 40.67 kB / 0.55 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.4174, allocations: 15.98 kB / 0.55 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009969/0.4184, allocations: 0.4921 MB / 0.5505 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000945/0.4193, allocations: 291.5 kB / 0.5508 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005829/0.4252, allocations: 8.801 MB / 0.5594 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.4268, allocations: 139.9 kB / 0.5595 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.4269, allocations: 56 kB / 0.5596 GB, free: 4.484 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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (150): * Single equations (assignments): 143 * 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.00045/0.4274, allocations: 291.2 kB / 0.5599 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.4276, allocations: 147.1 kB / 0.56 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/0.431, allocations: 2.211 MB / 0.5622 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.431, allocations: 12 kB / 0.5622 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.431, allocations: 4 kB / 0.5622 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.4311, allocations: 7.969 kB / 0.5622 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007933/0.439, allocations: 4.613 MB / 0.5667 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.4391, allocations: 8.062 kB / 0.5667 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008982/0.44, allocations: 203.7 kB / 0.5669 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.4414, allocations: 0.5203 MB / 0.5674 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.4416, allocations: 35.98 kB / 0.5674 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009493/0.4511, allocations: 8.631 MB / 0.5759 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.4511, allocations: 7.938 kB / 0.5759 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006175/0.4573, allocations: 3.248 MB / 0.579 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008033/0.4581, allocations: 368 kB / 0.5794 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.4584, allocations: 36.55 kB / 0.5794 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009861/0.4593, allocations: 103.9 kB / 0.5795 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/0.4596, allocations: 112.7 kB / 0.5796 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.916e-05/0.4598, allocations: 35.98 kB / 0.5797 GB, free: 15.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001247/0.461, allocations: 0.798 MB / 0.5805 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.461, allocations: 4 kB / 0.5805 GB, free: 14.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002579/0.4636, allocations: 0.7577 MB / 0.5812 GB, free: 13.53 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 (101): * Single equations (assignments): 93 * 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.006503/0.4701, allocations: 3.88 MB / 0.585 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01153/0.4817, allocations: 6.705 MB / 0.5915 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4817, allocations: 0 / 0.5915 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004874/0.4866, allocations: 2.849 MB / 0.5943 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.4886, allocations: 389 kB / 0.5947 GB, free: 15.28 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.02055/0.5091, allocations: 12.2 MB / 0.6066 GB, free: 2.625 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/0.5108, allocations: 1.742 MB / 0.6083 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001295/0.5121, allocations: 419.6 kB / 0.6087 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.5133, allocations: 0.7948 MB / 0.6095 GB, free: 15.69 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5133, allocations: 0 / 0.6095 GB, free: 15.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/0.6547, allocations: 47.96 MB / 0.6563 GB, free: 104 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.36, allocations: 7.375 kB / 0.6563 GB, free: 100 kB / 478.1 MB (rm -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTexamples_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)