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.006031/0.006031, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001276/0.001276, allocations: 194.7 kB / 16.67 MB, free: 5.52 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03939/0.03939, allocations: 8.037 MB / 298.6 MB, free: 6.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.89 kB / 412.6 MB, free: 22.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09573, allocations: 51.18 MB / 463.8 MB, free: 3.578 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc0.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc0.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc0.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc0.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc0.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc0.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc0.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc0.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc0.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc0.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc0.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc0.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc0.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc0.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.02901/0.1248, allocations: 15.04 MB / 478.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.1371, allocations: 3.733 MB / 482.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003367/0.1405, allocations: 83.69 kB / 482.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.1439, allocations: 0.7412 MB / 483.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006484/0.1504, allocations: 1.285 MB / 484.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.1531, allocations: 0.7554 MB / 485.4 MB, free: 13.86 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc0.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc0.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.006523/0.1596, allocations: 4.569 MB / 490 MB, free: 9.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005557/0.1652, allocations: 3.479 MB / 493.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.1684, allocations: 2.032 MB / 495.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/0.1722, allocations: 2.495 MB / 498 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.1737, allocations: 0.5391 MB / 498.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.1756, allocations: 0.6287 MB / 499.1 MB, free: 16 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.1776, allocations: 1.496 MB / 0.4889 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003823/0.1814, allocations: 2.396 MB / 0.4912 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007476/0.1889, allocations: 6.986 MB / 0.4981 GB, free: 5.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.189, allocations: 7.984 kB / 0.4981 GB, free: 5.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.189, allocations: 0 / 0.4981 GB, free: 5.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001709/0.1891, allocations: 0 / 0.4981 GB, free: 5.094 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.009175/0.1983, allocations: 4.622 MB / 0.5026 GB, free: 416 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1984, allocations: 12.03 kB / 0.5026 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2113/0.4097, allocations: 0.515 MB / 0.5031 GB, free: 42.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.4116, allocations: 489.1 kB / 0.5036 GB, free: 42.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004801/0.4164, allocations: 2.365 MB / 0.5059 GB, free: 41.86 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.0003014/0.4167, allocations: 343.7 kB / 0.5062 GB, free: 41.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006006/0.4173, allocations: 383.8 kB / 0.5066 GB, free: 41.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.4274, allocations: 4.926 MB / 0.5114 GB, free: 39.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.4276, allocations: 11.56 kB / 0.5114 GB, free: 39.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003338/0.4279, allocations: 155.6 kB / 0.5115 GB, free: 39.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002322/0.4281, allocations: 184.9 kB / 0.5117 GB, free: 39.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00798/0.4361, allocations: 4.037 MB / 0.5157 GB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02408/0.4602, allocations: 14.61 MB / 0.5299 GB, free: 28.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.4636, allocations: 2.635 MB / 0.5325 GB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.4658, allocations: 1.693 MB / 0.5342 GB, free: 24.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/0.4661, allocations: 135 kB / 0.5343 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.4661, allocations: 56.56 kB / 0.5343 GB, free: 24.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=171): time 3.657e-06/0.4661, allocations: 0 / 0.5343 GB, free: 24.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.02524/0.4914, allocations: 13.29 MB / 0.5473 GB, free: 10.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.4914, allocations: 132.8 kB / 0.5474 GB, free: 10.66 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc0.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc0.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.4939, allocations: 2.238 MB / 0.5496 GB, free: 8.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.494, allocations: 57.7 kB / 0.5497 GB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006663/0.4947, allocations: 1.672 MB / 0.5513 GB, free: 6.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/0.4951, allocations: 0.6957 MB / 0.552 GB, free: 5.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005497/0.4956, allocations: 424.5 kB / 0.5524 GB, free: 5.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.4957, allocations: 305.1 kB / 0.5527 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.4971, allocations: 1.229 MB / 0.5539 GB, free: 3.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.4988, allocations: 1.875 MB / 0.5557 GB, free: 1.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/0.5114, allocations: 6.152 MB / 0.5617 GB, free: 11.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/0.5114, allocations: 4 kB / 0.5617 GB, free: 11.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.007192/0.5186, allocations: 4.507 MB / 0.5661 GB, free: 6.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.5187, allocations: 16 kB / 0.5661 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.5187, allocations: 16 kB / 0.5662 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002248/0.521, allocations: 0.9994 MB / 0.5671 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.5228, allocations: 0.5031 MB / 0.5676 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/0.5392, allocations: 17.59 MB / 0.5848 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/0.5423, allocations: 167.8 kB / 0.585 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/0.5426, allocations: 104.7 kB / 0.5851 GB, free: 2.355 MB / 414.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004405/0.547, allocations: 2.198 MB / 0.5872 GB, free: 160 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002196/0.5492, allocations: 1.853 MB / 0.589 GB, free: 14.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01349/0.5627, allocations: 6.072 MB / 0.5949 GB, free: 7.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.423e-05/0.5627, allocations: 4 kB / 0.595 GB, free: 7.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.007772/0.5705, allocations: 4.469 MB / 0.5993 GB, free: 3.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.5706, allocations: 12 kB / 0.5993 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/0.5706, allocations: 20 kB / 0.5993 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/0.573, allocations: 0.9948 MB / 0.6003 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.5748, allocations: 499.2 kB / 0.6008 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/0.5915, allocations: 17.6 MB / 0.618 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.594, allocations: 159.8 kB / 0.6181 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004547/0.5945, allocations: 104 kB / 0.6182 GB, free: 14.66 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.0009829/0.5955, allocations: 381.5 kB / 0.6186 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009202/0.5964, allocations: 256.9 kB / 0.6188 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007311/0.6037, allocations: 3.951 MB / 0.6227 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.6038, allocations: 20 kB / 0.6227 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-05/0.6039, allocations: 15.88 kB / 0.6227 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.6039, allocations: 11.95 kB / 0.6227 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.62, allocations: 8.208 MB / 0.6308 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/0.6201, allocations: 8 kB / 0.6308 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.6216, allocations: 328.2 kB / 0.6311 GB, free: 1.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002832/0.6244, allocations: 1.033 MB / 0.6321 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/0.6247, allocations: 67.91 kB / 0.6322 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/0.6416, allocations: 17.23 MB / 0.649 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/0.6416, allocations: 11.94 kB / 0.649 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.652, allocations: 5.747 MB / 0.6546 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/0.6543, allocations: 0.5838 MB / 0.6552 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007932/0.6551, allocations: 63.92 kB / 0.6552 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/0.657, allocations: 147.8 kB / 0.6554 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005439/0.6576, allocations: 185.5 kB / 0.6556 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/0.6578, allocations: 71.97 kB / 0.6556 GB, free: 6.805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003322/0.6612, allocations: 1.516 MB / 0.6571 GB, free: 5.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6612, allocations: 0 / 0.6571 GB, free: 5.273 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006305/0.6675, allocations: 1.375 MB / 0.6584 GB, free: 3.898 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00968/0.6772, allocations: 6.42 MB / 0.6647 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.016/0.6932, allocations: 10.13 MB / 0.6746 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-05/0.6933, allocations: 3.859 kB / 0.6746 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006763/0.7001, allocations: 4.253 MB / 0.6788 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/0.7047, allocations: 0.6851 MB / 0.6794 GB, free: 13.72 MB / 0.5137 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04522/0.7499, allocations: 22.39 MB / 0.7013 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/0.7538, allocations: 2.693 MB / 0.7039 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002797/0.7566, allocations: 0.7553 MB / 0.7047 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/0.7588, allocations: 1.46 MB / 0.7061 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of SimCode: time 7.42e-07/0.7589, allocations: 0 / 0.7061 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3882/1.147, allocations: 80.61 MB / 0.7848 GB, free: 126 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/17.27, allocations: 7.844 kB / 0.7848 GB, free: 126 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=0.0001 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1)