Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008241/0.0008241, 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.544/1.544, allocations: 223.3 MB / 239.7 MB, free: 5.453 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.00134/0.00134, allocations: 184.5 kB / 290.9 MB, free: 2.148 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.783 MB / 350.8 MB, free: 4.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 9.844 kB / 413.8 MB, free: 42.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 52.56 MB / 466.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.0254/0.1574, allocations: 22.23 MB / 488.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01992/0.1774, allocations: 7.317 MB / 495.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007138/0.1846, allocations: 159.5 kB / 496.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00742/0.192, allocations: 1.426 MB / 497.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.2035, allocations: 2.506 MB / 0.4883 GB, free: 11.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00801/0.2115, allocations: 1.313 MB / 0.4896 GB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0211/0.2326, allocations: 10.81 MB / 0.5001 GB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03358/0.2663, allocations: 13.81 MB / 0.5136 GB, free: 1.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/0.2765, allocations: 3.516 MB / 0.517 GB, free: 14.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.2867, allocations: 3.969 MB / 0.5209 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003778/0.2905, allocations: 0.5273 MB / 0.5214 GB, free: 9.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006363/0.2969, allocations: 0.8667 MB / 0.5223 GB, free: 8.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005391/0.3024, allocations: 1.658 MB / 0.5239 GB, free: 7.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005853/0.3083, allocations: 1.709 MB / 0.5256 GB, free: 5.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3342/0.6425, allocations: 15.31 MB / 0.5405 GB, free: 21.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.6426, allocations: 3.812 kB / 0.5405 GB, free: 21.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.157e-06/0.6426, allocations: 0 / 0.5405 GB, free: 21.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000589/0.6432, allocations: 0 / 0.5405 GB, free: 21.9 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.03041/0.6736, allocations: 9.137 MB / 0.5494 GB, free: 17.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.6737, allocations: 9.562 kB / 0.5495 GB, free: 17.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03241/0.7061, allocations: 5.654 MB / 0.555 GB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0143/0.7204, allocations: 5.604 MB / 0.5604 GB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006722/0.7211, allocations: 0.5807 MB / 0.561 GB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004254/0.7254, allocations: 0.7684 MB / 0.5618 GB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03697/0.7624, allocations: 12.71 MB / 0.5742 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003257/0.7628, allocations: 15.53 kB / 0.5742 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003418/0.7662, allocations: 323.8 kB / 0.5745 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005692/0.7668, allocations: 0.4894 MB / 0.575 GB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03097/0.7977, allocations: 12.19 MB / 0.5869 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09877/0.8966, allocations: 43.83 MB / 0.6297 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02699/0.9236, allocations: 25.13 MB / 0.6542 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006009/0.9297, allocations: 2.963 MB / 0.6571 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005086/0.9302, allocations: 254.5 kB / 0.6574 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004592/0.9348, allocations: 2.574 MB / 0.6599 GB, free: 9.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 5.631e-06/0.9349, allocations: 0 / 0.6599 GB, free: 9.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.0543/0.9892, allocations: 19.68 MB / 0.6791 GB, free: 5.461 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002069/0.9894, allocations: 355.5 kB / 0.6794 GB, free: 5.039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006547/0.996, allocations: 3.495 MB / 0.6828 GB, free: 1.539 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001074/0.9971, allocations: 89.7 kB / 0.6829 GB, free: 1.445 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002915/1, allocations: 3.38 MB / 0.6862 GB, free: 14.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002164/1.002, allocations: 1.35 MB / 0.6876 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/1.003, allocations: 112 kB / 0.6877 GB, free: 12.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003859/1.003, allocations: 0.5258 MB / 0.6882 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/1.007, allocations: 2.533 MB / 0.6906 GB, free: 9.523 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005677/1.013, allocations: 4.503 MB / 0.695 GB, free: 4.176 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005734/1.019, allocations: 3.538 MB / 0.6985 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.141e-05/1.019, allocations: 19.78 kB / 0.6985 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01638/1.035, allocations: 8.233 MB / 0.7066 GB, free: 8.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.035, allocations: 57.7 kB / 0.7066 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001434/1.035, allocations: 60 kB / 0.7067 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/1.038, allocations: 1.006 MB / 0.7077 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005401/1.044, allocations: 1.258 MB / 0.7089 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3928/1.436, allocations: 8.207 MB / 0.7169 GB, free: 167.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006219/1.443, allocations: 360.2 kB / 0.7172 GB, free: 167.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001729/1.444, allocations: 266.2 kB / 0.7175 GB, free: 167.7 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.01199/1.456, allocations: 2.895 MB / 0.7203 GB, free: 167.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001994/1.458, allocations: 393.5 kB / 0.7207 GB, free: 167.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/1.473, allocations: 6.182 MB / 0.7267 GB, free: 166.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.568e-05/1.473, allocations: 41.38 kB / 0.7268 GB, free: 166.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.008e-05/1.473, allocations: 10.75 kB / 0.7268 GB, free: 166.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.074e-05/1.473, allocations: 24.27 kB / 0.7268 GB, free: 166.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03014/1.504, allocations: 14.9 MB / 0.7414 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/1.504, allocations: 3.875 kB / 0.7414 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.506, allocations: 0.6851 MB / 0.742 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/1.508, allocations: 0.8831 MB / 0.7429 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003397/1.509, allocations: 85.73 kB / 0.743 GB, free: 159.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009229/1.518, allocations: 7.178 MB / 0.75 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.518, allocations: 7.344 kB / 0.75 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.532, allocations: 8.751 MB / 0.7585 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003632/1.536, allocations: 0.9337 MB / 0.7595 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/1.537, allocations: 75.75 kB / 0.7595 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/1.54, allocations: 204.1 kB / 0.7597 GB, free: 150.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000719/1.54, allocations: 274.5 kB / 0.76 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/1.54, allocations: 114.9 kB / 0.7601 GB, free: 149.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004311/1.545, allocations: 2.334 MB / 0.7624 GB, free: 147.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.545, allocations: 0 / 0.7624 GB, free: 147.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007459/1.552, allocations: 1.453 MB / 0.7638 GB, free: 146.4 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.0007352/1.553, allocations: 253.3 kB / 0.764 GB, free: 146.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01025/1.563, allocations: 6.435 MB / 0.7703 GB, free: 139.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.563, allocations: 0 / 0.7703 GB, free: 139.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004517/1.568, allocations: 3.094 MB / 0.7733 GB, free: 136.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/1.572, allocations: 0.7855 MB / 0.7741 GB, free: 136 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02459/1.597, allocations: 16.31 MB / 0.79 GB, free: 119.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004007/1.601, allocations: 4.861 MB / 0.7948 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/1.603, allocations: 375.3 kB / 0.7951 GB, free: 114.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/1.603, allocations: 0 / 0.7951 GB, free: 114.4 MB / 494.1 MB Notification: Performance of Templates: time 0.4378/2.041, allocations: 130.8 MB / 0.9229 GB, free: 161.2 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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_VCurve4CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4CalcHelperMain.o] Error 1