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.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.0008898/0.0008898, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009887/0.0009887, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.9342/0.9342, allocations: 177.2 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.03208/0.03208, allocations: 6.473 MB / 265.7 MB, free: 6.82 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_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 3.176e-06/3.176e-06, allocations: 0 / 391.6 MB, free: 4.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/3.08e-05, allocations: 9.172 kB / 391.6 MB, free: 4.5 MB / 314.7 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.01334/0.01337, allocations: 14.23 MB / 405.9 MB, free: 6.215 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008758/0.02212, allocations: 3.986 MB / 409.9 MB, free: 2.215 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004055/0.02618, allocations: 123.2 kB / 410 MB, free: 2.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003642/0.02982, allocations: 0.8217 MB / 410.8 MB, free: 1.266 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1723/0.2022, allocations: 1.399 MB / 412.2 MB, free: 17.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.2044, allocations: 0.8716 MB / 413.1 MB, free: 17.14 MB / 330.7 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.007585/0.212, allocations: 5.137 MB / 418.2 MB, free: 16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004208/0.2162, allocations: 2.418 MB / 420.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006568/0.2228, allocations: 3.358 MB / 424 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003109/0.2259, allocations: 2.338 MB / 426.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.227, allocations: 0.6084 MB / 426.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.2285, allocations: 0.7068 MB / 427.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.2296, allocations: 1.701 MB / 429.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002861/0.2325, allocations: 1.855 MB / 431.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006603/0.2391, allocations: 7.959 MB / 439.1 MB, free: 6.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.2391, allocations: 7.234 kB / 439.2 MB, free: 6.652 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.168e-06/0.2391, allocations: 0.6875 kB / 439.2 MB, free: 6.652 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002283/0.2393, allocations: 3.469 kB / 439.2 MB, free: 6.652 MB / 330.7 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.009381/0.2487, allocations: 5.054 MB / 444.2 MB, free: 3.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.2488, allocations: 12.03 kB / 444.2 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007306/0.2495, allocations: 0.5872 MB / 444.8 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.2508, allocations: 0.5836 MB / 445.4 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/0.2542, allocations: 2.616 MB / 448 MB, free: 15.52 MB / 346.7 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.0002961/0.2545, allocations: 435.3 kB / 448.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004636/0.255, allocations: 430.7 kB / 448.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007708/0.2627, allocations: 5.712 MB / 454.6 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.448e-05/0.2628, allocations: 15.19 kB / 454.6 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/0.2631, allocations: 180 kB / 454.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.2632, allocations: 196.4 kB / 455 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00616/0.2694, allocations: 4.335 MB / 459.3 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01955/0.2889, allocations: 14.65 MB / 473.9 MB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.2916, allocations: 2.157 MB / 476.1 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.2937, allocations: 1.658 MB / 477.8 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.2939, allocations: 53.97 kB / 477.8 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.2939, allocations: 56.56 kB / 477.9 MB, free: 1.461 MB / 362.7 MB Notification: Performance of pre-optimization done (n=179): time 3.637e-06/0.2939, allocations: 0 / 477.9 MB, free: 1.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=213): time 0.01971/0.3136, allocations: 12.81 MB / 490.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.3137, allocations: 124.8 kB / 490.8 MB, free: 4.547 MB / 378.7 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.003095/0.3168, allocations: 2.311 MB / 493.1 MB, free: 2.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003155/0.3171, allocations: 61.7 kB / 493.2 MB, free: 2.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.3182, allocations: 1.918 MB / 495.1 MB, free: 224 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006155/0.3188, allocations: 0.7531 MB / 495.8 MB, free: 15.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004957/0.3193, allocations: 452.3 kB / 496.3 MB, free: 15.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.3194, allocations: 305.1 kB / 496.6 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.3208, allocations: 1.241 MB / 497.8 MB, free: 13.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.3226, allocations: 1.981 MB / 499.8 MB, free: 11.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008486/0.3311, allocations: 6.199 MB / 0.4941 GB, free: 4.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.3311, allocations: 7.75 kB / 0.4941 GB, free: 4.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.005727/0.3368, allocations: 4.429 MB / 0.4985 GB, free: 472 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.3369, allocations: 12 kB / 0.4985 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/0.3369, allocations: 31.97 kB / 0.4985 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.3383, allocations: 0.9812 MB / 0.4995 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.3394, allocations: 0.5333 MB / 0.5 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.3508, allocations: 16.67 MB / 0.5163 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.3528, allocations: 175.8 kB / 0.5164 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.353, allocations: 108 kB / 0.5165 GB, free: 13.16 MB / 426.7 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.003396/0.3564, allocations: 2.288 MB / 0.5188 GB, free: 10.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001592/0.358, allocations: 1.964 MB / 0.5207 GB, free: 8.602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008355/0.3663, allocations: 6.13 MB / 0.5267 GB, free: 2.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.246e-05/0.3663, allocations: 8 kB / 0.5267 GB, free: 2.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.006093/0.3724, allocations: 4.379 MB / 0.531 GB, free: 13.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3725, allocations: 12 kB / 0.531 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.3725, allocations: 24 kB / 0.531 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.3739, allocations: 1.002 MB / 0.532 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.3752, allocations: 0.5181 MB / 0.5325 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.3872, allocations: 16.66 MB / 0.5488 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.3894, allocations: 167.5 kB / 0.5489 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.3896, allocations: 108 kB / 0.549 GB, free: 10.69 MB / 458.7 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.000621/0.3902, allocations: 381.4 kB / 0.5494 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000394/0.3906, allocations: 278.2 kB / 0.5496 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/0.3954, allocations: 3.828 MB / 0.5534 GB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.3955, allocations: 20 kB / 0.5534 GB, free: 6.215 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.3955, allocations: 15.56 kB / 0.5534 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.3955, allocations: 11.95 kB / 0.5534 GB, free: 6.191 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.4057, allocations: 7.878 MB / 0.5611 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.4057, allocations: 8 kB / 0.5611 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.4064, allocations: 337.2 kB / 0.5615 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/0.408, allocations: 1.032 MB / 0.5625 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.4081, allocations: 63.91 kB / 0.5625 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1816/0.5897, allocations: 16.32 MB / 0.5785 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.668e-05/0.5897, allocations: 10.62 kB / 0.5785 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008219/0.598, allocations: 5.644 MB / 0.584 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.5992, allocations: 0.5313 MB / 0.5845 GB, free: 145.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.5994, allocations: 59.88 kB / 0.5846 GB, free: 145.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008043/0.6002, allocations: 142.7 kB / 0.5847 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003999/0.6006, allocations: 209.2 kB / 0.5849 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.703e-05/0.6007, allocations: 70.03 kB / 0.585 GB, free: 145.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001865/0.6026, allocations: 1.532 MB / 0.5865 GB, free: 144.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6026, allocations: 1.094 kB / 0.5865 GB, free: 144.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004132/0.6067, allocations: 1.455 MB / 0.5879 GB, free: 144.4 MB / 474.7 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.006481/0.6132, allocations: 6.324 MB / 0.594 GB, free: 141.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007768/0.621, allocations: 9.565 MB / 0.6034 GB, free: 135.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.621, allocations: 0 / 0.6034 GB, free: 135.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002974/0.6239, allocations: 4.019 MB / 0.6073 GB, free: 133.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.6262, allocations: 0.719 MB / 0.608 GB, free: 133.1 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02214/0.6484, allocations: 22.9 MB / 0.6304 GB, free: 112.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/0.6499, allocations: 2.343 MB / 0.6327 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001572/0.6515, allocations: 0.7797 MB / 0.6334 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.6525, allocations: 1.617 MB / 0.635 GB, free: 108.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6525, allocations: 0 / 0.635 GB, free: 108.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/0.7535, allocations: 88.02 MB / 0.721 GB, free: 20.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.88/10.63, allocations: 6.812 kB / 0.721 GB, free: 20.82 MB / 474.7 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0006 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.68410923704505] Failed to read output from testmodel.py, exit status != 0: 10.764198370277882 10.774896482 10.533244563 Calling exit ...