Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.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.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007945/0.0007942, allocations: 99.36 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.494/1.494, allocations: 223.3 MB / 239.7 MB, free: 5.613 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.001079/0.001079, allocations: 180.5 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.03393/0.03393, allocations: 8.773 MB / 350.8 MB, free: 4.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005598/0.0005598, allocations: 14.88 kB / 413.8 MB, free: 43.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1308, allocations: 52.56 MB / 466.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.005223/0.1361, allocations: 3.477 MB / 469.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.1386, allocations: 1.048 MB / 470.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.139, allocations: 23.88 kB / 470.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1393, allocations: 119.2 kB / 471 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008061/0.1402, allocations: 250.7 kB / 471.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1405, allocations: 111.9 kB / 471.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.1422, allocations: 1.615 MB / 473 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.1436, allocations: 1.074 MB / 474.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009232/0.1445, allocations: 0.5175 MB / 474.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.1455, allocations: 0.6729 MB / 475.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1457, allocations: 76 kB / 475.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.1459, allocations: 91.98 kB / 475.4 MB, free: 4.453 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003684/0.1463, allocations: 386.7 kB / 475.8 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.1467, allocations: 312.9 kB / 476.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.1487, allocations: 1.94 MB / 478.1 MB, free: 1.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1488, allocations: 0 / 478.1 MB, free: 1.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1488, allocations: 0 / 478.1 MB, free: 1.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.265e-05/0.1488, allocations: 0 / 478.1 MB, free: 1.816 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003353/0.1522, allocations: 1.626 MB / 479.7 MB, free: 140 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.1522, allocations: 15.97 kB / 479.7 MB, free: 124 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004677/0.1527, allocations: 170 kB / 479.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.1544, allocations: 0.9655 MB / 480.8 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.1545, allocations: 106.8 kB / 480.9 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/0.1548, allocations: 136 kB / 481.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/0.1585, allocations: 1.936 MB / 483 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.1585, allocations: 0 / 483 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.1587, allocations: 56 kB / 483.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.1587, allocations: 39.95 kB / 483.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.1616, allocations: 1.603 MB / 484.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008472/0.1701, allocations: 4.875 MB / 489.6 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.172, allocations: 1.846 MB / 491.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.1732, allocations: 0.6869 MB / 492.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.1733, allocations: 16.61 kB / 492.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.1744, allocations: 0.6089 MB / 492.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=74): time 6.552e-06/0.1744, allocations: 4 kB / 492.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.005205/0.1796, allocations: 2.803 MB / 495.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.1798, allocations: 149.2 kB / 495.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.1809, allocations: 0.7893 MB / 496.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.1809, allocations: 45.69 kB / 496.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005712/0.1815, allocations: 0.6159 MB / 497.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.1817, allocations: 264.3 kB / 497.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.1818, allocations: 16 kB / 497.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.182, allocations: 394.8 kB / 497.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.1826, allocations: 409.7 kB / 498.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/0.1834, allocations: 0.6074 MB / 498.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007631/0.1842, allocations: 498.9 kB / 499.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1842, allocations: 4 kB / 499.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001984/0.1862, allocations: 1.25 MB / 0.4888 GB, free: 10.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.1862, allocations: 11.98 kB / 0.4888 GB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.1862, allocations: 7.938 kB / 0.4888 GB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.1866, allocations: 164.7 kB / 0.489 GB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/0.1873, allocations: 175.8 kB / 0.4892 GB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.1904, allocations: 2.723 MB / 0.4918 GB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.191, allocations: 60.02 kB / 0.4919 GB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.1911, allocations: 28 kB / 0.4919 GB, free: 7.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000968/0.192, allocations: 0.556 MB / 0.4924 GB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.1922, allocations: 79.06 kB / 0.4925 GB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.1924, allocations: 116.3 kB / 0.4926 GB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1924, allocations: 4.141 kB / 0.4926 GB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.1924, allocations: 11.94 kB / 0.4926 GB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.1924, allocations: 3.984 kB / 0.4926 GB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004073/0.1965, allocations: 2.681 MB / 0.4953 GB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.1965, allocations: 3.984 kB / 0.4953 GB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.197, allocations: 116 kB / 0.4954 GB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003405/0.1974, allocations: 160.6 kB / 0.4955 GB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/0.1975, allocations: 27.97 kB / 0.4956 GB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0029/0.2004, allocations: 2.684 MB / 0.4982 GB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2004, allocations: 0 / 0.4982 GB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.203, allocations: 1.747 MB / 0.4999 GB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/0.2035, allocations: 260 kB / 0.5001 GB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.2036, allocations: 31.98 kB / 0.5002 GB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.204, allocations: 43.97 kB / 0.5002 GB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.2042, allocations: 80.52 kB / 0.5003 GB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.2042, allocations: 20 kB / 0.5003 GB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007439/0.205, allocations: 0.5692 MB / 0.5009 GB, free: 13.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.205, allocations: 0 / 0.5009 GB, free: 13.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009836/0.206, allocations: 264 kB / 0.5011 GB, free: 13.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[1].i,inductor.inductor[3].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001856/0.2062, allocations: 128.1 kB / 0.5012 GB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.208, allocations: 1.14 MB / 0.5023 GB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2081, allocations: 4 kB / 0.5023 GB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.2091, allocations: 0.7213 MB / 0.5031 GB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009939/0.2101, allocations: 213.6 kB / 0.5033 GB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/0.2149, allocations: 3.379 MB / 0.5066 GB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.2162, allocations: 1.481 MB / 0.508 GB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.2164, allocations: 63.42 kB / 0.5081 GB, free: 6.383 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2164, allocations: 0 / 0.5081 GB, free: 6.383 MB / 350.1 MB Notification: Performance of Templates: time 0.2469/0.4633, allocations: 22.72 MB / 0.5303 GB, free: 68.77 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.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.StarDeltaCalcHelperMain.o OMCppHanserModelica_HanserModelica.Electrical.StarDeltaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Electrical.StarDeltaCalcHelperMain.o] Error 1