Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008559/0.000856, allocations: 103 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.533/1.533, allocations: 223.3 MB / 239.7 MB, free: 5.629 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.001488/0.001487, allocations: 188.5 kB / 290.9 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03281/0.03281, allocations: 8.782 MB / 350.8 MB, free: 4.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004824, allocations: 11.22 kB / 413.8 MB, free: 43.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1407, allocations: 52.56 MB / 466.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.02707/0.1678, allocations: 22.2 MB / 488.6 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.1866, allocations: 7.382 MB / 495.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006439/0.1931, allocations: 155.6 kB / 496.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007296/0.2004, allocations: 1.251 MB / 497.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009975/0.2104, allocations: 2.244 MB / 499.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004789/0.2152, allocations: 1.039 MB / 0.4889 GB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01502/0.2303, allocations: 8.466 MB / 0.4972 GB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02385/0.2542, allocations: 11.12 MB / 0.508 GB, free: 7.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006527/0.2607, allocations: 2.76 MB / 0.5107 GB, free: 4.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007423/0.2682, allocations: 3.214 MB / 0.5139 GB, free: 1.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001969/0.2702, allocations: 428 kB / 0.5143 GB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003734/0.274, allocations: 0.7691 MB / 0.515 GB, free: 312 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002211/0.2762, allocations: 1.355 MB / 0.5163 GB, free: 14.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003972/0.2802, allocations: 1.381 MB / 0.5177 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01814/0.2983, allocations: 12.13 MB / 0.5295 GB, free: 1.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.2984, allocations: 4 kB / 0.5295 GB, free: 1.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.2984, allocations: 4 kB / 0.5296 GB, free: 1.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004913/0.2989, allocations: 0 / 0.5296 GB, free: 1.379 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.3172/0.6161, allocations: 7.443 MB / 0.5368 GB, free: 60.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.6161, allocations: 9.422 kB / 0.5368 GB, free: 60.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02908/0.6452, allocations: 4.399 MB / 0.5411 GB, free: 59.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.6565, allocations: 4.461 MB / 0.5455 GB, free: 58.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000695/0.6573, allocations: 491 kB / 0.5459 GB, free: 58.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003515/0.6608, allocations: 0.6306 MB / 0.5466 GB, free: 58.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03166/0.6925, allocations: 10.3 MB / 0.5566 GB, free: 52.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001978/0.6927, allocations: 11.88 kB / 0.5566 GB, free: 52.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008179/0.6935, allocations: 268.7 kB / 0.5569 GB, free: 52.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003884/0.6939, allocations: 420.8 kB / 0.5573 GB, free: 52.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.7104, allocations: 9.812 MB / 0.5669 GB, free: 42.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05888/0.7693, allocations: 35.74 MB / 0.6018 GB, free: 6.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/0.7895, allocations: 20.63 MB / 0.6219 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004753/0.7944, allocations: 2.296 MB / 0.6242 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005029/0.7949, allocations: 228.6 kB / 0.6244 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.628e-05/0.795, allocations: 72.83 kB / 0.6245 GB, free: 12.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=295): time 5.941e-06/0.795, allocations: 0 / 0.6245 GB, free: 12.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=301): time 0.02795/0.823, allocations: 11.58 MB / 0.6358 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.8231, allocations: 97.66 kB / 0.6359 GB, free: 440 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00625/0.8294, allocations: 2.998 MB / 0.6388 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005847/0.83, allocations: 77.7 kB / 0.6389 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002424/0.8324, allocations: 2.857 MB / 0.6416 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001306/0.8337, allocations: 1.035 MB / 0.6427 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.834, allocations: 96 kB / 0.6427 GB, free: 9.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002871/0.8343, allocations: 496.1 kB / 0.6432 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003082/0.8374, allocations: 2.008 MB / 0.6452 GB, free: 6.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004503/0.8419, allocations: 3.709 MB / 0.6488 GB, free: 2.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/0.8463, allocations: 2.816 MB / 0.6516 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-05/0.8463, allocations: 16 kB / 0.6516 GB, free: 15.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01222/0.8585, allocations: 6.595 MB / 0.658 GB, free: 8.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.357e-05/0.8587, allocations: 28 kB / 0.658 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/0.8588, allocations: 56 kB / 0.6581 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/0.8605, allocations: 0.6769 MB / 0.6588 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/0.8644, allocations: 1.065 MB / 0.6598 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008575/0.873, allocations: 5.806 MB / 0.6655 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004079/0.8771, allocations: 275.5 kB / 0.6657 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006927/0.8778, allocations: 232 kB / 0.6659 GB, free: 0.5938 MB / 430.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.004675/0.8825, allocations: 2.308 MB / 0.6682 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009452/0.8834, allocations: 320 kB / 0.6685 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007846/0.8913, allocations: 4.625 MB / 0.673 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/0.8913, allocations: 32 kB / 0.6731 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.8914, allocations: 8 kB / 0.6731 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.917e-05/0.8914, allocations: 15.94 kB / 0.6731 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/0.9116, allocations: 11.23 MB / 0.684 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/0.9117, allocations: 8.625 kB / 0.684 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/0.9139, allocations: 0.5343 MB / 0.6846 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.9155, allocations: 0.5579 MB / 0.6851 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/0.9157, allocations: 75.92 kB / 0.6852 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006884/0.9226, allocations: 5.035 MB / 0.6901 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.9226, allocations: 11.94 kB / 0.6901 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.9333, allocations: 6.546 MB / 0.6965 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/0.9355, allocations: 0.7479 MB / 0.6972 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/0.936, allocations: 64 kB / 0.6973 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/0.9374, allocations: 151.9 kB / 0.6974 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/0.9378, allocations: 206 kB / 0.6976 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/0.938, allocations: 87.98 kB / 0.6977 GB, free: 15.45 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003195/0.9412, allocations: 2.001 MB / 0.6997 GB, free: 13.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9412, allocations: 0 / 0.6997 GB, free: 13.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004663/0.9459, allocations: 1.171 MB / 0.7008 GB, free: 12.28 MB / 478.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.000534/0.9464, allocations: 234.8 kB / 0.701 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008237/0.9547, allocations: 4.994 MB / 0.7059 GB, free: 7.023 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.9547, allocations: 320 / 0.7059 GB, free: 7.023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003863/0.9586, allocations: 2.258 MB / 0.7081 GB, free: 4.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/0.9622, allocations: 0.6255 MB / 0.7087 GB, free: 4.137 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2987/1.261, allocations: 13.11 MB / 0.7215 GB, free: 156.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006864/1.268, allocations: 4.034 MB / 0.7255 GB, free: 155.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002165/1.27, allocations: 313.7 kB / 0.7258 GB, free: 155.3 MB / 478.1 MB Notification: Performance of SimCode: time 4.148e-06/1.27, allocations: 0 / 0.7258 GB, free: 155.3 MB / 478.1 MB Notification: Performance of Templates: time 0.1497/1.42, allocations: 105.4 MB / 0.8287 GB, free: 65.95 MB / 478.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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_Slip2CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2CalcHelperMain.o] Error 1