Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001052, allocations: 99.75 kB / 15.71 MB, free: 452 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.506/1.506, allocations: 223.3 MB / 239.7 MB, free: 5.609 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.001633/0.001633, allocations: 176.6 kB / 290.9 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03309/0.03309, allocations: 8.78 MB / 350.8 MB, free: 4.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003983, allocations: 15.56 kB / 413.8 MB, free: 43.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 52.56 MB / 466.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.02438/0.1595, allocations: 22.23 MB / 488.6 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01837/0.1779, allocations: 7.328 MB / 495.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006151/0.1842, allocations: 159.6 kB / 496.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006294/0.1905, allocations: 1.426 MB / 497.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.201, allocations: 2.499 MB / 0.4883 GB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005944/0.207, allocations: 1.317 MB / 0.4896 GB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.018/0.225, allocations: 10.82 MB / 0.5001 GB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03391/0.259, allocations: 13.8 MB / 0.5136 GB, free: 1.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008415/0.2675, allocations: 3.508 MB / 0.517 GB, free: 14.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009205/0.2767, allocations: 3.977 MB / 0.5209 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003065/0.2798, allocations: 0.5195 MB / 0.5214 GB, free: 9.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005761/0.2856, allocations: 0.8707 MB / 0.5223 GB, free: 8.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004326/0.2899, allocations: 1.666 MB / 0.5239 GB, free: 7.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004999/0.295, allocations: 1.705 MB / 0.5256 GB, free: 5.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3593/0.6543, allocations: 15.32 MB / 0.5405 GB, free: 22.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.6544, allocations: 0 / 0.5405 GB, free: 22.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.287e-06/0.6544, allocations: 0 / 0.5405 GB, free: 22.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006851/0.6551, allocations: 1.094 kB / 0.5405 GB, free: 22.3 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03471/0.6898, allocations: 9.133 MB / 0.5495 GB, free: 17.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.129e-05/0.6899, allocations: 8.875 kB / 0.5495 GB, free: 17.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03381/0.7237, allocations: 5.66 MB / 0.555 GB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01641/0.7402, allocations: 5.597 MB / 0.5605 GB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007148/0.741, allocations: 0.5831 MB / 0.561 GB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004228/0.7452, allocations: 0.7712 MB / 0.5618 GB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03621/0.7814, allocations: 12.71 MB / 0.5742 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002608/0.7817, allocations: 21.3 kB / 0.5742 GB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001929/0.7837, allocations: 325.3 kB / 0.5745 GB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000513/0.7842, allocations: 0.4917 MB / 0.575 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0281/0.8123, allocations: 12.19 MB / 0.5869 GB, free: 6.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09522/0.9076, allocations: 43.81 MB / 0.6297 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02766/0.9353, allocations: 25.13 MB / 0.6542 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006217/0.9415, allocations: 2.968 MB / 0.6571 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/0.9422, allocations: 251.1 kB / 0.6574 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005547/0.9478, allocations: 2.567 MB / 0.6599 GB, free: 9.402 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 1.061e-05/0.9479, allocations: 4 kB / 0.6599 GB, free: 9.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.05525/1.003, allocations: 19.68 MB / 0.6791 GB, free: 5.625 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/1.003, allocations: 359.5 kB / 0.6794 GB, free: 5.199 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005997/1.009, allocations: 3.487 MB / 0.6828 GB, free: 1.707 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007997/1.01, allocations: 97.36 kB / 0.6829 GB, free: 1.609 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002594/1.013, allocations: 3.376 MB / 0.6862 GB, free: 14.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001938/1.015, allocations: 1.35 MB / 0.6876 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/1.015, allocations: 112 kB / 0.6877 GB, free: 12.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003657/1.015, allocations: 0.5297 MB / 0.6882 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004071/1.019, allocations: 2.532 MB / 0.6907 GB, free: 9.695 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005636/1.025, allocations: 4.493 MB / 0.695 GB, free: 4.348 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00601/1.031, allocations: 3.535 MB / 0.6985 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.976e-05/1.031, allocations: 19.95 kB / 0.6985 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01619/1.047, allocations: 8.235 MB / 0.7066 GB, free: 8.961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.048, allocations: 59.27 kB / 0.7066 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/1.048, allocations: 63.75 kB / 0.7067 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002712/1.05, allocations: 1.006 MB / 0.7077 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005077/1.056, allocations: 1.26 MB / 0.7089 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3648/1.42, allocations: 8.218 MB / 0.7169 GB, free: 168.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005711/1.426, allocations: 357.3 kB / 0.7173 GB, free: 168.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.428, allocations: 262.8 kB / 0.7175 GB, free: 168.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,53.0%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0104/1.438, allocations: 2.895 MB / 0.7203 GB, free: 167.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002092/1.44, allocations: 389.8 kB / 0.7207 GB, free: 167.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/1.455, allocations: 6.184 MB / 0.7267 GB, free: 166.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.941e-05/1.455, allocations: 41.34 kB / 0.7268 GB, free: 166.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.57e-05/1.455, allocations: 9.719 kB / 0.7268 GB, free: 166.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-05/1.455, allocations: 21.19 kB / 0.7268 GB, free: 166.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03014/1.485, allocations: 14.91 MB / 0.7414 GB, free: 160.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.485, allocations: 3.938 kB / 0.7414 GB, free: 160.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/1.488, allocations: 0.6895 MB / 0.742 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/1.49, allocations: 0.8748 MB / 0.7429 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003792/1.491, allocations: 86.23 kB / 0.743 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009317/1.5, allocations: 7.182 MB / 0.75 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.5, allocations: 3.25 kB / 0.75 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/1.514, allocations: 8.747 MB / 0.7585 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002782/1.516, allocations: 0.9412 MB / 0.7595 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009141/1.517, allocations: 72 kB / 0.7595 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/1.519, allocations: 209.4 kB / 0.7597 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005475/1.52, allocations: 276.3 kB / 0.76 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/1.52, allocations: 116 kB / 0.7601 GB, free: 150.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003735/1.524, allocations: 2.339 MB / 0.7624 GB, free: 148.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.524, allocations: 0 / 0.7624 GB, free: 148.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007254/1.531, allocations: 1.45 MB / 0.7638 GB, free: 146.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,50.0%) 46} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008532/1.532, allocations: 248.7 kB / 0.764 GB, free: 146.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01083/1.543, allocations: 6.435 MB / 0.7703 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.543, allocations: 8.125 kB / 0.7703 GB, free: 140.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004976/1.548, allocations: 3.085 MB / 0.7733 GB, free: 137.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/1.553, allocations: 0.787 MB / 0.7741 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02671/1.58, allocations: 16.29 MB / 0.79 GB, free: 120 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005317/1.585, allocations: 4.861 MB / 0.7948 GB, free: 115.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002308/1.587, allocations: 375.3 kB / 0.7951 GB, free: 114.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.423e-06/1.587, allocations: 0 / 0.7951 GB, free: 114.7 MB / 494.1 MB Notification: Performance of Templates: time 0.4784/2.066, allocations: 130.8 MB / 0.9229 GB, free: 154.5 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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_VCurve2CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2CalcHelperMain.o] Error 1