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.001737/0.001737, allocations: 114.8 kB / 17.16 MB, free: 5.969 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.002066/0.002066, allocations: 214.2 kB / 20.13 MB, free: 3.023 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.537/1.537, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.05987/0.05987, allocations: 8.541 MB / 318.1 MB, free: 0 / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="cs",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.001948/0.001948, allocations: 68.83 kB / 442.4 MB, free: 40.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1158, allocations: 55.39 MB / 497.8 MB, free: 7.16 MB / 350.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.01656/0.1324, allocations: 16.46 MB / 0.5022 GB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.1426, allocations: 4.083 MB / 0.5062 GB, free: 2.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.1454, allocations: 127.2 kB / 0.5063 GB, free: 2.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.1479, allocations: 0.8336 MB / 0.5072 GB, free: 1.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005136/0.1531, allocations: 1.347 MB / 0.5085 GB, free: 220 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.1554, allocations: 0.8648 MB / 0.5093 GB, free: 15.35 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.00719/0.1626, allocations: 4.982 MB / 0.5142 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005621/0.1682, allocations: 3.17 MB / 0.5173 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004231/0.1725, allocations: 2.29 MB / 0.5195 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00472/0.1772, allocations: 2.79 MB / 0.5222 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.1787, allocations: 0.6133 MB / 0.5228 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.181, allocations: 0.7029 MB / 0.5235 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002127/0.1831, allocations: 1.663 MB / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005123/0.1882, allocations: 2.691 MB / 0.5278 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.1989, allocations: 7.859 MB / 0.5355 GB, free: 4.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1989, allocations: 0 / 0.5355 GB, free: 4.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1989, allocations: 0 / 0.5355 GB, free: 4.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001838/0.1991, allocations: 0 / 0.5355 GB, free: 4.418 MB / 398.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.01228/0.2114, allocations: 5.173 MB / 0.5405 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.2115, allocations: 20.02 kB / 0.5405 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001218/0.2116, allocations: 112.8 kB / 0.5406 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001089/0.2127, allocations: 0.5888 MB / 0.5412 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.2146, allocations: 0.5836 MB / 0.5418 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005598/0.2202, allocations: 2.703 MB / 0.5444 GB, free: 11.09 MB / 414.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.000436/0.2206, allocations: 387.9 kB / 0.5448 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.2216, allocations: 435.9 kB / 0.5452 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.2327, allocations: 5.448 MB / 0.5505 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.2328, allocations: 19.94 kB / 0.5505 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004075/0.2332, allocations: 176 kB / 0.5507 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/0.2335, allocations: 200.4 kB / 0.5509 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008538/0.242, allocations: 4.347 MB / 0.5551 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02935/0.2713, allocations: 16.22 MB / 0.571 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004162/0.2755, allocations: 2.613 MB / 0.5735 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003183/0.2787, allocations: 1.653 MB / 0.5752 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.279, allocations: 135.1 kB / 0.5753 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.279, allocations: 56.5 kB / 0.5753 GB, free: 10.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 3.387e-06/0.279, allocations: 4 kB / 0.5753 GB, free: 10.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=213): time 0.2721/0.5511, allocations: 13.64 MB / 0.5887 GB, free: 84.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.5512, allocations: 126 kB / 0.5888 GB, free: 84.76 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.004043/0.5552, allocations: 2.273 MB / 0.591 GB, free: 84.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000443/0.5557, allocations: 62.17 kB / 0.5911 GB, free: 84.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.5571, allocations: 1.923 MB / 0.5929 GB, free: 82.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007967/0.5579, allocations: 0.7638 MB / 0.5937 GB, free: 82.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007974/0.5587, allocations: 452.2 kB / 0.5941 GB, free: 82.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.5588, allocations: 305.9 kB / 0.5944 GB, free: 81.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/0.5612, allocations: 1.242 MB / 0.5956 GB, free: 81.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/0.5639, allocations: 1.93 MB / 0.5975 GB, free: 80.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/0.5771, allocations: 6.199 MB / 0.6036 GB, free: 77.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.085e-05/0.5772, allocations: 7.875 kB / 0.6036 GB, free: 77.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.00679/0.5839, allocations: 4.575 MB / 0.608 GB, free: 75.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.584, allocations: 15.53 kB / 0.608 GB, free: 75.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/0.584, allocations: 23.31 kB / 0.6081 GB, free: 75.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.586, allocations: 1.003 MB / 0.609 GB, free: 75.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.5878, allocations: 0.5215 MB / 0.6096 GB, free: 75.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.5994, allocations: 17.6 MB / 0.6267 GB, free: 58.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/0.602, allocations: 186.1 kB / 0.6269 GB, free: 58.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.6022, allocations: 108 kB / 0.627 GB, free: 58.36 MB / 446.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.003349/0.6055, allocations: 2.292 MB / 0.6293 GB, free: 56.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001715/0.6073, allocations: 1.908 MB / 0.6311 GB, free: 53.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0116/0.6189, allocations: 6.141 MB / 0.6371 GB, free: 47.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.2e-05/0.6189, allocations: 4 kB / 0.6371 GB, free: 47.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.006716/0.6256, allocations: 4.528 MB / 0.6415 GB, free: 42.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.6256, allocations: 19.94 kB / 0.6416 GB, free: 42.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.6256, allocations: 20 kB / 0.6416 GB, free: 42.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/0.6276, allocations: 1.003 MB / 0.6426 GB, free: 41.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.6293, allocations: 0.5108 MB / 0.6431 GB, free: 41.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.6406, allocations: 17.59 MB / 0.6602 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.6435, allocations: 163.8 kB / 0.6604 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003285/0.6438, allocations: 108 kB / 0.6605 GB, free: 22.3 MB / 446.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.0006944/0.6445, allocations: 386.1 kB / 0.6609 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/0.6451, allocations: 274.3 kB / 0.6611 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005689/0.6508, allocations: 3.984 MB / 0.665 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.6508, allocations: 20 kB / 0.665 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.6508, allocations: 12 kB / 0.6651 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.6508, allocations: 9.469 kB / 0.6651 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/0.6628, allocations: 8.474 MB / 0.6733 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.6628, allocations: 11.94 kB / 0.6733 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.664, allocations: 335.6 kB / 0.6737 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002275/0.6663, allocations: 1.043 MB / 0.6747 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/0.6664, allocations: 71.62 kB / 0.6748 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/0.6814, allocations: 17.24 MB / 0.6916 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.6814, allocations: 11.94 kB / 0.6916 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009966/0.6913, allocations: 5.81 MB / 0.6973 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/0.6932, allocations: 0.6084 MB / 0.6979 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004748/0.6937, allocations: 59.98 kB / 0.6979 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/0.6952, allocations: 143.8 kB / 0.6981 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004756/0.6957, allocations: 197.5 kB / 0.6983 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/0.6958, allocations: 67.98 kB / 0.6983 GB, free: 14.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002864/0.6987, allocations: 1.534 MB / 0.6998 GB, free: 12.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6987, allocations: 0 / 0.6998 GB, free: 12.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005632/0.7043, allocations: 1.457 MB / 0.7012 GB, free: 11.04 MB / 478.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 (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.0104/0.7147, allocations: 6.484 MB / 0.7076 GB, free: 4.359 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01641/0.7311, allocations: 9.87 MB / 0.7172 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.7311, allocations: 8.25 kB / 0.7172 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00659/0.7377, allocations: 4.171 MB / 0.7213 GB, free: 5.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/0.7418, allocations: 0.7138 MB / 0.722 GB, free: 5.09 MB / 494.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04179/0.7836, allocations: 23.39 MB / 0.7448 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00337/0.787, allocations: 2.878 MB / 0.7476 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002527/0.7895, allocations: 0.7758 MB / 0.7484 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002307/0.7918, allocations: 1.624 MB / 0.75 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.7918, allocations: 0 / 0.75 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3954/1.187, allocations: 83.58 MB / 0.8316 GB, free: 157.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/17.32, allocations: 6.234 kB / 0.8316 GB, free: 157.8 MB / 0.545 GB " [Timeout remaining time 642] (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: 22.00539226195542] Failed to read output from testmodel.py, exit status != 0: 17.51142716401955 17.521066863 17.319843451 Calling exit ...