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.001393/0.001393, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001796/0.001796, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.04282/0.04282, allocations: 8.541 MB / 321 MB, free: 10.41 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.002371/0.002371, allocations: 63.91 kB / 446.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1188, allocations: 55.42 MB / 0.4905 GB, free: 8.129 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.02022/0.139, allocations: 14.2 MB / 0.5044 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.1503, allocations: 3.99 MB / 0.5083 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00393/0.1543, allocations: 123.2 kB / 0.5084 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003783/0.158, allocations: 0.814 MB / 0.5092 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006469/0.1645, allocations: 1.359 MB / 0.5105 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.1672, allocations: 0.8578 MB / 0.5113 GB, free: 2.707 MB / 382.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.2434/0.4106, allocations: 4.974 MB / 0.5162 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006052/0.4167, allocations: 2.409 MB / 0.5186 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/0.4202, allocations: 2.298 MB / 0.5208 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005099/0.4253, allocations: 2.606 MB / 0.5233 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002027/0.4273, allocations: 0.6086 MB / 0.5239 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.4301, allocations: 0.7002 MB / 0.5246 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002736/0.4329, allocations: 1.663 MB / 0.5262 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004684/0.4376, allocations: 2.169 MB / 0.5284 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009259/0.4468, allocations: 7.916 MB / 0.5361 GB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.4468, allocations: 1.438 kB / 0.5361 GB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4468, allocations: 0.75 kB / 0.5361 GB, free: 5.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003711/0.4472, allocations: 0 / 0.5361 GB, free: 5.531 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.01394/0.4611, allocations: 5.101 MB / 0.5411 GB, free: 2.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4612, allocations: 9.406 kB / 0.5411 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009981/0.4622, allocations: 0.5916 MB / 0.5417 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.464, allocations: 0.582 MB / 0.5422 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005984/0.4699, allocations: 2.625 MB / 0.5448 GB, free: 15.8 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.0004719/0.4704, allocations: 440.6 kB / 0.5452 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.4715, allocations: 428.5 kB / 0.5456 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.4822, allocations: 5.705 MB / 0.5512 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.4823, allocations: 11.38 kB / 0.5512 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004124/0.4827, allocations: 179.7 kB / 0.5514 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.4829, allocations: 207.3 kB / 0.5516 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009295/0.4922, allocations: 4.332 MB / 0.5558 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02991/0.5221, allocations: 14.64 MB / 0.5701 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/0.5261, allocations: 2.163 MB / 0.5722 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003115/0.5292, allocations: 1.643 MB / 0.5738 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.5295, allocations: 49.97 kB / 0.5739 GB, free: 6.984 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.797e-05/0.5295, allocations: 62.48 kB / 0.5739 GB, free: 6.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=179): time 4.488e-06/0.5295, allocations: 0 / 0.5739 GB, free: 6.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.0375/0.567, allocations: 12.81 MB / 0.5864 GB, free: 10.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.5672, allocations: 129.8 kB / 0.5866 GB, free: 10 MB / 430.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.004427/0.5716, allocations: 2.309 MB / 0.5888 GB, free: 7.672 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004873/0.5721, allocations: 63.58 kB / 0.5889 GB, free: 7.605 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.5737, allocations: 1.927 MB / 0.5908 GB, free: 5.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008974/0.5746, allocations: 0.7612 MB / 0.5915 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008041/0.5754, allocations: 457 kB / 0.5919 GB, free: 4.465 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5755, allocations: 309 kB / 0.5922 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.5777, allocations: 1.243 MB / 0.5935 GB, free: 2.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/0.5804, allocations: 1.986 MB / 0.5954 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/0.5952, allocations: 6.193 MB / 0.6014 GB, free: 10.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-05/0.5952, allocations: 4 kB / 0.6014 GB, free: 10.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.008596/0.6038, allocations: 4.428 MB / 0.6058 GB, free: 5.898 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.6039, allocations: 12.62 kB / 0.6058 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.6039, allocations: 23.94 kB / 0.6058 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/0.6063, allocations: 1.003 MB / 0.6068 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.6084, allocations: 0.524 MB / 0.6073 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.6267, allocations: 16.66 MB / 0.6236 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.6294, allocations: 183.7 kB / 0.6237 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/0.6297, allocations: 108 kB / 0.6238 GB, free: 2.582 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.004575/0.6343, allocations: 2.295 MB / 0.6261 GB, free: 296 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002817/0.6371, allocations: 1.967 MB / 0.628 GB, free: 14.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01424/0.6514, allocations: 6.123 MB / 0.634 GB, free: 7.688 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.667e-05/0.6514, allocations: 8 kB / 0.634 GB, free: 7.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.008475/0.6599, allocations: 4.382 MB / 0.6383 GB, free: 3.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.6599, allocations: 16.56 kB / 0.6383 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/0.6599, allocations: 24 kB / 0.6383 GB, free: 3.371 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.6624, allocations: 0.9983 MB / 0.6393 GB, free: 2.348 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.6646, allocations: 0.5179 MB / 0.6398 GB, free: 1.863 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.683, allocations: 16.67 MB / 0.6561 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/0.6856, allocations: 163.9 kB / 0.6562 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/0.6859, allocations: 111.9 kB / 0.6563 GB, free: 112 kB / 494.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: 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.0007706/0.6867, allocations: 374.4 kB / 0.6567 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006146/0.6873, allocations: 282.5 kB / 0.657 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007423/0.6948, allocations: 3.835 MB / 0.6607 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/0.6948, allocations: 20 kB / 0.6607 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-05/0.6948, allocations: 8 kB / 0.6607 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.61e-05/0.6948, allocations: 11.95 kB / 0.6607 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.7118, allocations: 7.873 MB / 0.6684 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.7118, allocations: 11.88 kB / 0.6684 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.7132, allocations: 340.3 kB / 0.6688 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002789/0.716, allocations: 1.038 MB / 0.6698 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/0.7162, allocations: 63.97 kB / 0.6698 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.7338, allocations: 16.33 MB / 0.6858 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/0.7338, allocations: 11.94 kB / 0.6858 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/0.7439, allocations: 5.669 MB / 0.6913 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/0.746, allocations: 0.5332 MB / 0.6919 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006441/0.7467, allocations: 59.98 kB / 0.6919 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/0.7485, allocations: 143.8 kB / 0.6921 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005596/0.749, allocations: 201.4 kB / 0.6922 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/0.7492, allocations: 71.97 kB / 0.6923 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002721/0.7519, allocations: 1.534 MB / 0.6938 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7519, allocations: 0 / 0.6938 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006092/0.758, allocations: 1.453 MB / 0.6952 GB, free: 7.148 MB / 0.5294 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.01064/0.7687, allocations: 6.342 MB / 0.7014 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01667/0.7853, allocations: 9.569 MB / 0.7108 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/0.7853, allocations: 8.062 kB / 0.7108 GB, free: 6.812 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007002/0.7923, allocations: 4.017 MB / 0.7147 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004229/0.7966, allocations: 0.7269 MB / 0.7154 GB, free: 1.93 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.2501/1.047, allocations: 23.25 MB / 0.7381 GB, free: 175.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002722/1.049, allocations: 2.339 MB / 0.7404 GB, free: 175.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002416/1.052, allocations: 0.782 MB / 0.7412 GB, free: 175.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/1.054, allocations: 1.62 MB / 0.7427 GB, free: 173.8 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/1.054, allocations: 0 / 0.7427 GB, free: 173.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1628/1.216, allocations: 88.09 MB / 0.8288 GB, free: 95.19 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/16.59, allocations: 4.062 kB / 0.8288 GB, free: 95.18 MB / 0.545 GB " [Timeout remaining time 643] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA_fmu --startTime=0 --stopTime=3 --stepSize=0.0006 --timeout=50 --tolerance=0.0001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.0469116079621] Failed to read output from testmodel.py, exit status != 0: 16.752522009890527 16.76210197 16.312792226 Calling exit ...