Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_latest_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.007283/0.007283, allocations: 98.56 kB / 15.73 MB, free: 6.012 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.001644/0.001644, allocations: 191.7 kB / 16.67 MB, free: 5.949 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1533/0.1533, allocations: 8.021 MB / 298.6 MB, free: 2.352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 412.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2257, allocations: 51.19 MB / 463.8 MB, free: 18.05 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.01379/0.2395, allocations: 15.04 MB / 478.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007732/0.2473, allocations: 3.733 MB / 482.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/0.2502, allocations: 89.56 kB / 482.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.2526, allocations: 0.7475 MB / 483.4 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00519/0.2578, allocations: 1.271 MB / 484.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.2609, allocations: 0.7451 MB / 485.4 MB, free: 2.484 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.005947/0.2669, allocations: 4.576 MB / 490 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004618/0.2716, allocations: 3.462 MB / 493.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/0.2751, allocations: 2.032 MB / 495.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004379/0.2795, allocations: 2.501 MB / 498 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.281, allocations: 0.5442 MB / 498.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.2833, allocations: 0.6248 MB / 499.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002053/0.2854, allocations: 1.492 MB / 0.4889 GB, free: 8.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004184/0.2896, allocations: 2.396 MB / 0.4912 GB, free: 6.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008827/0.2984, allocations: 7.018 MB / 0.4981 GB, free: 15.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2985, allocations: 0 / 0.4981 GB, free: 15.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2985, allocations: 0 / 0.4981 GB, free: 15.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001845/0.2987, allocations: 0 / 0.4981 GB, free: 15.23 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.01075/0.3094, allocations: 4.73 MB / 0.5027 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3095, allocations: 8.031 kB / 0.5027 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001056/0.3106, allocations: 0.5188 MB / 0.5032 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.3121, allocations: 0.5059 MB / 0.5037 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004942/0.3171, allocations: 2.378 MB / 0.506 GB, free: 6.961 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.0003546/0.3175, allocations: 338.9 kB / 0.5064 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008741/0.3184, allocations: 379.9 kB / 0.5067 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009693/0.3281, allocations: 4.926 MB / 0.5115 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.3282, allocations: 11.94 kB / 0.5115 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004975/0.3287, allocations: 159.9 kB / 0.5117 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/0.3289, allocations: 183.3 kB / 0.5119 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008037/0.337, allocations: 4.034 MB / 0.5158 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02667/0.3637, allocations: 14.66 MB / 0.5301 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004212/0.3679, allocations: 2.651 MB / 0.5327 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/0.371, allocations: 1.69 MB / 0.5344 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.3713, allocations: 135 kB / 0.5345 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.3713, allocations: 56.56 kB / 0.5346 GB, free: 9.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=171): time 4.218e-06/0.3714, allocations: 0 / 0.5346 GB, free: 9.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=205): time 0.03195/0.4033, allocations: 13.34 MB / 0.5476 GB, free: 11.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.4034, allocations: 132.7 kB / 0.5477 GB, free: 11.44 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.003367/0.4068, allocations: 2.235 MB / 0.5499 GB, free: 9.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003225/0.4071, allocations: 61.7 kB / 0.5499 GB, free: 9.109 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.4083, allocations: 1.715 MB / 0.5516 GB, free: 7.375 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007197/0.4091, allocations: 0.7359 MB / 0.5523 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006921/0.4098, allocations: 424.6 kB / 0.5527 GB, free: 6.211 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.4099, allocations: 313.1 kB / 0.553 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/0.4118, allocations: 1.225 MB / 0.5542 GB, free: 4.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.4142, allocations: 1.872 MB / 0.5561 GB, free: 2.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/0.4283, allocations: 6.134 MB / 0.5621 GB, free: 12.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.037e-05/0.4283, allocations: 4 kB / 0.5621 GB, free: 12.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.008138/0.4365, allocations: 4.524 MB / 0.5665 GB, free: 7.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.4366, allocations: 12 kB / 0.5665 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.772e-05/0.4366, allocations: 23.98 kB / 0.5665 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.439, allocations: 1.008 MB / 0.5675 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/0.441, allocations: 0.5031 MB / 0.568 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/0.4574, allocations: 17.6 MB / 0.5852 GB, free: 3.211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.4598, allocations: 163.8 kB / 0.5853 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/0.4602, allocations: 104 kB / 0.5854 GB, free: 2.949 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.00379/0.464, allocations: 2.204 MB / 0.5876 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1835/0.6476, allocations: 1.837 MB / 0.5894 GB, free: 107.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01435/0.662, allocations: 6.081 MB / 0.5953 GB, free: 106.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.745e-05/0.662, allocations: 6.031 kB / 0.5953 GB, free: 106.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.00826/0.6703, allocations: 4.475 MB / 0.5997 GB, free: 104.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.6704, allocations: 13.52 kB / 0.5997 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.62e-05/0.6704, allocations: 20.34 kB / 0.5997 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/0.6727, allocations: 0.9922 MB / 0.6007 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.6747, allocations: 497.1 kB / 0.6012 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.6886, allocations: 17.6 MB / 0.6184 GB, free: 90.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.691, allocations: 168.2 kB / 0.6185 GB, free: 90.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/0.6913, allocations: 101.4 kB / 0.6186 GB, free: 90.3 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.0006175/0.692, allocations: 369.8 kB / 0.619 GB, free: 90 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/0.6925, allocations: 266.8 kB / 0.6192 GB, free: 90 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006267/0.6988, allocations: 3.958 MB / 0.6231 GB, free: 88.31 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.6988, allocations: 19.25 kB / 0.6231 GB, free: 88.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/0.6989, allocations: 12.19 kB / 0.6231 GB, free: 88.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.6989, allocations: 11.11 kB / 0.6231 GB, free: 88.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.7131, allocations: 8.219 MB / 0.6312 GB, free: 84.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.7131, allocations: 3.875 kB / 0.6312 GB, free: 84.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.7144, allocations: 338.7 kB / 0.6315 GB, free: 84.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/0.7167, allocations: 1.035 MB / 0.6325 GB, free: 84.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/0.7169, allocations: 65.88 kB / 0.6326 GB, free: 83.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.7284, allocations: 17.25 MB / 0.6494 GB, free: 68.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.7284, allocations: 8.547 kB / 0.6494 GB, free: 68.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007338/0.7357, allocations: 5.772 MB / 0.6551 GB, free: 62.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/0.7373, allocations: 0.5929 MB / 0.6556 GB, free: 61.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004598/0.7377, allocations: 59.98 kB / 0.6557 GB, free: 61.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.7393, allocations: 147.8 kB / 0.6558 GB, free: 61.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000405/0.7397, allocations: 189.5 kB / 0.656 GB, free: 61.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.7399, allocations: 67.97 kB / 0.6561 GB, free: 61.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001989/0.7419, allocations: 1.516 MB / 0.6576 GB, free: 59.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7419, allocations: 0 / 0.6576 GB, free: 59.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004956/0.7469, allocations: 1.381 MB / 0.6589 GB, free: 58.57 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.007535/0.7544, allocations: 6.429 MB / 0.6652 GB, free: 51.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01264/0.7671, allocations: 10.13 MB / 0.6751 GB, free: 41.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.7671, allocations: 1.906 kB / 0.6751 GB, free: 41.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005317/0.7725, allocations: 4.27 MB / 0.6792 GB, free: 37.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/0.7758, allocations: 0.6796 MB / 0.6799 GB, free: 36.37 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.03047/0.8063, allocations: 22.5 MB / 0.7019 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/0.8083, allocations: 2.701 MB / 0.7045 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0021/0.8104, allocations: 0.763 MB / 0.7053 GB, free: 9.547 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/0.8119, allocations: 1.46 MB / 0.7067 GB, free: 8.086 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8119, allocations: 0 / 0.7067 GB, free: 8.086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.145/0.957, allocations: 80.62 MB / 0.7854 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/16.14, allocations: 8.047 kB / 0.7854 GB, free: 7.988 MB / 0.5294 GB (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1)