Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark.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.ToPark,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark") translateModel(EHPTlib.ElectricDrives.SMArelated.ToPark,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.62 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.0009831/0.0009832, allocations: 177.3 kB / 15.95 MB, free: 216 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.339/1.339, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1783/0.1783, allocations: 8.601 MB / 299.6 MB, free: 3.148 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002763, allocations: 8 kB / 362.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08488/0.08517, allocations: 52.33 MB / 414.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.SMArelated.ToPark): time 0.001375/0.08658, allocations: 1.19 MB / 415.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006865/0.08728, allocations: 499.2 kB / 416.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.08733, allocations: 4 kB / 416.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.198e-05/0.08741, allocations: 11.92 kB / 416.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.08771, allocations: 55.8 kB / 416.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.801e-05/0.08775, allocations: 7.922 kB / 416.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.08782, allocations: 39.95 kB / 416.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.08794, allocations: 40.33 kB / 416.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.08799, allocations: 31.84 kB / 416.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.08816, allocations: 63.86 kB / 416.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.08819, allocations: 4 kB / 416.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.08821, allocations: 0 / 416.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.08828, allocations: 51.88 kB / 416.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.08832, allocations: 37.64 kB / 416.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.08843, allocations: 103.8 kB / 416.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.08843, allocations: 0 / 416.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.08844, allocations: 0 / 416.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.08845, allocations: 0 / 416.9 MB, free: 7.051 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.0005282/0.08898, allocations: 446.9 kB / 417.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.08901, allocations: 8.031 kB / 417.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.08906, allocations: 11.81 kB / 417.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.08929, allocations: 222.9 kB / 417.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.08931, allocations: 12 kB / 417.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.08933, allocations: 4 kB / 417.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.08952, allocations: 119.9 kB / 417.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.08954, allocations: 3.953 kB / 417.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.08955, allocations: 3.938 kB / 417.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.08958, allocations: 12 kB / 417.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.08976, allocations: 119.9 kB / 417.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/0.09042, allocations: 468.4 kB / 418.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.09056, allocations: 74.61 kB / 418.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.09058, allocations: 0 / 418.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.09061, allocations: 38.56 kB / 418.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.09061, allocations: 0 / 418.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002972/0.09092, allocations: 181.6 kB / 418.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.09096, allocations: 59.39 kB / 418.6 MB, free: 5.125 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/SMArelated/ToPark.mo:3:3-3:45:writable] Warning: Parameter p has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.09116, allocations: 182.2 kB / 418.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.09118, allocations: 29.7 kB / 418.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.09126, allocations: 131.7 kB / 418.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.09128, allocations: 23.62 kB / 419 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.0913, allocations: 4 kB / 419 MB, free: 4.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.0914, allocations: 322.8 kB / 419.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.09146, allocations: 39.97 kB / 419.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/0.09154, allocations: 57.62 kB / 419.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.825e-05/0.09161, allocations: 47.97 kB / 419.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.09162, allocations: 0 / 419.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001743/0.0918, allocations: 133.5 kB / 419.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.09182, allocations: 12.02 kB / 419.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.09183, allocations: 0 / 419.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.09184, allocations: 4 kB / 419.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.09199, allocations: 23.94 kB / 419.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.092, allocations: 3.938 kB / 419.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.09208, allocations: 11.92 kB / 419.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.09209, allocations: 4 kB / 419.6 MB, free: 4.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.203e-05/0.09219, allocations: 137.8 kB / 419.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.09223, allocations: 15.8 kB / 419.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.09247, allocations: 158.3 kB / 419.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.09248, allocations: 0 / 419.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.09249, allocations: 3.953 kB / 419.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.0925, allocations: 0 / 419.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.093, allocations: 454.4 kB / 420.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.09301, allocations: 0 / 420.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.874e-05/0.09311, allocations: 23.98 kB / 420.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.09312, allocations: 0 / 420.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.09314, allocations: 8.141 kB / 420.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.09315, allocations: 0.5469 kB / 420.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.09315, allocations: 7.938 kB / 420.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.09337, allocations: 235.2 kB / 420.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.09343, allocations: 88.95 kB / 420.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.09346, allocations: 0 / 420.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.09356, allocations: 11.94 kB / 420.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.0936, allocations: 11.98 kB / 420.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.09361, allocations: 4 kB / 420.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.09373, allocations: 143.2 kB / 420.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.09374, allocations: 0 / 420.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.09397, allocations: 19.91 kB / 420.9 MB, free: 2.668 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 (9): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.491e-05/0.09406, allocations: 95.25 kB / 421 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.09425, allocations: 103.8 kB / 421.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.09426, allocations: 0 / 421.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/0.09434, allocations: 52.03 kB / 421.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.09453, allocations: 11.94 kB / 421.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.09509, allocations: 347.6 kB / 421.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.09544, allocations: 0.7355 MB / 422.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.491e-05/0.09552, allocations: 32.86 kB / 422.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.09557, allocations: 11.44 kB / 422.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09557, allocations: 0 / 422.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of Templates: time 0.002932/0.09851, allocations: 0.9931 MB / 423.3 MB, free: 240 kB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark.makefile (rm -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark.pipe ; mkfifo EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark.pipe >> ../files/EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark.sim & ./EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark.pipe 2>&1)