Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007895/0.0007894, allocations: 88.75 kB / 17.58 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008487/0.0008487, allocations: 187.6 kB / 18.48 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 224.6 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004867, allocations: 12 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.006747/0.1292, allocations: 5.348 MB / 334.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003936/0.1332, allocations: 1.61 MB / 335.9 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008146/0.134, allocations: 39.81 kB / 336 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.1345, allocations: 218.4 kB / 336.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.1357, allocations: 358 kB / 336.5 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.1364, allocations: 223.7 kB / 336.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002514/0.1389, allocations: 2.117 MB / 338.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.1411, allocations: 1.589 MB / 340.5 MB, free: 8.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.1425, allocations: 0.7199 MB / 341.2 MB, free: 7.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.1439, allocations: 0.9219 MB / 342.1 MB, free: 6.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.1441, allocations: 124 kB / 342.2 MB, free: 6.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.1446, allocations: 231.8 kB / 342.4 MB, free: 6.527 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.1451, allocations: 0.4906 MB / 342.9 MB, free: 6.035 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000497/0.1456, allocations: 436.6 kB / 343.4 MB, free: 5.602 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.1484, allocations: 2.887 MB / 346.3 MB, free: 2.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.1484, allocations: 4 kB / 346.3 MB, free: 2.703 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1484, allocations: 0 / 346.3 MB, free: 2.703 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.934e-05/0.1485, allocations: 0 / 346.3 MB, free: 2.703 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.003853/0.1524, allocations: 2.102 MB / 348.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1524, allocations: 12.03 kB / 348.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004175/0.1529, allocations: 229.3 kB / 348.6 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.1546, allocations: 1.138 MB / 349.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.1548, allocations: 160.1 kB / 349.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.155, allocations: 208 kB / 350.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004299/0.1594, allocations: 2.595 MB / 352.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.1594, allocations: 7.938 kB / 352.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.1596, allocations: 84 kB / 352.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.306e-05/0.1597, allocations: 55.98 kB / 352.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003792/0.1635, allocations: 2.069 MB / 354.9 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.175, allocations: 7.467 MB / 362.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.1773, allocations: 2.354 MB / 364.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.1786, allocations: 0.9395 MB / 365.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.1787, allocations: 17 kB / 365.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1787, allocations: 43.52 kB / 365.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 2.274e-06/0.1787, allocations: 0 / 365.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007175/0.1859, allocations: 4.208 MB / 369.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.186, allocations: 64.41 kB / 370 MB, free: 10.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.1871, allocations: 0.8524 MB / 370.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.1871, allocations: 41.7 kB / 370.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/0.1877, allocations: 0.8294 MB / 371.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.1879, allocations: 331.2 kB / 372 MB, free: 8.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.188, allocations: 20 kB / 372.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1881, allocations: 345.9 kB / 372.4 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/0.1889, allocations: 0.4899 MB / 372.9 MB, free: 7.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008382/0.1897, allocations: 0.6777 MB / 373.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/0.1905, allocations: 0.5729 MB / 374.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1906, allocations: 0 / 374.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002395/0.193, allocations: 1.624 MB / 375.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.193, allocations: 12 kB / 375.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.193, allocations: 7.984 kB / 375.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009687/0.194, allocations: 463 kB / 376.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/0.1946, allocations: 179.7 kB / 376.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2439/0.4385, allocations: 8.448 MB / 384.9 MB, free: 46.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008541/0.4394, allocations: 52.69 kB / 384.9 MB, free: 46.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/0.4395, allocations: 36.05 kB / 384.9 MB, free: 46.74 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001292/0.4408, allocations: 0.6367 MB / 385.6 MB, free: 46.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.4411, allocations: 102.8 kB / 385.7 MB, free: 46.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.4414, allocations: 135.2 kB / 385.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/0.4415, allocations: 12.2 kB / 385.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.4415, allocations: 2.062 kB / 385.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.4415, allocations: 5.797 kB / 385.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006084/0.4476, allocations: 3.525 MB / 389.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4476, allocations: 4.125 kB / 389.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/0.4482, allocations: 130.9 kB / 389.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009758/0.4492, allocations: 452.3 kB / 389.9 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/0.4492, allocations: 23.94 kB / 390 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007234/0.4565, allocations: 8.373 MB / 398.3 MB, free: 38.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4565, allocations: 0.9062 kB / 398.3 MB, free: 38.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/0.4597, allocations: 2.313 MB / 400.6 MB, free: 37.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/0.4603, allocations: 277.4 kB / 400.9 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.4604, allocations: 21.52 kB / 400.9 MB, free: 37.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.4608, allocations: 47.33 kB / 401 MB, free: 37.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.4611, allocations: 92.78 kB / 401.1 MB, free: 37.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-05/0.4611, allocations: 21.5 kB / 401.1 MB, free: 37.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008619/0.462, allocations: 0.6012 MB / 401.7 MB, free: 37.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.462, allocations: 0 / 401.7 MB, free: 37.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001656/0.4637, allocations: 385.2 kB / 402.1 MB, free: 36.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002854/0.464, allocations: 137.4 kB / 402.2 MB, free: 36.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002545/0.4665, allocations: 1.818 MB / 404 MB, free: 35.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4666, allocations: 384 / 404 MB, free: 35.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.4679, allocations: 1.245 MB / 405.3 MB, free: 34.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.469, allocations: 288 kB / 405.5 MB, free: 34.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/0.4746, allocations: 4.38 MB / 409.9 MB, free: 31.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009489/0.4755, allocations: 1.684 MB / 411.6 MB, free: 29.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.4758, allocations: 67.42 kB / 411.7 MB, free: 29.81 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4758, allocations: 0 / 411.7 MB, free: 29.81 MB / 318.1 MB Notification: Performance of Templates: time 0.05883/0.5346, allocations: 58.28 MB / 470 MB, free: 3.434 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.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 OMCppModelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.RectifierCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.RectifierCalcHelperMain.o] Error 1