Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal.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.MTPAal,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal") translateModel(EHPTlib.ElectricDrives.SMArelated.MTPAal,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009845/0.0009843, allocations: 100.1 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.001239/0.001239, 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.319/1.319, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1431/0.1431, allocations: 8.607 MB / 299.6 MB, free: 3.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003021, allocations: 11.98 kB / 362.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 52.31 MB / 414.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.SMArelated.MTPAal): time 0.00213/0.103, allocations: 1.737 MB / 416.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004789/0.1035, allocations: 275.5 kB / 416.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.275e-05/0.1037, allocations: 4 kB / 416.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.1037, allocations: 15.84 kB / 416.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.1039, allocations: 39.8 kB / 416.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1041, allocations: 111.7 kB / 416.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1044, allocations: 159.4 kB / 417.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1045, allocations: 48.56 kB / 417.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.369e-05/0.1046, allocations: 79.69 kB / 417.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1047, allocations: 107.5 kB / 417.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.1048, allocations: 8 kB / 417.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.843e-05/0.1048, allocations: 12 kB / 417.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.1048, allocations: 39.83 kB / 417.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.1049, allocations: 53.58 kB / 417.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.105, allocations: 151.8 kB / 417.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.105, allocations: 0 / 417.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.105, allocations: 0 / 417.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1051, allocations: 4 kB / 417.6 MB, free: 6.332 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009026/0.106, allocations: 0.5299 MB / 418.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.106, allocations: 8.031 kB / 418.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.1061, allocations: 31.66 kB / 418.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1063, allocations: 238.6 kB / 418.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/0.1064, allocations: 50.02 kB / 418.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.1065, allocations: 12 kB / 418.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.107, allocations: 286.1 kB / 418.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.107, allocations: 0 / 418.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.107, allocations: 11.95 kB / 418.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.107, allocations: 4 kB / 418.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.1075, allocations: 244.3 kB / 419 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.1087, allocations: 0.7108 MB / 419.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000866/0.1096, allocations: 378.4 kB / 420 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.1096, allocations: 7.984 kB / 420 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1097, allocations: 42.55 kB / 420.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/0.1097, allocations: 3.938 kB / 420.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.004363/0.114, allocations: 1.364 MB / 421.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1141, allocations: 81.11 kB / 421.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1143, allocations: 186.6 kB / 421.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.1143, allocations: 29.7 kB / 421.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.1144, allocations: 144.3 kB / 421.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.1144, allocations: 78.75 kB / 422 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.1145, allocations: 4 kB / 422 MB, free: 1.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.1146, allocations: 334.8 kB / 422.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.1149, allocations: 144.1 kB / 422.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.1152, allocations: 162.1 kB / 422.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.1155, allocations: 136.7 kB / 422.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1155, allocations: 4 kB / 422.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002366/0.1179, allocations: 0.7738 MB / 423.5 MB, free: 92 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.1657/0.2836, allocations: 95.39 kB / 423.6 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2837, allocations: 0 / 423.6 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.2853, allocations: 359.3 kB / 423.9 MB, free: 41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.2858, allocations: 134.9 kB / 424.1 MB, free: 41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00477/0.2906, allocations: 4.013 MB / 428.1 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.2908, allocations: 52.5 kB / 428.1 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.2909, allocations: 8.031 kB / 428.1 MB, free: 38.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.2909, allocations: 5.906 kB / 428.2 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002045/0.2929, allocations: 0.7057 MB / 428.9 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.293, allocations: 0 / 428.9 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.2944, allocations: 362.1 kB / 429.2 MB, free: 38.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.2948, allocations: 126.7 kB / 429.3 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/0.2993, allocations: 4.025 MB / 433.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.2995, allocations: 53.95 kB / 433.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.2996, allocations: 8.406 kB / 433.4 MB, free: 35.73 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: firstOrder1.y:VARIABLE(flow=false start = firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real firstOrder.y:VARIABLE(flow=false start = firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (limiting.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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 0.0001481/0.2997, allocations: 215 kB / 433.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.2998, allocations: 17.59 kB / 433.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.302, allocations: 0.8506 MB / 434.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.302, allocations: 3.344 kB / 434.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.302, allocations: 0 / 434.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.302, allocations: 7.281 kB / 434.5 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.3023, allocations: 375.2 kB / 434.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3023, allocations: 0 / 434.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.3028, allocations: 123.4 kB / 435 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/0.3041, allocations: 378.1 kB / 435.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.3041, allocations: 5.688 kB / 435.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004709/0.3089, allocations: 4.213 MB / 439.6 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3089, allocations: 0 / 439.6 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.3113, allocations: 1.098 MB / 440.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.3114, allocations: 102.7 kB / 440.8 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.3114, allocations: 10.36 kB / 440.8 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3117, allocations: 36.23 kB / 440.8 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.3118, allocations: 46.8 kB / 440.9 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3118, allocations: 7.594 kB / 440.9 MB, free: 32.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.521e-05/0.3119, allocations: 137.3 kB / 441 MB, free: 32.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3119, allocations: 0 / 441 MB, free: 32.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005592/0.3125, allocations: 136.1 kB / 441.1 MB, free: 32.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder.y,firstOrder1.y) * Number of discrete variables: 1 (limiting.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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 9.202e-05/0.3126, allocations: 99.72 kB / 441.2 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.3149, allocations: 1.301 MB / 442.5 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3149, allocations: 3 kB / 442.6 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009318/0.3158, allocations: 0.5947 MB / 443.1 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.3161, allocations: 32.92 kB / 443.2 MB, free: 31.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009365/0.317, allocations: 0.6985 MB / 443.9 MB, free: 30.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.3172, allocations: 0.7639 MB / 444.6 MB, free: 30.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.619e-05/0.3173, allocations: 25.23 kB / 444.7 MB, free: 30.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.3174, allocations: 15.03 kB / 444.7 MB, free: 30.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3174, allocations: 0 / 444.7 MB, free: 30.16 MB / 350.1 MB Notification: Performance of Templates: time 0.008992/0.3264, allocations: 6.784 MB / 451.5 MB, free: 29.77 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal.makefile (rm -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal.pipe ; mkfifo EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal.pipe >> ../files/EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal.sim & ./EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal.pipe 2>&1)