Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 78.45 kB / 19.01 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 165.5 kB / 22.26 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.332/1.332, allocations: 177.2 MB / 202.6 MB, free: 9.254 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.03918/0.03918, allocations: 6.48 MB / 265.5 MB, free: 10.39 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.91 kB / 391.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.1006, allocations: 55.41 MB / 446.8 MB, free: 2.938 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc0.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc0.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc0.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc0.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc0.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc0.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc0.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc0.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc0.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc0.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc0.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc0.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc0.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc0.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.2035/0.3041, allocations: 14.18 MB / 461 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008292/0.3124, allocations: 3.983 MB / 464.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.315, allocations: 124.7 kB / 465.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.3169, allocations: 0.8109 MB / 465.9 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003849/0.3207, allocations: 1.355 MB / 467.2 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.3225, allocations: 0.8603 MB / 468.1 MB, free: 3.762 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc0.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc0.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.005564/0.328, allocations: 4.99 MB / 473.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003047/0.3311, allocations: 2.406 MB / 475.5 MB, free: 16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005675/0.3368, allocations: 3.486 MB / 479 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004704/0.3415, allocations: 2.605 MB / 481.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009984/0.3425, allocations: 0.6127 MB / 482.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.344, allocations: 0.6935 MB / 482.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.3457, allocations: 1.667 MB / 484.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003107/0.3488, allocations: 2.168 MB / 486.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008973/0.3578, allocations: 7.915 MB / 494.6 MB, free: 1.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3578, allocations: 0 / 494.6 MB, free: 1.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3578, allocations: 0 / 494.6 MB, free: 1.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001589/0.3579, allocations: 0 / 494.6 MB, free: 1.891 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1120 * Number of variables: 1120 Notification: Performance of Generate backend data structure: time 0.01048/0.3684, allocations: 5.106 MB / 499.7 MB, free: 12.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3685, allocations: 12.03 kB / 499.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008016/0.3693, allocations: 0.5849 MB / 0.4886 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.3709, allocations: 0.5941 MB / 0.4892 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/0.376, allocations: 2.621 MB / 0.4918 GB, free: 8.855 MB / 398.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004254/0.3764, allocations: 439.4 kB / 0.4922 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006772/0.3771, allocations: 428 kB / 0.4926 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009079/0.3861, allocations: 5.695 MB / 0.4981 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.3862, allocations: 27.83 kB / 0.4982 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004321/0.3867, allocations: 182.7 kB / 0.4983 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000213/0.3869, allocations: 196.4 kB / 0.4985 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007621/0.3945, allocations: 4.339 MB / 0.5028 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02576/0.4203, allocations: 14.65 MB / 0.5171 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003971/0.4242, allocations: 2.166 MB / 0.5192 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/0.4274, allocations: 1.632 MB / 0.5208 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.4276, allocations: 60.39 kB / 0.5208 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.4277, allocations: 56.5 kB / 0.5209 GB, free: 10.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=179): time 4.298e-06/0.4277, allocations: 4 kB / 0.5209 GB, free: 10.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=213): time 0.03251/0.4602, allocations: 12.82 MB / 0.5334 GB, free: 13.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.4603, allocations: 128.8 kB / 0.5335 GB, free: 13.35 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc0.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc0.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/0.4641, allocations: 2.303 MB / 0.5358 GB, free: 11.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.4643, allocations: 65.7 kB / 0.5358 GB, free: 10.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.4658, allocations: 1.922 MB / 0.5377 GB, free: 9.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006909/0.4665, allocations: 0.7631 MB / 0.5385 GB, free: 8.238 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008122/0.4673, allocations: 457 kB / 0.5389 GB, free: 7.785 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4674, allocations: 305.1 kB / 0.5392 GB, free: 7.484 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.4695, allocations: 1.245 MB / 0.5404 GB, free: 6.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/0.4722, allocations: 1.981 MB / 0.5423 GB, free: 3.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/0.4866, allocations: 6.193 MB / 0.5484 GB, free: 13.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.472e-05/0.4866, allocations: 4 kB / 0.5484 GB, free: 13.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.008594/0.4952, allocations: 4.437 MB / 0.5527 GB, free: 8.961 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.4953, allocations: 16.09 kB / 0.5527 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/0.4953, allocations: 20 kB / 0.5528 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.4977, allocations: 0.9946 MB / 0.5537 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.4996, allocations: 0.5226 MB / 0.5542 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/0.5174, allocations: 16.68 MB / 0.5705 GB, free: 5.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.5196, allocations: 183.7 kB / 0.5707 GB, free: 5.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003882/0.52, allocations: 108 kB / 0.5708 GB, free: 5.504 MB / 478.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004165/0.5242, allocations: 2.288 MB / 0.573 GB, free: 3.215 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002729/0.5269, allocations: 1.962 MB / 0.575 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01382/0.5407, allocations: 6.129 MB / 0.5809 GB, free: 10.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-05/0.5407, allocations: 7.938 kB / 0.581 GB, free: 10.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.008104/0.5488, allocations: 4.382 MB / 0.5852 GB, free: 6.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.5489, allocations: 16.09 kB / 0.5853 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.239e-05/0.5489, allocations: 24 kB / 0.5853 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/0.5512, allocations: 0.9992 MB / 0.5862 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.553, allocations: 0.5148 MB / 0.5868 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/0.5707, allocations: 16.68 MB / 0.603 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.5728, allocations: 159.8 kB / 0.6032 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003363/0.5731, allocations: 108 kB / 0.6033 GB, free: 2.648 MB / 0.4981 GB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 4 (logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,actuator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%), (2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008002/0.5739, allocations: 385.6 kB / 0.6037 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006757/0.5746, allocations: 278.2 kB / 0.6039 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007284/0.5819, allocations: 3.828 MB / 0.6077 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.5819, allocations: 20 kB / 0.6077 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.173e-05/0.582, allocations: 12 kB / 0.6077 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.582, allocations: 7.969 kB / 0.6077 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.5972, allocations: 7.872 MB / 0.6154 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.5972, allocations: 8.938 kB / 0.6154 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.5986, allocations: 335.5 kB / 0.6157 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002676/0.6013, allocations: 1.031 MB / 0.6167 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/0.6014, allocations: 67.95 kB / 0.6168 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/0.6184, allocations: 16.34 MB / 0.6327 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/0.6184, allocations: 11.94 kB / 0.6328 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009842/0.6283, allocations: 5.665 MB / 0.6383 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/0.6299, allocations: 0.5332 MB / 0.6388 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006152/0.6305, allocations: 63.97 kB / 0.6389 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.6322, allocations: 147.8 kB / 0.639 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004913/0.6327, allocations: 197.5 kB / 0.6392 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/0.6329, allocations: 75.97 kB / 0.6393 GB, free: 12.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003031/0.636, allocations: 1.538 MB / 0.6408 GB, free: 10.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.636, allocations: 0 / 0.6408 GB, free: 10.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00522/0.6412, allocations: 1.457 MB / 0.6422 GB, free: 9.465 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01019/0.6514, allocations: 6.326 MB / 0.6484 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.1949/0.8463, allocations: 9.563 MB / 0.6577 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.8463, allocations: 8 kB / 0.6577 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005192/0.8515, allocations: 4.022 MB / 0.6617 GB, free: 175.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/0.8546, allocations: 0.719 MB / 0.6624 GB, free: 175.3 MB / 0.545 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03201/0.8866, allocations: 23.25 MB / 0.6851 GB, free: 165.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.8887, allocations: 2.343 MB / 0.6873 GB, free: 164.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002118/0.8908, allocations: 0.7759 MB / 0.6881 GB, free: 164.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/0.8923, allocations: 1.622 MB / 0.6897 GB, free: 163.1 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.8923, allocations: 0 / 0.6897 GB, free: 163.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/1.031, allocations: 88.34 MB / 0.776 GB, free: 78.49 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.32, allocations: 7.438 kB / 0.776 GB, free: 78.48 MB / 0.545 GB " [Timeout remaining time 644] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.011067126877606] Failed to read output from testmodel.py, exit status != 0: 16.493458323646337 16.511125759 16.149915574 Calling exit ...