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.001087/0.001087, allocations: 100 kB / 17.96 MB, free: 5.766 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.00141/0.00141, allocations: 179.1 kB / 18.86 MB, free: 4.906 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.991/1.991, allocations: 205.4 MB / 225 MB, free: 13.08 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.0009335/0.0009335, allocations: 12 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.153, allocations: 47.58 MB / 329.6 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004942/0.158, allocations: 3.823 MB / 333.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1604, allocations: 0.9473 MB / 334.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.1608, allocations: 8 kB / 334.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.1611, allocations: 75.38 kB / 334.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006492/0.1618, allocations: 166.7 kB / 334.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.1622, allocations: 135.9 kB / 334.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008078/0.163, allocations: 0.7205 MB / 335.5 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.1634, allocations: 184.2 kB / 335.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.1637, allocations: 243 kB / 335.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003747/0.1641, allocations: 302.5 kB / 336.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.788e-05/0.1642, allocations: 36 kB / 336.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.1643, allocations: 32 kB / 336.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.1644, allocations: 119.5 kB / 336.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.1647, allocations: 324 kB / 336.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.1652, allocations: 0.4985 MB / 337.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1653, allocations: 0 / 337.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1653, allocations: 0 / 337.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.1653, allocations: 0 / 337.2 MB, free: 12.14 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.001464/0.1668, allocations: 0.8263 MB / 338 MB, free: 11.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.1668, allocations: 8.031 kB / 338 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.1669, allocations: 72.09 kB / 338.1 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.1674, allocations: 374 kB / 338.5 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.1675, allocations: 37.69 kB / 338.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.102e-05/0.1676, allocations: 56.38 kB / 338.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.1687, allocations: 0.5532 MB / 339.1 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1687, allocations: 0 / 339.1 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.1687, allocations: 20 kB / 339.1 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.1688, allocations: 16 kB / 339.1 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008621/0.1696, allocations: 459.6 kB / 339.6 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.1725, allocations: 2.069 MB / 341.7 MB, free: 7.473 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009385/0.1735, allocations: 0.6532 MB / 342.3 MB, free: 6.793 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.1741, allocations: 402.2 kB / 342.7 MB, free: 6.398 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.644e-05/0.1742, allocations: 12.56 kB / 342.7 MB, free: 6.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1742, allocations: 39.12 kB / 342.7 MB, free: 6.336 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 2.094e-06/0.1742, allocations: 0 / 342.7 MB, free: 6.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004588/0.1788, allocations: 2.079 MB / 344.8 MB, free: 4.137 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.1789, allocations: 63.91 kB / 344.9 MB, free: 4.062 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.1794, allocations: 357.6 kB / 345.2 MB, free: 3.703 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.1794, allocations: 37.7 kB / 345.3 MB, free: 3.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.1796, allocations: 233.2 kB / 345.5 MB, free: 3.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.1798, allocations: 205.1 kB / 345.7 MB, free: 3.227 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.1799, allocations: 49.64 kB / 345.8 MB, free: 3.172 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.1801, allocations: 354.8 kB / 346.1 MB, free: 2.816 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.1805, allocations: 177 kB / 346.3 MB, free: 2.645 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.1809, allocations: 219.8 kB / 346.5 MB, free: 2.422 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007343/0.1816, allocations: 388.9 kB / 346.9 MB, free: 2.039 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1817, allocations: 0 / 346.9 MB, free: 2.039 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001284/0.1829, allocations: 0.6812 MB / 347.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.183, allocations: 11.97 kB / 347.6 MB, free: 1.324 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.183, allocations: 0 / 347.6 MB, free: 1.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007288/0.1837, allocations: 255.1 kB / 347.8 MB, free: 1.062 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.184, allocations: 67.91 kB / 347.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006701/0.1908, allocations: 6.789 MB / 354.7 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.1912, allocations: 28.03 kB / 354.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.1912, allocations: 19.98 kB / 354.7 MB, free: 9.621 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.0002759/0.1915, allocations: 165.9 kB / 354.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.86e-05/0.1916, allocations: 55.28 kB / 354.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.1918, allocations: 64.95 kB / 355 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1918, allocations: 8 kB / 355 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.1918, allocations: 7.938 kB / 355 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1918, allocations: 3.984 kB / 355 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.1939, allocations: 1.353 MB / 356.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.194, allocations: 0 / 356.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.1943, allocations: 59.95 kB / 356.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006781/0.1949, allocations: 259.1 kB / 356.7 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.195, allocations: 12 kB / 356.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006441/0.2014, allocations: 6.793 MB / 363.5 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2015, allocations: 4.031 kB / 363.5 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.2034, allocations: 1.052 MB / 364.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.2036, allocations: 156.5 kB / 364.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.2037, allocations: 12.19 kB / 364.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.2039, allocations: 23.92 kB / 364.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.2041, allocations: 56.47 kB / 364.8 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.2041, allocations: 19.98 kB / 364.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003052/0.2045, allocations: 255.2 kB / 365 MB, free: 14.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2045, allocations: 0 / 365 MB, free: 14.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009247/0.2054, allocations: 176 kB / 365.2 MB, free: 14.43 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.000196/0.2056, allocations: 115.5 kB / 365.3 MB, free: 14.31 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.2073, allocations: 1.045 MB / 366.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2073, allocations: 0 / 366.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.2084, allocations: 0.8492 MB / 367.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.209, allocations: 85.41 kB / 367.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.2115, allocations: 1.612 MB / 368.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.2121, allocations: 0.8754 MB / 369.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.2122, allocations: 31.42 kB / 369.8 MB, free: 9.656 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2122, allocations: 0 / 369.8 MB, free: 9.656 MB / 318.1 MB Notification: Performance of Templates: time 0.2371/0.4492, allocations: 13.75 MB / 383.6 MB, free: 51.18 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