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.0008697/0.0008697, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008467/0.0008467, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8985/0.8985, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.02914/0.02914, allocations: 6.484 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.686e-06/3.686e-06, allocations: 0 / 391.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.72e-05, allocations: 6.219 kB / 391.7 MB, free: 5.688 MB / 362.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.01073/0.01076, allocations: 14.21 MB / 405.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006266/0.01702, allocations: 3.993 MB / 409.9 MB, free: 3.406 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.01822, allocations: 123.2 kB / 410 MB, free: 3.285 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.01947, allocations: 0.8178 MB / 410.8 MB, free: 2.461 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.02223, allocations: 1.408 MB / 412.2 MB, free: 1.043 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.02359, allocations: 0.8697 MB / 413.1 MB, free: 176 kB / 378.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.004215/0.02781, allocations: 5.145 MB / 418.2 MB, free: 11.01 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.03012, allocations: 2.416 MB / 420.6 MB, free: 8.512 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003099/0.03322, allocations: 3.372 MB / 424 MB, free: 5.133 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.03525, allocations: 2.33 MB / 426.3 MB, free: 2.797 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004785/0.03573, allocations: 0.6055 MB / 426.9 MB, free: 2.191 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006567/0.03638, allocations: 0.7146 MB / 427.7 MB, free: 1.477 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.03749, allocations: 1.698 MB / 429.4 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.03868, allocations: 1.855 MB / 431.2 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.04359, allocations: 7.965 MB / 439.2 MB, free: 5.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.0436, allocations: 0 / 439.2 MB, free: 5.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0436, allocations: 0 / 439.2 MB, free: 5.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.586e-05/0.04365, allocations: 0 / 439.2 MB, free: 5.93 MB / 410.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.00534/0.049, allocations: 5.059 MB / 444.2 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.04903, allocations: 8.031 kB / 444.2 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004913/0.04952, allocations: 0.5849 MB / 444.8 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1571/0.2067, allocations: 0.5778 MB / 445.4 MB, free: 85.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/0.2108, allocations: 2.623 MB / 448 MB, free: 85.05 MB / 410.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.0003198/0.2112, allocations: 434.1 kB / 448.5 MB, free: 84.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008558/0.212, allocations: 435.2 kB / 448.9 MB, free: 84.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007144/0.2192, allocations: 5.704 MB / 454.6 MB, free: 82.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.292e-05/0.2192, allocations: 7.328 kB / 454.6 MB, free: 82.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/0.2196, allocations: 186.5 kB / 454.8 MB, free: 81.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.2197, allocations: 196.8 kB / 455 MB, free: 81.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005045/0.2248, allocations: 4.338 MB / 459.3 MB, free: 80.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/0.2404, allocations: 14.64 MB / 473.9 MB, free: 72.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.2426, allocations: 2.164 MB / 476.1 MB, free: 71.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.2442, allocations: 1.643 MB / 477.7 MB, free: 71.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.2444, allocations: 57.17 kB / 477.8 MB, free: 71.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.2444, allocations: 64.27 kB / 477.9 MB, free: 71.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.569e-06/0.2444, allocations: 0 / 477.9 MB, free: 71.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=213): time 0.01936/0.2638, allocations: 12.8 MB / 490.7 MB, free: 67.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.2639, allocations: 125.9 kB / 490.8 MB, free: 67.15 MB / 410.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.002857/0.2667, allocations: 2.308 MB / 493.1 MB, free: 66.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.2669, allocations: 61.45 kB / 493.2 MB, free: 66.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007902/0.2677, allocations: 1.92 MB / 495.1 MB, free: 64.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004398/0.2681, allocations: 0.7626 MB / 495.8 MB, free: 64.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004736/0.2686, allocations: 447.8 kB / 496.3 MB, free: 63.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.095e-05/0.2687, allocations: 301.8 kB / 496.6 MB, free: 63.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.27, allocations: 1.243 MB / 497.8 MB, free: 62.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.2714, allocations: 1.979 MB / 499.8 MB, free: 60.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007337/0.2787, allocations: 6.188 MB / 0.4941 GB, free: 55.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.2788, allocations: 12.75 kB / 0.4941 GB, free: 55.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.004546/0.2833, allocations: 4.428 MB / 0.4985 GB, free: 50.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.2833, allocations: 16 kB / 0.4985 GB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.2834, allocations: 20 kB / 0.4985 GB, free: 50.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.2846, allocations: 1.004 MB / 0.4995 GB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009422/0.2855, allocations: 0.5187 MB / 0.5 GB, free: 48.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00782/0.2933, allocations: 16.67 MB / 0.5163 GB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.2956, allocations: 175.4 kB / 0.5164 GB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000328/0.296, allocations: 108 kB / 0.5165 GB, free: 31.14 MB / 410.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.003491/0.2994, allocations: 2.296 MB / 0.5188 GB, free: 28.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001355/0.3008, allocations: 1.962 MB / 0.5207 GB, free: 26.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006867/0.3077, allocations: 6.116 MB / 0.5267 GB, free: 20.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.61e-05/0.3077, allocations: 8 kB / 0.5267 GB, free: 20.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=323) (initialization_lambda0): time 0.004381/0.3121, allocations: 4.39 MB / 0.531 GB, free: 15.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3121, allocations: 12 kB / 0.531 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.3121, allocations: 20 kB / 0.531 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.3133, allocations: 1 MB / 0.532 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009396/0.3142, allocations: 0.5148 MB / 0.5325 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00868/0.3229, allocations: 16.67 MB / 0.5487 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.3248, allocations: 159.8 kB / 0.5489 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.3249, allocations: 110 kB / 0.549 GB, free: 12.33 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: 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.0006643/0.3256, allocations: 386.2 kB / 0.5494 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004281/0.326, allocations: 278.3 kB / 0.5496 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004648/0.3307, allocations: 3.84 MB / 0.5534 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.3307, allocations: 20 kB / 0.5534 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/0.3307, allocations: 8 kB / 0.5534 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3307, allocations: 11.97 kB / 0.5534 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.3412, allocations: 7.865 MB / 0.5611 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.3412, allocations: 8 kB / 0.5611 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/0.342, allocations: 335.5 kB / 0.5614 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/0.3436, allocations: 1.031 MB / 0.5624 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.3437, allocations: 67.95 kB / 0.5625 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.3543, allocations: 16.32 MB / 0.5784 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.3543, allocations: 11.94 kB / 0.5785 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006247/0.3606, allocations: 5.653 MB / 0.584 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.3619, allocations: 0.5293 MB / 0.5845 GB, free: 6.742 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/0.3623, allocations: 63.91 kB / 0.5846 GB, free: 6.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008366/0.3631, allocations: 143.9 kB / 0.5847 GB, free: 6.539 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/0.3635, allocations: 197.5 kB / 0.5849 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.835e-05/0.3636, allocations: 67.97 kB / 0.5849 GB, free: 6.281 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001701/0.3653, allocations: 1.538 MB / 0.5864 GB, free: 4.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3653, allocations: 0 / 0.5864 GB, free: 4.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003919/0.3692, allocations: 1.457 MB / 0.5879 GB, free: 3.273 MB / 458.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.006923/0.3761, allocations: 6.322 MB / 0.594 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01014/0.3862, allocations: 9.561 MB / 0.6034 GB, free: 2.977 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/0.3863, allocations: 5.875 kB / 0.6034 GB, free: 2.973 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004332/0.3906, allocations: 4.029 MB / 0.6073 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.3932, allocations: 0.7156 MB / 0.608 GB, free: 14.11 MB / 490.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.1776/0.5708, allocations: 22.89 MB / 0.6304 GB, free: 141.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.5723, allocations: 2.339 MB / 0.6327 GB, free: 141.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001478/0.5738, allocations: 0.7796 MB / 0.6334 GB, free: 141.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.5748, allocations: 1.62 MB / 0.635 GB, free: 140.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5748, allocations: 0 / 0.635 GB, free: 140.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/0.679, allocations: 88.03 MB / 0.721 GB, free: 83.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.23/9.909, allocations: 6.5 kB / 0.721 GB, free: 83.23 MB / 490.7 MB " [Timeout remaining time 650] (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: 12.043789798393846] Failed to read output from testmodel.py, exit status != 0: 10.032293853349984 10.03983709 9.994900772 Calling exit ...