Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.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.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001434/0.001434, allocations: 194 kB / 18.72 MB, free: 4.762 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.842/1.842, allocations: 205.1 MB / 224.6 MB, free: 12.5 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.001253/0.001253, allocations: 55.92 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1471, allocations: 46.64 MB / 327.3 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006426/0.1537, allocations: 4.224 MB / 331.5 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1557, allocations: 0.9511 MB / 332.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.1559, allocations: 11.94 kB / 332.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1562, allocations: 71.44 kB / 332.5 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004999/0.1567, allocations: 170.7 kB / 332.7 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1571, allocations: 135.8 kB / 332.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007785/0.1578, allocations: 0.7088 MB / 333.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.1582, allocations: 188.2 kB / 333.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.1586, allocations: 270.9 kB / 334 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.1589, allocations: 314.5 kB / 334.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.671e-05/0.159, allocations: 44 kB / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1591, allocations: 40 kB / 334.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.1593, allocations: 131.4 kB / 334.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.1597, allocations: 310.3 kB / 334.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.1605, allocations: 0.5143 MB / 335.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1605, allocations: 0 / 335.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1605, allocations: 0 / 335.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1605, allocations: 0 / 335.3 MB, free: 12.8 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002311/0.1628, allocations: 0.9119 MB / 336.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/0.1629, allocations: 8.031 kB / 336.2 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.1632, allocations: 68.19 kB / 336.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/0.164, allocations: 385.8 kB / 336.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/0.1641, allocations: 37.69 kB / 336.7 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.1642, allocations: 52.38 kB / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.1659, allocations: 0.5454 MB / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.166, allocations: 7.938 kB / 337.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.1661, allocations: 20 kB / 337.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.1661, allocations: 16 kB / 337.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.1675, allocations: 451.7 kB / 337.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004739/0.1722, allocations: 2.042 MB / 339.8 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.1738, allocations: 0.6376 MB / 340.5 MB, free: 7.414 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000952/0.1747, allocations: 402.1 kB / 340.9 MB, free: 7.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.47e-05/0.1748, allocations: 4.562 kB / 340.9 MB, free: 7.012 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.1749, allocations: 39.12 kB / 340.9 MB, free: 6.965 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 5e-06/0.1749, allocations: 0 / 340.9 MB, free: 6.965 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.006766/0.1817, allocations: 2.04 MB / 342.9 MB, free: 4.805 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.1817, allocations: 55.97 kB / 343 MB, free: 4.738 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006197/0.1824, allocations: 365.7 kB / 343.3 MB, free: 4.371 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.1824, allocations: 33.7 kB / 343.4 MB, free: 4.332 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.1828, allocations: 229.2 kB / 343.6 MB, free: 4.105 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.1831, allocations: 205 kB / 343.8 MB, free: 3.902 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.1834, allocations: 94.25 kB / 343.9 MB, free: 3.805 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002779/0.1836, allocations: 354.8 kB / 344.2 MB, free: 3.449 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.1842, allocations: 165 kB / 344.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.1848, allocations: 211.8 kB / 344.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.1858, allocations: 388.8 kB / 345 MB, free: 2.691 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1858, allocations: 0 / 345 MB, free: 2.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001833/0.1877, allocations: 0.6656 MB / 345.7 MB, free: 2.004 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.1877, allocations: 11.94 kB / 345.7 MB, free: 1.992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1877, allocations: 0 / 345.7 MB, free: 1.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.1889, allocations: 259.2 kB / 345.9 MB, free: 1.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.1893, allocations: 63.89 kB / 346 MB, free: 1.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009615/0.199, allocations: 6.777 MB / 352.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.1994, allocations: 20.02 kB / 352.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.1995, allocations: 16 kB / 352.8 MB, free: 10.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.1999, allocations: 173.9 kB / 353 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.2, allocations: 51.44 kB / 353 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.2001, allocations: 60.95 kB / 353.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2001, allocations: 8 kB / 353.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/0.2001, allocations: 3.938 kB / 353.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.2002, allocations: 7.984 kB / 353.1 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.2024, allocations: 1.337 MB / 354.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.2025, allocations: 0 / 354.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.2028, allocations: 59.91 kB / 354.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009331/0.2037, allocations: 259.3 kB / 354.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.2038, allocations: 19.92 kB / 354.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009514/0.2133, allocations: 6.769 MB / 361.5 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2134, allocations: 256 / 361.5 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.216, allocations: 1.037 MB / 362.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.2164, allocations: 160.5 kB / 362.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.2164, allocations: 8 kB / 362.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.2167, allocations: 19.98 kB / 362.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.2169, allocations: 52.42 kB / 362.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.217, allocations: 16 kB / 362.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003426/0.2173, allocations: 259.2 kB / 363.1 MB, free: 15.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2173, allocations: 4 kB / 363.1 MB, free: 15.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001001/0.2183, allocations: 176 kB / 363.2 MB, free: 15.18 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000207/0.2185, allocations: 107.6 kB / 363.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.2204, allocations: 1.029 MB / 364.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2204, allocations: 0 / 364.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.2217, allocations: 0.8336 MB / 365.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007196/0.2225, allocations: 93.66 kB / 365.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.225, allocations: 1.521 MB / 366.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/0.2258, allocations: 0.8754 MB / 367.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/0.2259, allocations: 31.42 kB / 367.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2259, allocations: 0 / 367.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of Templates: time 0.3057/0.5316, allocations: 13.82 MB / 381.6 MB, free: 52.35 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.RectifierCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.RectifierCalcHelperMain.o] Error 1