Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) 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 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.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 95.14 kB / 16.95 MB, free: 5.953 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.001513/0.001514, allocations: 178.2 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002916, allocations: 4 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1248, allocations: 50.43 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00686/0.1317, allocations: 5.377 MB / 357.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003991/0.1357, allocations: 1.558 MB / 358.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.1371, allocations: 39.88 kB / 358.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.1382, allocations: 222.4 kB / 359.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.14, allocations: 369.9 kB / 359.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007259/0.1407, allocations: 211.7 kB / 359.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00249/0.1432, allocations: 2.118 MB / 361.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.1454, allocations: 1.629 MB / 363.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.1466, allocations: 0.7238 MB / 364.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.1479, allocations: 0.918 MB / 365 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.1481, allocations: 120 kB / 365.1 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.1486, allocations: 243.6 kB / 365.4 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004695/0.1491, allocations: 494.4 kB / 365.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004904/0.1496, allocations: 436.6 kB / 366.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.1524, allocations: 2.895 MB / 369.2 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1524, allocations: 0 / 369.2 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.1524, allocations: 0 / 369.2 MB, free: 2.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.482e-05/0.1525, allocations: 3.938 kB / 369.2 MB, free: 2.605 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004167/0.1567, allocations: 2.109 MB / 371.3 MB, free: 444 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1567, allocations: 12.03 kB / 371.3 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004691/0.1572, allocations: 229.3 kB / 371.5 MB, free: 200 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2928/0.45, allocations: 1.208 MB / 372.7 MB, free: 23.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.4504, allocations: 153 kB / 372.9 MB, free: 23.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009569/0.4514, allocations: 204.9 kB / 373.1 MB, free: 23.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007251/0.4587, allocations: 2.598 MB / 375.7 MB, free: 22.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.4588, allocations: 6.031 kB / 375.7 MB, free: 22.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.4589, allocations: 85.88 kB / 375.8 MB, free: 22.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.4591, allocations: 52.86 kB / 375.8 MB, free: 22.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004388/0.4635, allocations: 2.079 MB / 377.9 MB, free: 21.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01554/0.479, allocations: 7.449 MB / 385.3 MB, free: 17.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002893/0.482, allocations: 2.354 MB / 387.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.4841, allocations: 0.9338 MB / 388.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.247e-05/0.4842, allocations: 14.69 kB / 388.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.4842, allocations: 47.03 kB / 388.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 5.049e-06/0.4842, allocations: 3.719 kB / 388.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.009804/0.4941, allocations: 4.199 MB / 392.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.4942, allocations: 65.92 kB / 393 MB, free: 12.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.4959, allocations: 0.854 MB / 393.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.301e-05/0.496, allocations: 42.61 kB / 393.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/0.4966, allocations: 0.83 MB / 394.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.4969, allocations: 327.7 kB / 395 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.497, allocations: 16.12 kB / 395 MB, free: 10.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4971, allocations: 352.9 kB / 395.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.4981, allocations: 0.4896 MB / 395.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.4993, allocations: 0.6752 MB / 396.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.5004, allocations: 0.5685 MB / 397.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.5004, allocations: 0 / 397.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003245/0.5036, allocations: 1.626 MB / 398.7 MB, free: 7.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.5037, allocations: 11.95 kB / 398.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.5037, allocations: 8 kB / 398.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.5051, allocations: 457 kB / 399.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009155/0.506, allocations: 179.7 kB / 399.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.5163, allocations: 8.456 MB / 407.8 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.5174, allocations: 47.95 kB / 407.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.5176, allocations: 36 kB / 407.9 MB, free: 14 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.001597/0.5192, allocations: 0.6341 MB / 408.5 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/0.5196, allocations: 94.88 kB / 408.6 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.52, allocations: 142 kB / 408.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/0.5201, allocations: 8 kB / 408.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.618e-05/0.5201, allocations: 7.953 kB / 408.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5201, allocations: 7.922 kB / 408.8 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007267/0.5274, allocations: 3.52 MB / 412.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.5274, allocations: 3.953 kB / 412.3 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.528, allocations: 131.9 kB / 412.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.529, allocations: 451 kB / 412.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-05/0.5291, allocations: 27.98 kB / 412.9 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.5392, allocations: 8.37 MB / 421.3 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5392, allocations: 8.047 kB / 421.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00387/0.5431, allocations: 2.306 MB / 423.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006975/0.5438, allocations: 283.8 kB / 423.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.5441, allocations: 17.09 kB / 423.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.5446, allocations: 47.95 kB / 423.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.5449, allocations: 88.8 kB / 424 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.545, allocations: 24 kB / 424.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.546, allocations: 0.6005 MB / 424.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.546, allocations: 0 / 424.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001851/0.5479, allocations: 389 kB / 425 MB, free: 12.21 MB / 334.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.0003379/0.5482, allocations: 139.1 kB / 425.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003138/0.5514, allocations: 1.814 MB / 427 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5514, allocations: 1.312 kB / 427 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.5533, allocations: 1.237 MB / 428.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.5549, allocations: 283.2 kB / 428.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/0.5622, allocations: 4.384 MB / 432.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.5637, allocations: 1.683 MB / 434.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.564, allocations: 67.42 kB / 434.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of SimCode: time 1.443e-06/0.564, allocations: 0 / 434.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of Templates: time 0.0737/0.6377, allocations: 58.28 MB / 492.9 MB, free: 8.176 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.RectifierCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Polyphase.Examples.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Polyphase.Examples.RectifierCalcHelperMain.o] Error 1