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.005588/0.005588, allocations: 95.78 kB / 15.73 MB, free: 6.031 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.001385/0.001385, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1494/0.1494, allocations: 8.014 MB / 298.6 MB, free: 2.258 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 60.08 kB / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2567, allocations: 51.2 MB / 463.8 MB, free: 17.97 MB / 350.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.01367/0.2704, allocations: 15.04 MB / 478.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007846/0.2783, allocations: 3.738 MB / 482.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/0.2811, allocations: 86.25 kB / 482.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.2834, allocations: 0.7448 MB / 483.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.2876, allocations: 1.275 MB / 484.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.2895, allocations: 0.757 MB / 485.4 MB, free: 2.438 MB / 350.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.005608/0.2951, allocations: 4.567 MB / 490 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004409/0.2996, allocations: 3.477 MB / 493.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.303, allocations: 2.028 MB / 495.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004387/0.3074, allocations: 2.497 MB / 498 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.3089, allocations: 0.5404 MB / 498.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002244/0.3112, allocations: 0.6248 MB / 499.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.3131, allocations: 1.492 MB / 0.4889 GB, free: 8.648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003827/0.3169, allocations: 2.4 MB / 0.4912 GB, free: 6.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008549/0.3255, allocations: 7.007 MB / 0.4981 GB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3255, allocations: 3.938 kB / 0.4981 GB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3256, allocations: 4 kB / 0.4981 GB, free: 15.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002121/0.3258, allocations: 0 / 0.4981 GB, free: 15.2 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.01021/0.336, allocations: 4.738 MB / 0.5027 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.336, allocations: 8.031 kB / 0.5027 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007184/0.3368, allocations: 0.5226 MB / 0.5032 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.338, allocations: 0.4981 MB / 0.5037 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004567/0.3426, allocations: 2.374 MB / 0.506 GB, free: 6.926 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.0004563/0.3431, allocations: 346.9 kB / 0.5064 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007614/0.3439, allocations: 383.9 kB / 0.5067 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008184/0.3521, allocations: 4.922 MB / 0.5115 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.99e-05/0.3522, allocations: 11.95 kB / 0.5116 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/0.3526, allocations: 160 kB / 0.5117 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/0.3528, allocations: 183.2 kB / 0.5119 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006906/0.3597, allocations: 4.034 MB / 0.5158 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02351/0.3832, allocations: 14.66 MB / 0.5301 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.3872, allocations: 2.643 MB / 0.5327 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/0.3901, allocations: 1.701 MB / 0.5344 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.3904, allocations: 135 kB / 0.5345 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.3905, allocations: 52.56 kB / 0.5346 GB, free: 9.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=171): time 4.198e-06/0.3905, allocations: 0 / 0.5346 GB, free: 9.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=205): time 0.03099/0.4215, allocations: 13.34 MB / 0.5476 GB, free: 11.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.4216, allocations: 124.8 kB / 0.5477 GB, free: 11.41 MB / 430.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.003242/0.4249, allocations: 2.237 MB / 0.5499 GB, free: 9.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003143/0.4252, allocations: 61.7 kB / 0.5499 GB, free: 9.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.4263, allocations: 1.719 MB / 0.5516 GB, free: 7.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000713/0.4271, allocations: 0.7321 MB / 0.5523 GB, free: 6.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006883/0.4278, allocations: 432.6 kB / 0.5528 GB, free: 6.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4279, allocations: 301.1 kB / 0.553 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.4298, allocations: 1.233 MB / 0.5542 GB, free: 4.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.4322, allocations: 1.872 MB / 0.5561 GB, free: 2.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01382/0.446, allocations: 6.146 MB / 0.5621 GB, free: 12.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/0.4461, allocations: 4 kB / 0.5621 GB, free: 12.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.007732/0.4538, allocations: 4.516 MB / 0.5665 GB, free: 7.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.4539, allocations: 12 kB / 0.5665 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.811e-05/0.4539, allocations: 20.62 kB / 0.5665 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/0.4563, allocations: 0.9997 MB / 0.5675 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.4582, allocations: 0.503 MB / 0.568 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.4743, allocations: 17.61 MB / 0.5852 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/0.4766, allocations: 175.8 kB / 0.5854 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/0.4769, allocations: 104 kB / 0.5855 GB, free: 2.902 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003512/0.4804, allocations: 2.189 MB / 0.5876 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1893/0.6697, allocations: 1.841 MB / 0.5894 GB, free: 107.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01507/0.6848, allocations: 6.08 MB / 0.5953 GB, free: 106.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.579e-05/0.6849, allocations: 6 kB / 0.5953 GB, free: 106.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.008303/0.6932, allocations: 4.471 MB / 0.5997 GB, free: 104.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.6933, allocations: 14.27 kB / 0.5997 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.409e-05/0.6933, allocations: 21.06 kB / 0.5997 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.6956, allocations: 0.993 MB / 0.6007 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.6976, allocations: 0.4911 MB / 0.6012 GB, free: 104.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.711, allocations: 17.6 MB / 0.6184 GB, free: 90.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.7135, allocations: 159.3 kB / 0.6185 GB, free: 90.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.7137, allocations: 105.5 kB / 0.6186 GB, free: 90.13 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.0006376/0.7144, allocations: 372.8 kB / 0.619 GB, free: 89.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005193/0.7149, allocations: 263.9 kB / 0.6192 GB, free: 89.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006541/0.7215, allocations: 3.964 MB / 0.6231 GB, free: 88.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.7215, allocations: 20 kB / 0.6231 GB, free: 88.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/0.7215, allocations: 12.28 kB / 0.6231 GB, free: 88.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.7216, allocations: 11.06 kB / 0.6231 GB, free: 88.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.735, allocations: 8.213 MB / 0.6312 GB, free: 84.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.735, allocations: 11.83 kB / 0.6312 GB, free: 84.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.7363, allocations: 325.5 kB / 0.6315 GB, free: 84.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/0.7385, allocations: 1.049 MB / 0.6325 GB, free: 83.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.7387, allocations: 61.66 kB / 0.6326 GB, free: 83.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/0.7503, allocations: 17.24 MB / 0.6494 GB, free: 68.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.7503, allocations: 15.92 kB / 0.6494 GB, free: 68.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007104/0.7574, allocations: 5.759 MB / 0.655 GB, free: 62.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/0.7588, allocations: 0.6004 MB / 0.6556 GB, free: 61.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/0.7592, allocations: 55.98 kB / 0.6557 GB, free: 61.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.7607, allocations: 147.8 kB / 0.6558 GB, free: 61.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003561/0.761, allocations: 193.5 kB / 0.656 GB, free: 61.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.7612, allocations: 74.61 kB / 0.6561 GB, free: 61.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001801/0.763, allocations: 1.512 MB / 0.6576 GB, free: 59.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.763, allocations: 0 / 0.6576 GB, free: 59.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004313/0.7673, allocations: 1.378 MB / 0.6589 GB, free: 58.51 MB / 462.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.007251/0.7746, allocations: 6.435 MB / 0.6652 GB, free: 51.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01225/0.7869, allocations: 10.13 MB / 0.6751 GB, free: 41.42 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.7869, allocations: 0 / 0.6751 GB, free: 41.42 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005173/0.7921, allocations: 4.263 MB / 0.6792 GB, free: 36.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/0.7954, allocations: 0.6749 MB / 0.6799 GB, free: 36.31 MB / 462.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.03082/0.8262, allocations: 22.52 MB / 0.7019 GB, free: 12.97 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/0.8284, allocations: 2.693 MB / 0.7045 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002124/0.8305, allocations: 0.7592 MB / 0.7053 GB, free: 9.488 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/0.8321, allocations: 1.46 MB / 0.7067 GB, free: 8.027 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.8321, allocations: 0 / 0.7067 GB, free: 8.027 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/0.9776, allocations: 80.6 MB / 0.7854 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.67, allocations: 15.92 kB / 0.7854 GB, free: 7.926 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 & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0006 EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1)