Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 102.6 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.57/1.57, allocations: 223.3 MB / 239.7 MB, free: 5.457 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.001892/0.001881, allocations: 168.5 kB / 290.9 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03239/0.03239, allocations: 8.784 MB / 350.8 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004173, allocations: 9.656 kB / 413.8 MB, free: 42.97 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 52.56 MB / 466.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.02361/0.1516, allocations: 22.19 MB / 488.6 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01808/0.1697, allocations: 7.386 MB / 496 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006501/0.1762, allocations: 155.6 kB / 496.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005572/0.1818, allocations: 1.236 MB / 497.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00995/0.1918, allocations: 2.252 MB / 499.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.1965, allocations: 1.04 MB / 0.4889 GB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0143/0.2109, allocations: 8.466 MB / 0.4972 GB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02725/0.2382, allocations: 11.1 MB / 0.508 GB, free: 7.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007301/0.2455, allocations: 2.772 MB / 0.5107 GB, free: 4.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008986/0.2545, allocations: 3.211 MB / 0.5139 GB, free: 1.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00262/0.2572, allocations: 428 kB / 0.5143 GB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005536/0.2628, allocations: 0.7769 MB / 0.515 GB, free: 204 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003957/0.2668, allocations: 1.343 MB / 0.5163 GB, free: 14.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005351/0.2721, allocations: 1.389 MB / 0.5177 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01819/0.2904, allocations: 12.13 MB / 0.5295 GB, free: 1.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.2904, allocations: 0 / 0.5295 GB, free: 1.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.851e-06/0.2905, allocations: 4 kB / 0.5295 GB, free: 1.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005665/0.291, allocations: 0 / 0.5295 GB, free: 1.289 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.3228/0.6139, allocations: 7.452 MB / 0.5368 GB, free: 60.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.6139, allocations: 8.312 kB / 0.5368 GB, free: 60.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02549/0.6394, allocations: 4.398 MB / 0.5411 GB, free: 59.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.6513, allocations: 4.463 MB / 0.5455 GB, free: 58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008397/0.6522, allocations: 486.9 kB / 0.5459 GB, free: 57.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00376/0.656, allocations: 0.6312 MB / 0.5466 GB, free: 57.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02971/0.6857, allocations: 10.3 MB / 0.5566 GB, free: 52.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/0.686, allocations: 7.844 kB / 0.5566 GB, free: 52.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001088/0.6871, allocations: 268 kB / 0.5569 GB, free: 52.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003726/0.6874, allocations: 424.5 kB / 0.5573 GB, free: 52.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02127/0.7087, allocations: 9.807 MB / 0.5669 GB, free: 42.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0569/0.7657, allocations: 35.75 MB / 0.6018 GB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/0.7839, allocations: 20.63 MB / 0.6219 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004191/0.7881, allocations: 2.293 MB / 0.6242 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003455/0.7885, allocations: 232.9 kB / 0.6244 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.7886, allocations: 56.89 kB / 0.6244 GB, free: 12.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=295): time 4.658e-06/0.7886, allocations: 4 kB / 0.6244 GB, free: 12.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=301): time 0.02716/0.8158, allocations: 11.59 MB / 0.6358 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.8159, allocations: 97.66 kB / 0.6359 GB, free: 480 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005802/0.8217, allocations: 2.997 MB / 0.6388 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004899/0.8222, allocations: 77.7 kB / 0.6389 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002282/0.8245, allocations: 2.861 MB / 0.6417 GB, free: 10.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001343/0.8259, allocations: 1.031 MB / 0.6427 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.8261, allocations: 96 kB / 0.6428 GB, free: 9.375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003631/0.8265, allocations: 496.1 kB / 0.6432 GB, free: 8.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003249/0.8297, allocations: 2.008 MB / 0.6452 GB, free: 6.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004273/0.834, allocations: 3.709 MB / 0.6488 GB, free: 2.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003979/0.838, allocations: 2.816 MB / 0.6516 GB, free: 15.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.627e-05/0.838, allocations: 16 kB / 0.6516 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0106/0.8486, allocations: 6.599 MB / 0.658 GB, free: 8.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.8487, allocations: 28 kB / 0.658 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.312e-05/0.8488, allocations: 56 kB / 0.6581 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.8505, allocations: 0.673 MB / 0.6588 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003997/0.8545, allocations: 1.068 MB / 0.6598 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/0.8629, allocations: 5.8 MB / 0.6655 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/0.8671, allocations: 275.5 kB / 0.6657 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009145/0.868, allocations: 232 kB / 0.6659 GB, free: 0.6289 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.005127/0.8732, allocations: 2.304 MB / 0.6682 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008985/0.8741, allocations: 328 kB / 0.6685 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007855/0.882, allocations: 4.625 MB / 0.673 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/0.882, allocations: 32 kB / 0.6731 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.882, allocations: 4 kB / 0.6731 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.72e-05/0.8821, allocations: 19.94 kB / 0.6731 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0222/0.9043, allocations: 11.24 MB / 0.6841 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/0.9044, allocations: 8 kB / 0.6841 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/0.9064, allocations: 0.5343 MB / 0.6846 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.9079, allocations: 0.5581 MB / 0.6851 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/0.9081, allocations: 75.92 kB / 0.6852 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006997/0.9151, allocations: 5.035 MB / 0.6901 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.9151, allocations: 7.938 kB / 0.6901 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.9257, allocations: 6.546 MB / 0.6965 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/0.928, allocations: 0.7467 MB / 0.6972 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/0.9291, allocations: 64.06 kB / 0.6973 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/0.9313, allocations: 147.8 kB / 0.6974 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004398/0.9317, allocations: 206 kB / 0.6976 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/0.9319, allocations: 87.98 kB / 0.6977 GB, free: 15.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004671/0.9366, allocations: 2.001 MB / 0.6997 GB, free: 13.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9366, allocations: 0 / 0.6997 GB, free: 13.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005836/0.9425, allocations: 1.167 MB / 0.7008 GB, free: 12.31 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.0006817/0.9432, allocations: 236.6 kB / 0.701 GB, free: 12.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01043/0.9536, allocations: 4.994 MB / 0.7059 GB, free: 7.055 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/0.9537, allocations: 3.938 kB / 0.7059 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004662/0.9584, allocations: 2.262 MB / 0.7081 GB, free: 4.773 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005796/0.9642, allocations: 0.6205 MB / 0.7087 GB, free: 4.168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2891/1.253, allocations: 13.1 MB / 0.7215 GB, free: 156 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006519/1.26, allocations: 4.029 MB / 0.7255 GB, free: 155.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/1.262, allocations: 310.9 kB / 0.7258 GB, free: 155.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.793e-06/1.262, allocations: 0.8438 kB / 0.7258 GB, free: 155.2 MB / 478.1 MB Notification: Performance of Templates: time 0.1515/1.414, allocations: 105.4 MB / 0.8287 GB, free: 65.95 MB / 478.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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_Slip4CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4CalcHelperMain.o] Error 1