Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarPolygon.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.Electrical.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") translateModel(HanserModelica.Electrical.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 100.5 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.516/1.516, allocations: 223.3 MB / 239.7 MB, free: 5.641 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.001306/0.001306, allocations: 180.5 kB / 290.9 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03316/0.03316, allocations: 8.782 MB / 350.8 MB, free: 4.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004128, allocations: 10.34 kB / 413.8 MB, free: 43.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 52.56 MB / 466.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.004649/0.119, allocations: 3.501 MB / 469.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1215, allocations: 1.064 MB / 470.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.1219, allocations: 23.88 kB / 470.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.1222, allocations: 131.1 kB / 471.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007065/0.123, allocations: 258.7 kB / 471.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1233, allocations: 119.8 kB / 471.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002055/0.1253, allocations: 2.369 MB / 473.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.1272, allocations: 1.74 MB / 475.6 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.1283, allocations: 0.7939 MB / 476.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.1295, allocations: 1.039 MB / 477.4 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.1297, allocations: 132 kB / 477.5 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.13, allocations: 132 kB / 477.6 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004995/0.1305, allocations: 0.6074 MB / 478.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.131, allocations: 492.5 kB / 478.7 MB, free: 1.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002744/0.1338, allocations: 3.203 MB / 481.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1338, allocations: 3.938 kB / 481.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1338, allocations: 0 / 481.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.967e-05/0.1339, allocations: 0 / 481.9 MB, free: 13.88 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.004464/0.1384, allocations: 2.475 MB / 484.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1384, allocations: 12.03 kB / 484.4 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005874/0.139, allocations: 276.8 kB / 484.7 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.1413, allocations: 1.412 MB / 486.1 MB, free: 9.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.1415, allocations: 176.5 kB / 486.3 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003489/0.1419, allocations: 232 kB / 486.5 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005789/0.1477, allocations: 3.174 MB / 489.7 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/0.1477, allocations: 15.83 kB / 489.7 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.1479, allocations: 92 kB / 489.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/0.148, allocations: 63.95 kB / 489.9 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004324/0.1523, allocations: 2.656 MB / 492.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.1645, allocations: 7.971 MB / 0.4887 GB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.1672, allocations: 3.088 MB / 0.4918 GB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.1688, allocations: 1.1 MB / 0.4928 GB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.946e-05/0.1689, allocations: 21.45 kB / 0.4929 GB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001444/0.1704, allocations: 0.9946 MB / 0.4938 GB, free: 5.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=122): time 2.946e-06/0.1704, allocations: 4 kB / 0.4938 GB, free: 5.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.007961/0.1784, allocations: 4.524 MB / 0.4983 GB, free: 0.8008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.1785, allocations: 201.2 kB / 0.4984 GB, free: 0.5625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.1804, allocations: 1.219 MB / 0.4996 GB, free: 15.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.1805, allocations: 57.69 kB / 0.4997 GB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.1817, allocations: 0.9589 MB / 0.5006 GB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.1821, allocations: 433.8 kB / 0.501 GB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.1822, allocations: 24 kB / 0.5011 GB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.1824, allocations: 361.9 kB / 0.5014 GB, free: 13.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.1835, allocations: 0.6817 MB / 0.5021 GB, free: 12.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.1848, allocations: 0.9856 MB / 0.503 GB, free: 11.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.1861, allocations: 0.8109 MB / 0.5038 GB, free: 10.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.1861, allocations: 4 kB / 0.5038 GB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003355/0.1894, allocations: 2.07 MB / 0.5059 GB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.1895, allocations: 8 kB / 0.5059 GB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.1895, allocations: 4 kB / 0.5059 GB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/0.1901, allocations: 285.8 kB / 0.5061 GB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009427/0.1911, allocations: 263.6 kB / 0.5064 GB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/0.1955, allocations: 3.768 MB / 0.5101 GB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/0.1965, allocations: 95.98 kB / 0.5102 GB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.1966, allocations: 51.94 kB / 0.5102 GB, free: 4.195 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare[5].mean.y_last,rootMeanSquare[5].mean.y_last,$PRE.rootMeanSquare[4].mean.y_last,rootMeanSquare[4].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,rootMeanSquare[1].mean.y_last,switch.control[1],switch.control[2],switch.control[3],switch.control[4],switch.control[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 138 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001493/0.1981, allocations: 0.8436 MB / 0.511 GB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.1983, allocations: 134.4 kB / 0.5112 GB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.1987, allocations: 177.3 kB / 0.5113 GB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.1987, allocations: 12 kB / 0.5113 GB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/0.1987, allocations: 8 kB / 0.5114 GB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.1987, allocations: 7.969 kB / 0.5114 GB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/0.2053, allocations: 4.309 MB / 0.5156 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.2054, allocations: 3.984 kB / 0.5156 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/0.2062, allocations: 195.8 kB / 0.5158 GB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005465/0.2067, allocations: 273.2 kB / 0.516 GB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.012e-05/0.2068, allocations: 43.97 kB / 0.5161 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004782/0.2116, allocations: 3.706 MB / 0.5197 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2116, allocations: 4.031 kB / 0.5197 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004417/0.2161, allocations: 2.878 MB / 0.5225 GB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008081/0.2169, allocations: 363.4 kB / 0.5228 GB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.2171, allocations: 43.98 kB / 0.5229 GB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.2177, allocations: 87.92 kB / 0.523 GB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.218, allocations: 128.8 kB / 0.5231 GB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.64e-05/0.2181, allocations: 43.92 kB / 0.5231 GB, free: 6.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001267/0.2194, allocations: 0.8461 MB / 0.524 GB, free: 5.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.983e-06/0.2194, allocations: 96 / 0.524 GB, free: 5.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001568/0.2209, allocations: 447.9 kB / 0.5244 GB, free: 5.391 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].i,inductorLoad.inductor[3].i,inductorLoad.inductor[4].i,inductorLoad.inductor[5].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],switch.control[4],switch.control[5],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last,rootMeanSquare[4].mean.y_last,rootMeanSquare[5].mean.y_last) * Number of discrete states: 5 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002402/0.2212, allocations: 163 kB / 0.5245 GB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.2243, allocations: 1.849 MB / 0.5263 GB, free: 3.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.2243, allocations: 8 kB / 0.5264 GB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.2262, allocations: 1.163 MB / 0.5275 GB, free: 2.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.2277, allocations: 296.3 kB / 0.5278 GB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2432/0.4709, allocations: 5.481 MB / 0.5331 GB, free: 65.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.4726, allocations: 1.996 MB / 0.5351 GB, free: 65.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.4732, allocations: 90.59 kB / 0.5352 GB, free: 65.14 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4732, allocations: 0 / 0.5352 GB, free: 65.14 MB / 366.1 MB Notification: Performance of Templates: time 0.05589/0.5291, allocations: 36.22 MB / 0.5705 GB, free: 40.86 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarPolygon.makefile make -j1 -f HanserModelica_HanserModelica.Electrical.StarPolygon.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.Electrical.StarPolygonCalcHelperMain.o OMCppHanserModelica_HanserModelica.Electrical.StarPolygonCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Electrical.StarPolygonCalcHelperMain.o] Error 1