Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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: translateModel(EHPTlib.ElectricDrives.SMArelated.MTPAa,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa") translateModel(EHPTlib.ElectricDrives.SMArelated.MTPAa,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.000895, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1562/0.1562, allocations: 8.61 MB / 299.6 MB, free: 3.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003062, allocations: 8 kB / 362.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08842/0.08874, allocations: 52.33 MB / 414.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.SMArelated.MTPAa): time 0.001396/0.09018, allocations: 1.2 MB / 415.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002612/0.09046, allocations: 103.7 kB / 416 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.09051, allocations: 0 / 416 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.09053, allocations: 7.922 kB / 416.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.09069, allocations: 19.95 kB / 416.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.008e-05/0.09078, allocations: 39.88 kB / 416.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.09089, allocations: 71.81 kB / 416.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.09094, allocations: 7.984 kB / 416.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.047e-05/0.091, allocations: 47.84 kB / 416.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.09113, allocations: 67.78 kB / 416.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.09116, allocations: 8 kB / 416.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.882e-05/0.09119, allocations: 4 kB / 416.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.09123, allocations: 27.89 kB / 416.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.09127, allocations: 33.7 kB / 416.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.825e-05/0.09133, allocations: 44.14 kB / 416.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.09134, allocations: 0 / 416.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09135, allocations: 4 kB / 416.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.09136, allocations: 0 / 416.4 MB, free: 7.492 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000685/0.09205, allocations: 430.9 kB / 416.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.09208, allocations: 8.031 kB / 416.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.09213, allocations: 7.906 kB / 416.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.09226, allocations: 182.8 kB / 417 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.09234, allocations: 37.7 kB / 417.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.09236, allocations: 4 kB / 417.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.09271, allocations: 173.5 kB / 417.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.09273, allocations: 3.938 kB / 417.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.09275, allocations: 8 kB / 417.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.09276, allocations: 0 / 417.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.09305, allocations: 127.9 kB / 417.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.09334, allocations: 257.4 kB / 417.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006676/0.09401, allocations: 270.4 kB / 417.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.09405, allocations: 4 kB / 417.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.09407, allocations: 35.08 kB / 417.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.09408, allocations: 4 kB / 417.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.004031/0.09812, allocations: 1.213 MB / 419.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.09817, allocations: 59.34 kB / 419.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.09826, allocations: 121.8 kB / 419.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.0983, allocations: 29.7 kB / 419.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.09835, allocations: 95.95 kB / 419.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.09841, allocations: 71.02 kB / 419.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.09842, allocations: 0 / 419.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.09853, allocations: 322.8 kB / 419.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.09876, allocations: 103.9 kB / 419.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.09898, allocations: 107.9 kB / 420 MB, free: 3.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.09922, allocations: 93.84 kB / 420.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.09923, allocations: 0 / 420.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002125/0.1014, allocations: 0.6587 MB / 420.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1014, allocations: 5.719 kB / 420.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1014, allocations: 0 / 420.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.103, allocations: 345.3 kB / 421.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.1034, allocations: 111.9 kB / 421.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.18/0.2834, allocations: 3.77 MB / 425 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.2836, allocations: 27.67 kB / 425 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.2837, allocations: 11.58 kB / 425.1 MB, free: 40.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 2,2 1} Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.2837, allocations: 120.3 kB / 425.2 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.2838, allocations: 17.44 kB / 425.2 MB, free: 39.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.2858, allocations: 0.7344 MB / 425.9 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2858, allocations: 6.875 kB / 425.9 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2858, allocations: 3.781 kB / 425.9 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2858, allocations: 3.391 kB / 425.9 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.286, allocations: 265 kB / 426.2 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.286, allocations: 0 / 426.2 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.2864, allocations: 115.4 kB / 426.3 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.2878, allocations: 351.5 kB / 426.6 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.2878, allocations: 12.75 kB / 426.7 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.2924, allocations: 3.968 MB / 430.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2924, allocations: 0 / 430.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.2943, allocations: 0.7317 MB / 431.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.2944, allocations: 97.05 kB / 431.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.2944, allocations: 4.562 kB / 431.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.2946, allocations: 28.28 kB / 431.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/0.2947, allocations: 32.84 kB / 431.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.2947, allocations: 7.766 kB / 431.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.2947, allocations: 95.27 kB / 431.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2947, allocations: 0 / 431.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.2951, allocations: 64.97 kB / 431.7 MB, free: 36.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 4,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001072/0.2952, allocations: 102.2 kB / 431.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.2964, allocations: 0.6323 MB / 432.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2964, allocations: 2.938 kB / 432.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008638/0.2973, allocations: 0.5564 MB / 433 MB, free: 36.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.2974, allocations: 8.047 kB / 433 MB, free: 36.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.298, allocations: 424 kB / 433.4 MB, free: 35.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.2982, allocations: 0.722 MB / 434.1 MB, free: 35.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.783e-05/0.2982, allocations: 13.12 kB / 434.1 MB, free: 35.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.2982, allocations: 10.66 kB / 434.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2982, allocations: 4 kB / 434.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of Templates: time 0.005874/0.3041, allocations: 3.686 MB / 437.8 MB, free: 35.03 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa.makefile (rm -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa.pipe ; mkfifo EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa.pipe >> ../files/EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa.sim & ./EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa.pipe 2>&1)