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.07842/0.07842, allocations: 8.416 MB / 24.05 MB, free: 4.883 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.001286/0.001286, allocations: 112.2 kB / 26.81 MB, free: 2.73 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.001426/0.001426, allocations: 191.2 kB / 29.68 MB, free: 6.418 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.394/1.394, 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.01422/0.01422, allocations: 3.364 MB / 310.8 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002632/0.002632, allocations: 99.83 kB / 428.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1042, allocations: 52.19 MB / 480.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.01231/0.1166, allocations: 9.789 MB / 490.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005739/0.1223, allocations: 2.793 MB / 493 MB, free: 200 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.1234, allocations: 51.81 kB / 493 MB, free: 148 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.1248, allocations: 496.2 kB / 493.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.1268, allocations: 0.6791 MB / 494.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.1281, allocations: 0.5489 MB / 494.7 MB, free: 14.43 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.003301/0.1314, allocations: 2.681 MB / 497.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002854/0.1342, allocations: 2.304 MB / 499.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.1359, allocations: 1.188 MB / 0.4892 GB, free: 8.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.1381, allocations: 1.444 MB / 0.4906 GB, free: 6.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005617/0.1387, allocations: 340 kB / 0.4909 GB, free: 6.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008518/0.1395, allocations: 427.9 kB / 0.4913 GB, free: 5.973 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009065/0.1405, allocations: 0.8687 MB / 0.4922 GB, free: 5.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.1421, allocations: 1.431 MB / 0.4936 GB, free: 3.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004703/0.1468, allocations: 4.161 MB / 0.4976 GB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1468, allocations: 4 kB / 0.4976 GB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1468, allocations: 0 / 0.4976 GB, free: 15.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.075e-05/0.1469, allocations: 0 / 0.4976 GB, free: 15.48 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.006369/0.1533, allocations: 2.985 MB / 0.5006 GB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1534, allocations: 12.02 kB / 0.5006 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004475/0.1538, allocations: 337.7 kB / 0.5009 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008208/0.1546, allocations: 307.2 kB / 0.5012 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/0.1574, allocations: 1.436 MB / 0.5026 GB, free: 10.29 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.0003094/0.1577, allocations: 244 kB / 0.5028 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004492/0.1582, allocations: 232 kB / 0.503 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005872/0.1641, allocations: 2.986 MB / 0.5059 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/0.1642, allocations: 7.953 kB / 0.506 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.1644, allocations: 103.9 kB / 0.5061 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.1646, allocations: 112.6 kB / 0.5062 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004915/0.1695, allocations: 2.391 MB / 0.5085 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2263/0.3958, allocations: 8.762 MB / 0.5171 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.3986, allocations: 1.655 MB / 0.5187 GB, free: 34.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.4004, allocations: 0.979 MB / 0.5196 GB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.4007, allocations: 124.9 kB / 0.5197 GB, free: 33.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.4021, allocations: 0.7904 MB / 0.5205 GB, free: 33.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=107): time 3.416e-06/0.4021, allocations: 0 / 0.5205 GB, free: 33.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=124): time 0.01634/0.4185, allocations: 6.939 MB / 0.5273 GB, free: 30.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.4186, allocations: 251.8 kB / 0.5275 GB, free: 30.39 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.002094/0.4207, allocations: 1.232 MB / 0.5287 GB, free: 29.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.4209, allocations: 55.2 kB / 0.5288 GB, free: 29.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008553/0.4218, allocations: 1.053 MB / 0.5298 GB, free: 29.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004036/0.4222, allocations: 449.2 kB / 0.5302 GB, free: 28.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/0.4226, allocations: 264.9 kB / 0.5305 GB, free: 28.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.4227, allocations: 305.1 kB / 0.5308 GB, free: 28.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.4239, allocations: 0.729 MB / 0.5315 GB, free: 28.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.4253, allocations: 1.135 MB / 0.5326 GB, free: 27.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008121/0.4334, allocations: 3.633 MB / 0.5362 GB, free: 25.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.4334, allocations: 4.875 kB / 0.5362 GB, free: 25.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.00394/0.4374, allocations: 2.587 MB / 0.5387 GB, free: 24.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.4374, allocations: 42.23 kB / 0.5387 GB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.4375, allocations: 11.31 kB / 0.5387 GB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.4386, allocations: 0.5021 MB / 0.5392 GB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.4396, allocations: 305.4 kB / 0.5395 GB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005803/0.4454, allocations: 8.823 MB / 0.5481 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4469, allocations: 131.8 kB / 0.5483 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.447, allocations: 63.98 kB / 0.5483 GB, free: 15.74 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.001904/0.4489, allocations: 1.286 MB / 0.5496 GB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001074/0.45, allocations: 1.107 MB / 0.5507 GB, free: 13.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007219/0.4572, allocations: 3.566 MB / 0.5541 GB, free: 9.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.074e-06/0.4573, allocations: 4 kB / 0.5541 GB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.003693/0.461, allocations: 2.537 MB / 0.5566 GB, free: 6.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.461, allocations: 43.75 kB / 0.5567 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.461, allocations: 8 kB / 0.5567 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009629/0.462, allocations: 0.5009 MB / 0.5572 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/0.463, allocations: 307.5 kB / 0.5575 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007064/0.47, allocations: 8.798 MB / 0.5661 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.4717, allocations: 135.9 kB / 0.5662 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.4719, allocations: 59.98 kB / 0.5662 GB, free: 12.45 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.0005321/0.4724, allocations: 296.1 kB / 0.5665 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/0.4727, allocations: 151 kB / 0.5667 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/0.4772, allocations: 2.235 MB / 0.5688 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.4773, allocations: 12 kB / 0.5689 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.4773, allocations: 4 kB / 0.5689 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.4773, allocations: 7.969 kB / 0.5689 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009136/0.4864, allocations: 4.765 MB / 0.5735 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4865, allocations: 4.75 kB / 0.5735 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008751/0.4874, allocations: 211.6 kB / 0.5737 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.4888, allocations: 0.5233 MB / 0.5742 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.4889, allocations: 35.98 kB / 0.5743 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008877/0.4978, allocations: 8.628 MB / 0.5827 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4978, allocations: 4 kB / 0.5827 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006129/0.5039, allocations: 3.296 MB / 0.5859 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008041/0.5048, allocations: 376 kB / 0.5863 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.505, allocations: 35.94 kB / 0.5863 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009562/0.506, allocations: 108 kB / 0.5864 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.5063, allocations: 116.7 kB / 0.5865 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-05/0.5064, allocations: 43.98 kB / 0.5866 GB, free: 6.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.5076, allocations: 0.8185 MB / 0.5874 GB, free: 5.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5076, allocations: 0 / 0.5874 GB, free: 5.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002762/0.5104, allocations: 0.7929 MB / 0.5881 GB, free: 5.195 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.006327/0.5167, allocations: 3.927 MB / 0.592 GB, free: 1.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01126/0.528, allocations: 6.773 MB / 0.5986 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.528, allocations: 0 / 0.5986 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004926/0.533, allocations: 2.861 MB / 0.6014 GB, free: 7.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.5351, allocations: 385.6 kB / 0.6018 GB, free: 6.82 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.02176/0.5569, allocations: 12.68 MB / 0.6141 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/0.5587, allocations: 1.841 MB / 0.6159 GB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001356/0.5601, allocations: 424.1 kB / 0.6163 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.5612, allocations: 0.878 MB / 0.6172 GB, free: 6.488 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5612, allocations: 0 / 0.6172 GB, free: 6.488 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/0.6724, allocations: 49.41 MB / 0.6654 GB, free: 5.469 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.67, allocations: 4.062 kB / 0.6655 GB, free: 5.465 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)