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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04084/0.04084, allocations: 8.537 MB / 311.2 MB, free: 2.094 MB / 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-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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002977/0.002977, allocations: 67.89 kB / 433.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2654, allocations: 54.2 MB / 487.4 MB, free: 25.35 MB / 366.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.01518/0.2806, allocations: 16.4 MB / 0.492 GB, free: 13.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008221/0.2888, allocations: 4.033 MB / 0.496 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.292, allocations: 100.7 kB / 0.496 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.2942, allocations: 0.8383 MB / 0.4969 GB, free: 9.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00485/0.2991, allocations: 1.341 MB / 0.4982 GB, free: 8.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.3013, allocations: 0.855 MB / 0.499 GB, free: 7.66 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.006/0.3073, allocations: 4.944 MB / 0.5038 GB, free: 4.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/0.311, allocations: 3.165 MB / 0.5069 GB, free: 2.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.3142, allocations: 2.238 MB / 0.5091 GB, free: 1.559 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003943/0.3181, allocations: 2.784 MB / 0.5118 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.3193, allocations: 0.6106 MB / 0.5124 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.3212, allocations: 0.699 MB / 0.5131 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.3229, allocations: 1.648 MB / 0.5147 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004352/0.3273, allocations: 2.68 MB / 0.5173 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009193/0.3365, allocations: 7.845 MB / 0.525 GB, free: 2.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3365, allocations: 0 / 0.525 GB, free: 2.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3365, allocations: 0 / 0.525 GB, free: 2.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001765/0.3366, allocations: 0 / 0.525 GB, free: 2.254 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1120 * Number of variables: 1120 Notification: Performance of Generate backend data structure: time 0.01048/0.3471, allocations: 5.15 MB / 0.53 GB, free: 13.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3472, allocations: 15.89 kB / 0.53 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000791/0.348, allocations: 0.5927 MB / 0.5306 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.3492, allocations: 0.5563 MB / 0.5312 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004934/0.3542, allocations: 2.575 MB / 0.5337 GB, free: 9.215 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.0004012/0.3546, allocations: 388 kB / 0.534 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006623/0.3552, allocations: 431.9 kB / 0.5345 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0098/0.365, allocations: 5.456 MB / 0.5398 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.3652, allocations: 15.94 kB / 0.5398 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003936/0.3655, allocations: 184 kB / 0.54 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002192/0.3658, allocations: 196.4 kB / 0.5402 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008494/0.3743, allocations: 4.374 MB / 0.5444 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03093/0.4052, allocations: 16.29 MB / 0.5603 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/0.4096, allocations: 2.628 MB / 0.5629 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/0.4129, allocations: 1.659 MB / 0.5645 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.4132, allocations: 137.5 kB / 0.5647 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/0.4132, allocations: 48.56 kB / 0.5647 GB, free: 8.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=179): time 4.299e-06/0.4132, allocations: 8 kB / 0.5647 GB, free: 8.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=213): time 0.03243/0.4457, allocations: 13.65 MB / 0.578 GB, free: 10.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.4458, allocations: 124.8 kB / 0.5782 GB, free: 10.68 MB / 446.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.004626/0.4504, allocations: 2.299 MB / 0.5804 GB, free: 8.352 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003913/0.4508, allocations: 61.7 kB / 0.5805 GB, free: 8.285 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001651/0.4524, allocations: 1.921 MB / 0.5823 GB, free: 6.344 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009687/0.4534, allocations: 0.7631 MB / 0.5831 GB, free: 5.574 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.4545, allocations: 457 kB / 0.5835 GB, free: 5.121 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4546, allocations: 309 kB / 0.5838 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.4568, allocations: 1.261 MB / 0.5851 GB, free: 3.547 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/0.4596, allocations: 1.951 MB / 0.587 GB, free: 1.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/0.4742, allocations: 6.243 MB / 0.5931 GB, free: 10.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.106e-05/0.4742, allocations: 4 kB / 0.5931 GB, free: 10.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.008496/0.4827, allocations: 4.606 MB / 0.5976 GB, free: 6.059 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.4828, allocations: 18.66 kB / 0.5976 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-05/0.4828, allocations: 20 kB / 0.5976 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/0.4852, allocations: 1 MB / 0.5986 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.4871, allocations: 0.5265 MB / 0.5991 GB, free: 4.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/0.5052, allocations: 17.61 MB / 0.6163 GB, free: 1.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/0.5074, allocations: 171.8 kB / 0.6164 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/0.5078, allocations: 108 kB / 0.6166 GB, free: 1.469 MB / 478.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2102/0.7179, allocations: 2.304 MB / 0.6188 GB, free: 114.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002383/0.7203, allocations: 1.92 MB / 0.6207 GB, free: 113.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01315/0.7334, allocations: 6.179 MB / 0.6267 GB, free: 111.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-05/0.7335, allocations: 5.938 kB / 0.6267 GB, free: 111.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.007273/0.7408, allocations: 4.562 MB / 0.6312 GB, free: 109.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.7408, allocations: 14.06 kB / 0.6312 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/0.7408, allocations: 21.62 kB / 0.6312 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.7428, allocations: 0.9976 MB / 0.6322 GB, free: 109.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.7446, allocations: 0.5202 MB / 0.6327 GB, free: 109.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.7575, allocations: 17.59 MB / 0.6499 GB, free: 95.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.7597, allocations: 162.8 kB / 0.65 GB, free: 95.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.7599, allocations: 109.6 kB / 0.6501 GB, free: 95.29 MB / 478.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] inertia0.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real aimc0.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: 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.0006281/0.7606, allocations: 389.4 kB / 0.6505 GB, free: 94.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004919/0.7611, allocations: 275.3 kB / 0.6508 GB, free: 94.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006002/0.7671, allocations: 3.987 MB / 0.6547 GB, free: 93.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.7671, allocations: 23.84 kB / 0.6547 GB, free: 93.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/0.7671, allocations: 18.52 kB / 0.6547 GB, free: 93.26 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.7671, allocations: 8.891 kB / 0.6547 GB, free: 93.26 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.78, allocations: 8.509 MB / 0.663 GB, free: 88.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.78, allocations: 7.688 kB / 0.663 GB, free: 88.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.7812, allocations: 336.2 kB / 0.6633 GB, free: 88.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00216/0.7833, allocations: 1.034 MB / 0.6644 GB, free: 88.13 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.7835, allocations: 62.95 kB / 0.6644 GB, free: 88.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/0.7947, allocations: 17.25 MB / 0.6813 GB, free: 71.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.7947, allocations: 11.94 kB / 0.6813 GB, free: 71.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007302/0.802, allocations: 5.835 MB / 0.687 GB, free: 65.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/0.8038, allocations: 0.6085 MB / 0.6876 GB, free: 65.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/0.8042, allocations: 63.97 kB / 0.6876 GB, free: 64.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.8055, allocations: 143.8 kB / 0.6878 GB, free: 64.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003804/0.8059, allocations: 193.5 kB / 0.6879 GB, free: 64.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.806, allocations: 71.97 kB / 0.688 GB, free: 64.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.8078, allocations: 1.545 MB / 0.6895 GB, free: 63.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8078, allocations: 0 / 0.6895 GB, free: 63.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004015/0.8119, allocations: 1.467 MB / 0.691 GB, free: 61.55 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.00692/0.8188, allocations: 6.498 MB / 0.6973 GB, free: 54.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01179/0.8306, allocations: 9.96 MB / 0.707 GB, free: 44.58 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.8306, allocations: 1.875 kB / 0.707 GB, free: 44.58 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004984/0.8356, allocations: 4.205 MB / 0.7111 GB, free: 40.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.8386, allocations: 0.7166 MB / 0.7118 GB, free: 39.48 MB / 478.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.03008/0.8687, allocations: 23.43 MB / 0.7347 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/0.8713, allocations: 2.878 MB / 0.7375 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002242/0.8735, allocations: 0.7718 MB / 0.7383 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/0.8751, allocations: 1.612 MB / 0.7399 GB, free: 9.855 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.8751, allocations: 0 / 0.7399 GB, free: 9.855 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1802/1.055, allocations: 84.11 MB / 0.822 GB, free: 6.281 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/17.62, allocations: 15.98 kB / 0.822 GB, free: 6.266 MB / 0.545 GB " [Timeout remaining time 642] (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 --stepSize=0.0006 --timeout=50 --tolerance=0.0001 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.415839514695108] Failed to read output from testmodel.py, exit status != 0: 17.757014361210167 17.962061114 17.623038343 Calling exit ...