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.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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007482/0.007482, allocations: 100.9 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 197.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03821/0.03821, allocations: 8.043 MB / 298.6 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 59.91 kB / 412.6 MB, free: 22.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08717/0.08853, allocations: 51.19 MB / 463.8 MB, free: 3.527 MB / 334.1 MB [/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: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) 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) 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*(1 - sqrt(1 - 0.0667))/(2*pi*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=3*sqrt(1 - 0.0667)/(2*pi*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*(1 - sqrt(1 - 0.0667))/(2*pi*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) 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. [/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 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.0.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.0.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.0.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.0.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) 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 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.0.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.0.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*(1 - sqrt(1 - 0.0667))/(2*pi*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 aimc0.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*sqrt(1 - 0.0667)/(2*pi*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 aimc0.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*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 aimc0.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 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.0.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.0.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.01595/0.1045, allocations: 15.04 MB / 478.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007617/0.1122, allocations: 3.729 MB / 482.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.1145, allocations: 87.69 kB / 482.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.1169, allocations: 0.745 MB / 483.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.1217, allocations: 1.274 MB / 484.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.1243, allocations: 0.749 MB / 485.4 MB, free: 13.82 MB / 366.1 MB [/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/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.0.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.006899/0.1312, allocations: 4.565 MB / 490 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005087/0.1363, allocations: 3.475 MB / 493.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.1393, allocations: 2.04 MB / 495.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003824/0.1432, allocations: 2.491 MB / 498 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.1444, allocations: 0.5391 MB / 498.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.1459, allocations: 0.6249 MB / 499.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.1472, allocations: 1.5 MB / 0.4889 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002499/0.1497, allocations: 2.396 MB / 0.4912 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006167/0.1558, allocations: 6.986 MB / 0.4981 GB, free: 5.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1559, allocations: 3.938 kB / 0.4981 GB, free: 5.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1559, allocations: 0 / 0.4981 GB, free: 5.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001492/0.156, allocations: 4 kB / 0.4981 GB, free: 5.055 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: 978 * Number of variables: 978 Notification: Performance of Generate backend data structure: time 0.009096/0.1651, allocations: 4.629 MB / 0.5026 GB, free: 368 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1652, allocations: 8.031 kB / 0.5026 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.183/0.3482, allocations: 0.5126 MB / 0.5031 GB, free: 42.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.3499, allocations: 494 kB / 0.5036 GB, free: 42.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00447/0.3544, allocations: 2.361 MB / 0.5059 GB, free: 41.78 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.0002772/0.3547, allocations: 348 kB / 0.5062 GB, free: 41.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006535/0.3553, allocations: 382.2 kB / 0.5066 GB, free: 41.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009091/0.3644, allocations: 4.924 MB / 0.5114 GB, free: 39.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.3646, allocations: 11.17 kB / 0.5114 GB, free: 39.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003198/0.3649, allocations: 156.7 kB / 0.5115 GB, free: 39.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/0.3651, allocations: 186.3 kB / 0.5117 GB, free: 39.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007919/0.373, allocations: 4.032 MB / 0.5157 GB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/0.3933, allocations: 14.61 MB / 0.5299 GB, free: 28.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.3963, allocations: 2.637 MB / 0.5325 GB, free: 26.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002261/0.3986, allocations: 1.697 MB / 0.5342 GB, free: 24.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.3988, allocations: 135.1 kB / 0.5343 GB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3989, allocations: 52.56 kB / 0.5343 GB, free: 24.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=171): time 3.266e-06/0.3989, allocations: 0 / 0.5343 GB, free: 24.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.02582/0.4247, allocations: 13.29 MB / 0.5473 GB, free: 10.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.4248, allocations: 132.7 kB / 0.5474 GB, free: 10.61 MB / 382.1 MB [/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 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.0.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.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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.4273, allocations: 2.233 MB / 0.5496 GB, free: 8.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.4274, allocations: 61.7 kB / 0.5497 GB, free: 8.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/0.4281, allocations: 1.663 MB / 0.5513 GB, free: 6.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.4285, allocations: 0.7058 MB / 0.552 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/0.4291, allocations: 424.5 kB / 0.5524 GB, free: 5.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.6e-05/0.4291, allocations: 305.1 kB / 0.5527 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.4307, allocations: 1.229 MB / 0.5539 GB, free: 3.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.4324, allocations: 1.871 MB / 0.5557 GB, free: 1.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/0.4454, allocations: 6.149 MB / 0.5617 GB, free: 11.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.4455, allocations: 8 kB / 0.5617 GB, free: 11.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.007262/0.4527, allocations: 4.509 MB / 0.5661 GB, free: 6.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.4528, allocations: 18.48 kB / 0.5661 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.4528, allocations: 20 kB / 0.5662 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.4551, allocations: 1.005 MB / 0.5671 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.4569, allocations: 0.4953 MB / 0.5676 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/0.473, allocations: 17.59 MB / 0.5848 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.4753, allocations: 167.9 kB / 0.585 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003664/0.4756, allocations: 101.7 kB / 0.5851 GB, free: 2.309 MB / 414.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.003808/0.4795, allocations: 2.195 MB / 0.5872 GB, free: 116 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002521/0.482, allocations: 1.849 MB / 0.589 GB, free: 13.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01384/0.4959, allocations: 6.08 MB / 0.5949 GB, free: 7.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.952e-05/0.4959, allocations: 4 kB / 0.595 GB, free: 7.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.007677/0.5036, allocations: 4.46 MB / 0.5993 GB, free: 3.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.5036, allocations: 16 kB / 0.5993 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.5037, allocations: 20.3 kB / 0.5993 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.5059, allocations: 1.001 MB / 0.6003 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.5077, allocations: 0.4914 MB / 0.6008 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/0.5236, allocations: 17.6 MB / 0.618 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.5258, allocations: 155.8 kB / 0.6181 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003592/0.5262, allocations: 99.98 kB / 0.6182 GB, free: 14.61 MB / 462.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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (260): * Single equations (assignments): 249 * 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.0006854/0.5268, allocations: 367 kB / 0.6186 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006263/0.5275, allocations: 256.9 kB / 0.6188 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00704/0.5345, allocations: 3.951 MB / 0.6227 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.5346, allocations: 23.94 kB / 0.6227 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.869e-05/0.5346, allocations: 11.94 kB / 0.6227 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.5346, allocations: 11.95 kB / 0.6227 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.5493, allocations: 8.22 MB / 0.6308 GB, free: 1.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.5493, allocations: 4 kB / 0.6308 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.5507, allocations: 327.6 kB / 0.6311 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002679/0.5534, allocations: 1.033 MB / 0.6321 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/0.5536, allocations: 71.95 kB / 0.6322 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/0.5704, allocations: 17.23 MB / 0.649 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.5704, allocations: 8.5 kB / 0.649 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.5806, allocations: 5.753 MB / 0.6546 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/0.5822, allocations: 0.5837 MB / 0.6552 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006724/0.5829, allocations: 59.92 kB / 0.6552 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/0.5847, allocations: 147.8 kB / 0.6554 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004442/0.5852, allocations: 189.5 kB / 0.6556 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/0.5853, allocations: 71.91 kB / 0.6556 GB, free: 6.758 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002534/0.5879, allocations: 1.516 MB / 0.6571 GB, free: 5.227 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5879, allocations: 0 / 0.6571 GB, free: 5.227 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004909/0.5928, allocations: 1.375 MB / 0.6584 GB, free: 3.852 MB / 494.1 MB 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 (168): * Single equations (assignments): 157 * 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.009407/0.6022, allocations: 6.423 MB / 0.6647 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01516/0.6174, allocations: 10.12 MB / 0.6746 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.6175, allocations: 3.859 kB / 0.6746 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006128/0.6236, allocations: 4.253 MB / 0.6788 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003534/0.6272, allocations: 0.6888 MB / 0.6794 GB, free: 13.67 MB / 0.5137 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.03591/0.6631, allocations: 22.39 MB / 0.7013 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/0.6663, allocations: 2.69 MB / 0.7039 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002351/0.6687, allocations: 0.7631 MB / 0.7047 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/0.6706, allocations: 1.46 MB / 0.7061 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.6706, allocations: 0 / 0.7061 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3199/0.9905, allocations: 80.6 MB / 0.7848 GB, free: 126 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.33, allocations: 7.062 kB / 0.7848 GB, free: 126 MB / 0.5294 GB (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 --timeout=50 --tolerance=0.0001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1)