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.04524/0.04525, allocations: 8.039 MB / 23.67 MB, free: 188 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.001218/0.001218, allocations: 108.1 kB / 26.25 MB, free: 3.168 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.001365/0.001365, allocations: 198.4 kB / 28.95 MB, free: 496 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 254.4 MB, free: 4.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01304/0.01304, allocations: 3.121 MB / 309.4 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 92.22 kB / 426.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08453/0.08711, allocations: 51.97 MB / 478.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.0106/0.09776, allocations: 9.136 MB / 487.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004876/0.1027, allocations: 2.638 MB / 490.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008721/0.1036, allocations: 47.81 kB / 490.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.1047, allocations: 456.6 kB / 490.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.1064, allocations: 0.6443 MB / 491.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1074, allocations: 0.5059 MB / 491.8 MB, free: 0.5781 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.002872/0.1103, allocations: 2.49 MB / 494.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.1127, allocations: 2.053 MB / 496.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.1141, allocations: 1.09 MB / 497.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.1158, allocations: 1.335 MB / 498.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004389/0.1163, allocations: 300 kB / 499.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.117, allocations: 391.8 kB / 499.5 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007896/0.1178, allocations: 0.7948 MB / 0.4885 GB, free: 8.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.1192, allocations: 1.287 MB / 0.4898 GB, free: 6.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.123, allocations: 3.764 MB / 0.4935 GB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.123, allocations: 0 / 0.4935 GB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.123, allocations: 0 / 0.4935 GB, free: 2.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.575e-05/0.1231, allocations: 0 / 0.4935 GB, free: 2.98 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.005378/0.1285, allocations: 2.768 MB / 0.4962 GB, free: 144 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1285, allocations: 8.031 kB / 0.4962 GB, free: 136 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003882/0.1289, allocations: 307.8 kB / 0.4965 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007024/0.1296, allocations: 279.4 kB / 0.4967 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.1318, allocations: 1.338 MB / 0.498 GB, free: 14.16 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.0002548/0.1321, allocations: 219.5 kB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/0.1324, allocations: 211.9 kB / 0.4984 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004474/0.1369, allocations: 2.715 MB / 0.5011 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.595e-05/0.1369, allocations: 7.953 kB / 0.5011 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/0.1371, allocations: 88 kB / 0.5012 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.1373, allocations: 104 kB / 0.5013 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003984/0.1412, allocations: 2.217 MB / 0.5034 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.1533, allocations: 7.949 MB / 0.5112 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1728/0.3261, allocations: 1.6 MB / 0.5128 GB, free: 39.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.3279, allocations: 0.9492 MB / 0.5137 GB, free: 39.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.3282, allocations: 119 kB / 0.5138 GB, free: 39.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.3294, allocations: 0.7799 MB / 0.5146 GB, free: 39.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.965e-06/0.3294, allocations: 0 / 0.5146 GB, free: 39.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01379/0.3432, allocations: 6.719 MB / 0.5211 GB, free: 36.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.3433, allocations: 255 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.001698/0.345, allocations: 1.202 MB / 0.5226 GB, free: 35.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.3451, allocations: 47.11 kB / 0.5226 GB, free: 35.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006493/0.3458, allocations: 0.9483 MB / 0.5235 GB, free: 35.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.3461, allocations: 436.2 kB / 0.5239 GB, free: 34.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/0.3465, allocations: 253.6 kB / 0.5242 GB, free: 34.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.3466, allocations: 368.8 kB / 0.5245 GB, free: 34.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.3478, allocations: 0.7077 MB / 0.5252 GB, free: 34.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.3492, allocations: 1.105 MB / 0.5263 GB, free: 33.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00807/0.3572, allocations: 3.578 MB / 0.5298 GB, free: 31.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.3573, allocations: 1.906 kB / 0.5298 GB, free: 31.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003879/0.3612, allocations: 2.536 MB / 0.5323 GB, free: 30.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.3612, allocations: 33.95 kB / 0.5323 GB, free: 30.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.3612, allocations: 15.78 kB / 0.5323 GB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009914/0.3622, allocations: 0.499 MB / 0.5328 GB, free: 30.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009419/0.3632, allocations: 293.8 kB / 0.5331 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005621/0.3688, allocations: 8.806 MB / 0.5417 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.3701, allocations: 128 kB / 0.5418 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.3702, allocations: 60.45 kB / 0.5419 GB, free: 22.98 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.001754/0.372, allocations: 1.237 MB / 0.5431 GB, free: 22.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00103/0.373, allocations: 1.076 MB / 0.5441 GB, free: 21.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006963/0.38, allocations: 3.505 MB / 0.5476 GB, free: 17.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.354e-06/0.38, allocations: 4 kB / 0.5476 GB, free: 17.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003329/0.3834, allocations: 2.492 MB / 0.55 GB, free: 14.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.3834, allocations: 38.33 kB / 0.55 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3834, allocations: 12.25 kB / 0.55 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009074/0.3843, allocations: 0.5092 MB / 0.5505 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/0.3852, allocations: 283.5 kB / 0.5508 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005344/0.3906, allocations: 8.796 MB / 0.5594 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3919, allocations: 135.9 kB / 0.5595 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.609e-05/0.392, allocations: 59.98 kB / 0.5596 GB, free: 4.512 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.0003623/0.3924, allocations: 294.5 kB / 0.5599 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.3926, allocations: 147.1 kB / 0.56 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.3958, allocations: 2.207 MB / 0.5622 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3958, allocations: 16 kB / 0.5622 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3958, allocations: 4 kB / 0.5622 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.3959, allocations: 3.984 kB / 0.5622 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006892/0.4027, allocations: 4.625 MB / 0.5667 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.4028, allocations: 4.469 kB / 0.5667 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008466/0.4036, allocations: 203.7 kB / 0.5669 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.405, allocations: 0.5191 MB / 0.5674 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.4051, allocations: 39.97 kB / 0.5674 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008426/0.4135, allocations: 8.626 MB / 0.5759 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4136, allocations: 8.062 kB / 0.5759 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/0.4191, allocations: 3.252 MB / 0.5791 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007077/0.4199, allocations: 368 kB / 0.5794 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.4201, allocations: 32 kB / 0.5794 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009361/0.421, allocations: 107.9 kB / 0.5795 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.4213, allocations: 112.7 kB / 0.5796 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-05/0.4214, allocations: 39.98 kB / 0.5797 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001149/0.4226, allocations: 0.798 MB / 0.5805 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4226, allocations: 0 / 0.5805 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002426/0.425, allocations: 0.7499 MB / 0.5812 GB, free: 13.57 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.005877/0.4309, allocations: 3.88 MB / 0.585 GB, free: 9.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01043/0.4413, allocations: 6.701 MB / 0.5915 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4414, allocations: 0 / 0.5915 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004425/0.4458, allocations: 2.849 MB / 0.5943 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.4479, allocations: 392 kB / 0.5947 GB, free: 15.31 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.02043/0.4683, allocations: 12.2 MB / 0.6066 GB, free: 2.656 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.4699, allocations: 1.746 MB / 0.6083 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001212/0.4711, allocations: 425.3 kB / 0.6087 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.4722, allocations: 0.7905 MB / 0.6095 GB, free: 15.71 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4722, allocations: 0 / 0.6095 GB, free: 15.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6852/1.157, allocations: 47.95 MB / 0.6563 GB, free: 136 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.23, allocations: 7.438 kB / 0.6563 GB, free: 132 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)