Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 217.5 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04432/0.04432, allocations: 8.545 MB / 321 MB, free: 10.6 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 63.95 kB / 446.9 MB, free: 15.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1131, allocations: 55.42 MB / 0.4906 GB, free: 8.426 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc0.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.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc0.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.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc0.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc0.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.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc0.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc0.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.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc0.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc0.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc0.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc0.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc0.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc0.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.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc0.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc0.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.02079/0.1339, allocations: 16.5 MB / 0.5067 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009146/0.143, allocations: 4.095 MB / 0.5107 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.1461, allocations: 123.2 kB / 0.5108 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.149, allocations: 0.8452 MB / 0.5116 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005387/0.1544, allocations: 1.363 MB / 0.513 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.1571, allocations: 0.8651 MB / 0.5138 GB, free: 0.5352 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc0.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.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc0.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.2318/0.3889, allocations: 4.976 MB / 0.5187 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003683/0.3926, allocations: 2.518 MB / 0.5211 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.3963, allocations: 2.288 MB / 0.5234 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004943/0.4013, allocations: 2.799 MB / 0.5261 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.4029, allocations: 0.6101 MB / 0.5267 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.405, allocations: 0.7101 MB / 0.5274 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00168/0.4067, allocations: 1.662 MB / 0.529 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004378/0.4111, allocations: 2.684 MB / 0.5316 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009501/0.4206, allocations: 7.867 MB / 0.5393 GB, free: 3.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.4206, allocations: 1.312 kB / 0.5393 GB, free: 3.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4206, allocations: 0 / 0.5393 GB, free: 3.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002631/0.4208, allocations: 0 / 0.5393 GB, free: 3.867 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: 1120 * Number of variables: 1120 Notification: Performance of Generate backend data structure: time 0.01294/0.4338, allocations: 5.099 MB / 0.5443 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4338, allocations: 9.469 kB / 0.5443 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009824/0.4348, allocations: 0.5916 MB / 0.5449 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.4368, allocations: 0.5806 MB / 0.5455 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006261/0.4431, allocations: 2.629 MB / 0.548 GB, free: 14.12 MB / 398.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.000435/0.4435, allocations: 436.6 kB / 0.5484 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000853/0.4444, allocations: 435.9 kB / 0.5489 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.4566, allocations: 5.442 MB / 0.5542 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/0.4568, allocations: 21.55 kB / 0.5542 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004615/0.4573, allocations: 179.4 kB / 0.5544 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.4574, allocations: 198 kB / 0.5545 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009488/0.4669, allocations: 4.35 MB / 0.5588 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03464/0.5016, allocations: 15.94 MB / 0.5744 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/0.5059, allocations: 2.175 MB / 0.5765 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00333/0.5092, allocations: 1.639 MB / 0.5781 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.5095, allocations: 60.97 kB / 0.5782 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.545e-05/0.5095, allocations: 56.5 kB / 0.5782 GB, free: 2.445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 4.027e-06/0.5095, allocations: 0 / 0.5782 GB, free: 2.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.03485/0.5444, allocations: 12.83 MB / 0.5907 GB, free: 5.664 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.5445, allocations: 128.8 kB / 0.5909 GB, free: 5.512 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc0.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.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc0.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.1.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.1.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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/0.5489, allocations: 2.273 MB / 0.5931 GB, free: 3.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003073/0.5492, allocations: 69.69 kB / 0.5931 GB, free: 3.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.5508, allocations: 1.919 MB / 0.595 GB, free: 1.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008915/0.5517, allocations: 0.7641 MB / 0.5958 GB, free: 468 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008997/0.5526, allocations: 449 kB / 0.5962 GB, free: 12 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5528, allocations: 301.1 kB / 0.5965 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/0.5551, allocations: 1.247 MB / 0.5977 GB, free: 14.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002946/0.558, allocations: 1.938 MB / 0.5996 GB, free: 12.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01584/0.5739, allocations: 6.179 MB / 0.6056 GB, free: 5.836 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.639e-05/0.5739, allocations: 7.984 kB / 0.6056 GB, free: 5.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.01017/0.5841, allocations: 4.432 MB / 0.61 GB, free: 1.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.5841, allocations: 20.09 kB / 0.61 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.095e-05/0.5842, allocations: 20 kB / 0.61 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/0.5867, allocations: 1.003 MB / 0.611 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/0.5889, allocations: 0.5187 MB / 0.6115 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/0.6083, allocations: 16.77 MB / 0.6279 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.611, allocations: 183.8 kB / 0.628 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004249/0.6114, allocations: 108 kB / 0.6281 GB, free: 13.91 MB / 478.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" 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] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.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.004689/0.6161, allocations: 2.287 MB / 0.6304 GB, free: 11.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002912/0.619, allocations: 1.911 MB / 0.6322 GB, free: 9.414 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01531/0.6344, allocations: 6.136 MB / 0.6382 GB, free: 2.992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.574e-05/0.6344, allocations: 11.94 kB / 0.6382 GB, free: 2.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.009984/0.6444, allocations: 4.374 MB / 0.6425 GB, free: 14.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.6444, allocations: 16 kB / 0.6425 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.454e-05/0.6445, allocations: 23.98 kB / 0.6426 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002579/0.647, allocations: 0.9993 MB / 0.6435 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.6492, allocations: 0.5108 MB / 0.644 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/0.6696, allocations: 16.79 MB / 0.6604 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.6722, allocations: 155.8 kB / 0.6606 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004848/0.6727, allocations: 108 kB / 0.6607 GB, free: 11.06 MB / 0.4981 GB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" 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] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.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: 95 * Number of states: 0 () * Number of discrete variables: 4 (logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,actuator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 8 systems {(2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%), (2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009312/0.6737, allocations: 379.9 kB / 0.661 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007951/0.6745, allocations: 282.2 kB / 0.6613 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007957/0.6824, allocations: 3.839 MB / 0.6651 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.6824, allocations: 20 kB / 0.6651 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.87e-05/0.6825, allocations: 8 kB / 0.6651 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.404e-05/0.6825, allocations: 11.95 kB / 0.6651 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01848/0.701, allocations: 8.294 MB / 0.6732 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.701, allocations: 8 kB / 0.6732 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.7025, allocations: 331.5 kB / 0.6735 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002821/0.7053, allocations: 1.031 MB / 0.6745 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/0.7055, allocations: 71.89 kB / 0.6746 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/0.7245, allocations: 16.45 MB / 0.6907 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/0.7245, allocations: 7.938 kB / 0.6907 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/0.7367, allocations: 5.657 MB / 0.6962 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/0.739, allocations: 0.544 MB / 0.6967 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/0.7403, allocations: 59.98 kB / 0.6968 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/0.7429, allocations: 139.8 kB / 0.6969 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006807/0.7436, allocations: 201.5 kB / 0.6971 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003142/0.7439, allocations: 75.97 kB / 0.6972 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003882/0.7478, allocations: 1.53 MB / 0.6987 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7478, allocations: 3.938 kB / 0.6987 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007529/0.7553, allocations: 1.457 MB / 0.7001 GB, free: 1.445 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (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.01147/0.7668, allocations: 6.339 MB / 0.7063 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01727/0.7841, allocations: 9.568 MB / 0.7156 GB, free: 1.121 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.7841, allocations: 0 / 0.7156 GB, free: 1.121 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2208/1.005, allocations: 4.022 MB / 0.7196 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00411/1.009, allocations: 0.7096 MB / 0.7202 GB, free: 178.2 MB / 0.545 GB [/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.03844/1.047, allocations: 23.28 MB / 0.743 GB, free: 171.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/1.05, allocations: 2.867 MB / 0.7458 GB, free: 170.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002281/1.052, allocations: 0.7869 MB / 0.7465 GB, free: 170.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/1.054, allocations: 1.618 MB / 0.7481 GB, free: 169.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/1.054, allocations: 3.938 kB / 0.7481 GB, free: 169.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1642/1.218, allocations: 86.05 MB / 0.8322 GB, free: 91.92 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.18/19.4, allocations: 3.859 kB / 0.8322 GB, free: 91.91 MB / 0.545 GB " [Timeout remaining time 640] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_fmu --startTime=0 --stopTime=3 --stepSize=0.0006 --timeout=50 --tolerance=0.0001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.854238322004676] Failed to read output from testmodel.py, exit status != 0: 19.56781975715421 19.588181353 19.163852224 Calling exit ...