Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008966, allocations: 102.7 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.495/1.495, allocations: 223.3 MB / 239.7 MB, free: 5.617 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.00099/0.0009901, allocations: 180.5 kB / 290.9 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03372/0.03372, allocations: 8.798 MB / 350.8 MB, free: 4.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.000424, allocations: 14.12 kB / 413.8 MB, free: 42.96 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1256, allocations: 52.55 MB / 466.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.02682/0.1525, allocations: 22.21 MB / 488.6 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01797/0.1706, allocations: 7.32 MB / 495.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00594/0.1765, allocations: 159.6 kB / 496.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006242/0.1828, allocations: 1.418 MB / 497.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.1933, allocations: 2.51 MB / 500 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005736/0.199, allocations: 1.311 MB / 0.4895 GB, free: 10.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01854/0.2176, allocations: 10.82 MB / 0.5001 GB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03604/0.2537, allocations: 13.81 MB / 0.5136 GB, free: 1.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008797/0.2626, allocations: 3.504 MB / 0.517 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008948/0.2716, allocations: 3.973 MB / 0.5209 GB, free: 10.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003188/0.2748, allocations: 0.5195 MB / 0.5214 GB, free: 9.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005736/0.2806, allocations: 0.8784 MB / 0.5223 GB, free: 8.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004038/0.2846, allocations: 1.662 MB / 0.5239 GB, free: 7.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005248/0.2899, allocations: 1.705 MB / 0.5256 GB, free: 5.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3306/0.6205, allocations: 15.31 MB / 0.5405 GB, free: 22.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.6206, allocations: 0.75 kB / 0.5405 GB, free: 22.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.6206, allocations: 1.312 kB / 0.5405 GB, free: 22.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005924/0.6212, allocations: 3.875 kB / 0.5405 GB, free: 22.39 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.03205/0.6532, allocations: 9.129 MB / 0.5494 GB, free: 17.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.6533, allocations: 9.812 kB / 0.5494 GB, free: 17.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03276/0.6861, allocations: 5.661 MB / 0.555 GB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/0.7025, allocations: 5.598 MB / 0.5604 GB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006654/0.7032, allocations: 0.584 MB / 0.561 GB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004089/0.7073, allocations: 0.7683 MB / 0.5617 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04017/0.7475, allocations: 12.71 MB / 0.5742 GB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003457/0.7479, allocations: 21.36 kB / 0.5742 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003194/0.7511, allocations: 323.7 kB / 0.5745 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005259/0.7517, allocations: 0.4912 MB / 0.575 GB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02922/0.7809, allocations: 12.19 MB / 0.5869 GB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09067/0.8716, allocations: 43.83 MB / 0.6297 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02554/0.8972, allocations: 25.13 MB / 0.6542 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006111/0.9034, allocations: 2.967 MB / 0.6571 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/0.9039, allocations: 242.8 kB / 0.6573 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004492/0.9084, allocations: 2.57 MB / 0.6599 GB, free: 9.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 5.641e-06/0.9085, allocations: 0 / 0.6599 GB, free: 9.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.04739/0.9559, allocations: 19.69 MB / 0.6791 GB, free: 5.605 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002388/0.9561, allocations: 359.5 kB / 0.6794 GB, free: 5.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00685/0.963, allocations: 3.487 MB / 0.6828 GB, free: 1.688 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001303/0.9643, allocations: 93.36 kB / 0.6829 GB, free: 1.594 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003233/0.9676, allocations: 3.377 MB / 0.6862 GB, free: 14.19 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002473/0.9701, allocations: 1.354 MB / 0.6875 GB, free: 12.85 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003697/0.9705, allocations: 116 kB / 0.6876 GB, free: 12.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004178/0.9709, allocations: 0.5258 MB / 0.6882 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004456/0.9754, allocations: 2.525 MB / 0.6906 GB, free: 9.672 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005928/0.9813, allocations: 4.497 MB / 0.695 GB, free: 4.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005918/0.9872, allocations: 3.536 MB / 0.6985 GB, free: 0.832 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.913e-05/0.9873, allocations: 23.78 kB / 0.6985 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.02146/1.009, allocations: 8.234 MB / 0.7065 GB, free: 8.941 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/1.009, allocations: 58.02 kB / 0.7066 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/1.009, allocations: 64 kB / 0.7067 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003311/1.012, allocations: 1.002 MB / 0.7076 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005702/1.018, allocations: 1.262 MB / 0.7089 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.341/1.359, allocations: 8.212 MB / 0.7169 GB, free: 168.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005887/1.365, allocations: 366.6 kB / 0.7172 GB, free: 168.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/1.367, allocations: 264.2 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.007551/1.374, allocations: 2.894 MB / 0.7203 GB, free: 168 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.376, allocations: 391.5 kB / 0.7207 GB, free: 168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/1.387, allocations: 6.181 MB / 0.7267 GB, free: 166.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.397e-05/1.387, allocations: 41.12 kB / 0.7268 GB, free: 166.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/1.387, allocations: 14.22 kB / 0.7268 GB, free: 166.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.39e-05/1.387, allocations: 19.61 kB / 0.7268 GB, free: 166.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02333/1.411, allocations: 14.91 MB / 0.7413 GB, free: 160.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.411, allocations: 7.031 kB / 0.7414 GB, free: 160.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/1.413, allocations: 0.6823 MB / 0.742 GB, free: 160.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002147/1.415, allocations: 0.8748 MB / 0.7429 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000276/1.415, allocations: 90.58 kB / 0.743 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008664/1.424, allocations: 7.176 MB / 0.75 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.424, allocations: 8.812 kB / 0.75 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.437, allocations: 8.744 MB / 0.7585 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002779/1.44, allocations: 0.9389 MB / 0.7594 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/1.441, allocations: 76 kB / 0.7595 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/1.444, allocations: 200.2 kB / 0.7597 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006505/1.445, allocations: 271.1 kB / 0.76 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002853/1.445, allocations: 117.9 kB / 0.7601 GB, free: 150.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005043/1.45, allocations: 2.335 MB / 0.7623 GB, free: 148.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.45, allocations: 0 / 0.7623 GB, free: 148.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007711/1.458, allocations: 1.461 MB / 0.7638 GB, free: 146.8 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.0009434/1.459, allocations: 251.6 kB / 0.764 GB, free: 146.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01172/1.471, allocations: 6.44 MB / 0.7703 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.471, allocations: 4 kB / 0.7703 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006264/1.477, allocations: 3.071 MB / 0.7733 GB, free: 137.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009562/1.487, allocations: 0.7931 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.04557/1.532, allocations: 16.31 MB / 0.79 GB, free: 120 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005951/1.538, allocations: 4.854 MB / 0.7948 GB, free: 115.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/1.54, allocations: 375.3 kB / 0.7951 GB, free: 114.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.194e-06/1.54, allocations: 0 / 0.7951 GB, free: 114.8 MB / 494.1 MB Notification: Performance of Templates: time 0.4902/2.031, allocations: 130.8 MB / 0.9228 GB, free: 161.7 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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_VCurve1CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1CalcHelperMain.o] Error 1