Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008674/0.0008675, allocations: 102 kB / 15.71 MB, free: 460 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.482/1.482, allocations: 223.3 MB / 239.7 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 179.6 kB / 290.9 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03381/0.03381, allocations: 8.778 MB / 350.8 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004572, allocations: 14.59 kB / 413.8 MB, free: 42.95 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 52.56 MB / 466.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.02568/0.1523, allocations: 22.18 MB / 488.6 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02139/0.1738, allocations: 7.378 MB / 495.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006659/0.1805, allocations: 155.6 kB / 496.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006868/0.1874, allocations: 1.251 MB / 497.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.2002, allocations: 2.25 MB / 499.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004749/0.205, allocations: 1.025 MB / 0.4889 GB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01429/0.2193, allocations: 8.474 MB / 0.4972 GB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02871/0.2481, allocations: 11.12 MB / 0.508 GB, free: 7.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007128/0.2552, allocations: 2.76 MB / 0.5107 GB, free: 4.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007831/0.2631, allocations: 3.218 MB / 0.5138 GB, free: 1.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002876/0.266, allocations: 428 kB / 0.5143 GB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005198/0.2713, allocations: 0.773 MB / 0.515 GB, free: 208 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003637/0.2749, allocations: 1.347 MB / 0.5163 GB, free: 14.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004402/0.2794, allocations: 1.385 MB / 0.5177 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01778/0.2972, allocations: 12.13 MB / 0.5295 GB, free: 1.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.2972, allocations: 0 / 0.5295 GB, free: 1.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2972, allocations: 4 kB / 0.5295 GB, free: 1.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005444/0.2978, allocations: 0 / 0.5295 GB, free: 1.285 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.3646/0.6624, allocations: 7.451 MB / 0.5368 GB, free: 28.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6625, allocations: 7.281 kB / 0.5368 GB, free: 28.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02595/0.6884, allocations: 4.398 MB / 0.5411 GB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.7009, allocations: 4.468 MB / 0.5455 GB, free: 27.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001201/0.7022, allocations: 489.5 kB / 0.5459 GB, free: 27.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004636/0.7069, allocations: 0.6306 MB / 0.5466 GB, free: 27.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03528/0.7422, allocations: 10.3 MB / 0.5566 GB, free: 25.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002963/0.7425, allocations: 17.47 kB / 0.5566 GB, free: 25.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/0.7445, allocations: 267 kB / 0.5569 GB, free: 25.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004211/0.7449, allocations: 415.2 kB / 0.5573 GB, free: 25.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/0.7675, allocations: 9.808 MB / 0.5669 GB, free: 22.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0702/0.8377, allocations: 35.75 MB / 0.6018 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02585/0.8637, allocations: 20.63 MB / 0.6219 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005456/0.8692, allocations: 2.297 MB / 0.6242 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000653/0.8699, allocations: 230.1 kB / 0.6244 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.403e-05/0.87, allocations: 68.83 kB / 0.6244 GB, free: 11.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=295): time 7.213e-06/0.87, allocations: 4 kB / 0.6244 GB, free: 11.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=301): time 0.03251/0.9025, allocations: 11.58 MB / 0.6358 GB, free: 15.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.9026, allocations: 85.77 kB / 0.6358 GB, free: 15.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007006/0.9097, allocations: 2.997 MB / 0.6388 GB, free: 12.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006119/0.9103, allocations: 73.7 kB / 0.6388 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002573/0.9129, allocations: 2.867 MB / 0.6416 GB, free: 9.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001548/0.9145, allocations: 1.028 MB / 0.6426 GB, free: 8.383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000617/0.9151, allocations: 92 kB / 0.6427 GB, free: 8.293 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004599/0.9156, allocations: 496.1 kB / 0.6432 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/0.9194, allocations: 2.008 MB / 0.6452 GB, free: 5.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005536/0.925, allocations: 3.708 MB / 0.6488 GB, free: 1.316 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005312/0.9303, allocations: 2.814 MB / 0.6515 GB, free: 14.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.385e-05/0.9304, allocations: 16 kB / 0.6515 GB, free: 14.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01459/0.945, allocations: 6.594 MB / 0.658 GB, free: 8.223 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.775e-05/0.9452, allocations: 29.72 kB / 0.658 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/0.9453, allocations: 56 kB / 0.6581 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/0.9475, allocations: 0.674 MB / 0.6587 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004943/0.9525, allocations: 1.072 MB / 0.6598 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009586/0.9621, allocations: 5.794 MB / 0.6654 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/0.9664, allocations: 275.5 kB / 0.6657 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/0.9674, allocations: 232 kB / 0.6659 GB, free: 88 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (560): * Single equations (assignments): 559 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006518/0.974, allocations: 2.304 MB / 0.6682 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/0.9756, allocations: 324 kB / 0.6685 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.9871, allocations: 4.629 MB / 0.673 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.591e-05/0.9872, allocations: 32 kB / 0.673 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/0.9872, allocations: 8 kB / 0.673 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.148e-05/0.9873, allocations: 15.94 kB / 0.673 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/1.011, allocations: 11.24 MB / 0.684 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/1.011, allocations: 7.938 kB / 0.684 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/1.013, allocations: 0.5285 MB / 0.6846 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/1.015, allocations: 0.5685 MB / 0.6851 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/1.016, allocations: 67.97 kB / 0.6852 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007486/1.023, allocations: 5.04 MB / 0.6901 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/1.023, allocations: 8 kB / 0.6901 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.035, allocations: 6.557 MB / 0.6965 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002238/1.038, allocations: 0.7466 MB / 0.6972 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.039, allocations: 59.95 kB / 0.6973 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/1.041, allocations: 151.9 kB / 0.6974 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/1.042, allocations: 209.6 kB / 0.6976 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002853/1.042, allocations: 87.98 kB / 0.6977 GB, free: 15.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004688/1.047, allocations: 1.997 MB / 0.6997 GB, free: 13.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.31e-07/1.047, allocations: 0 / 0.6997 GB, free: 13.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006286/1.053, allocations: 1.171 MB / 0.7008 GB, free: 12.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * 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 (291): * Single equations (assignments): 290 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,62.5%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008035/1.054, allocations: 226.7 kB / 0.701 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01025/1.064, allocations: 4.988 MB / 0.7059 GB, free: 7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.064, allocations: 4 kB / 0.7059 GB, free: 6.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004891/1.069, allocations: 2.263 MB / 0.7081 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005153/1.074, allocations: 0.6207 MB / 0.7087 GB, free: 4.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3084/1.383, allocations: 13.1 MB / 0.7215 GB, free: 171.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/1.393, allocations: 4.037 MB / 0.7255 GB, free: 170.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002357/1.395, allocations: 316.8 kB / 0.7258 GB, free: 170.4 MB / 494.1 MB Notification: Performance of SimCode: time 2.004e-06/1.395, allocations: 0 / 0.7258 GB, free: 170.4 MB / 494.1 MB Notification: Performance of Templates: time 0.2184/1.614, allocations: 105.3 MB / 0.8286 GB, free: 81.19 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1CalcHelperMain.o] Error 1