Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.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/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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008392/0.0008391, allocations: 103 kB / 15.71 MB, free: 460 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.462/1.462, allocations: 223.3 MB / 239.7 MB, free: 5.469 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.001416/0.001416, allocations: 180.6 kB / 290.9 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.0335/0.0335, allocations: 8.775 MB / 350.8 MB, free: 4.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 9 kB / 413.8 MB, free: 42.99 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1121, allocations: 52.56 MB / 466.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.004211/0.1163, allocations: 3.899 MB / 470.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1184, allocations: 1.107 MB / 471.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.1188, allocations: 23.88 kB / 471.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.119, allocations: 127.1 kB / 471.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000741/0.1198, allocations: 318.4 kB / 471.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.12, allocations: 111.8 kB / 471.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.1216, allocations: 1.708 MB / 473.7 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/0.1225, allocations: 0.7706 MB / 474.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006689/0.1231, allocations: 0.5137 MB / 474.9 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008101/0.124, allocations: 0.6887 MB / 475.6 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1241, allocations: 76 kB / 475.7 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1243, allocations: 76 kB / 475.8 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.1246, allocations: 378.8 kB / 476.1 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.1249, allocations: 301 kB / 476.4 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.1263, allocations: 1.854 MB / 478.3 MB, free: 1.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1264, allocations: 3.938 kB / 478.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1264, allocations: 0 / 478.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.1264, allocations: 4 kB / 478.3 MB, free: 1.473 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.002533/0.1289, allocations: 1.59 MB / 479.9 MB, free: 15.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.129, allocations: 8.031 kB / 479.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.1292, allocations: 158.1 kB / 480.1 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.1305, allocations: 0.9184 MB / 481 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.1306, allocations: 86.23 kB / 481.1 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.1308, allocations: 116 kB / 481.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/0.1339, allocations: 1.685 MB / 482.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.134, allocations: 0 / 482.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.1341, allocations: 47.98 kB / 482.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.2e-05/0.1342, allocations: 50.22 kB / 482.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.1368, allocations: 1.57 MB / 484.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007087/0.1439, allocations: 5.037 MB / 489.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.1463, allocations: 2.582 MB / 492.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.1475, allocations: 0.868 MB / 493 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/0.1476, allocations: 13 kB / 493 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1476, allocations: 39.56 kB / 493.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.865e-06/0.1476, allocations: 3.938 kB / 493.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=93): time 0.007772/0.1554, allocations: 4.129 MB / 497.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1554, allocations: 60.41 kB / 497.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.1566, allocations: 0.8716 MB / 498.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/0.1567, allocations: 41.7 kB / 498.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.157, allocations: 0.5037 MB / 498.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.1573, allocations: 311.3 kB / 499 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.1573, allocations: 20 kB / 499 MB, free: 12.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1575, allocations: 338 kB / 499.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007611/0.1582, allocations: 0.5016 MB / 499.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008211/0.1591, allocations: 0.5801 MB / 0.4887 GB, free: 10.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.1599, allocations: 0.5456 MB / 0.4892 GB, free: 10.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1599, allocations: 4 kB / 0.4892 GB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002548/0.1625, allocations: 1.577 MB / 0.4907 GB, free: 8.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.1625, allocations: 8 kB / 0.4908 GB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1625, allocations: 4.031 kB / 0.4908 GB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.1636, allocations: 494.9 kB / 0.4912 GB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/0.1642, allocations: 147.8 kB / 0.4914 GB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009052/0.1733, allocations: 8.729 MB / 0.4999 GB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/0.1741, allocations: 52.05 kB / 0.4999 GB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.1741, allocations: 24 kB / 0.5 GB, free: 14.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * 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: 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.001025/0.1752, allocations: 0.4937 MB / 0.5005 GB, free: 14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.1754, allocations: 98.83 kB / 0.5005 GB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.1756, allocations: 133.3 kB / 0.5007 GB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1757, allocations: 12 kB / 0.5007 GB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.1757, allocations: 4 kB / 0.5007 GB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.1757, allocations: 3.984 kB / 0.5007 GB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/0.1807, allocations: 3.216 MB / 0.5038 GB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1807, allocations: 0 / 0.5038 GB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.1812, allocations: 123.9 kB / 0.504 GB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009264/0.1822, allocations: 495.3 kB / 0.5044 GB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.1822, allocations: 23.98 kB / 0.5044 GB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008008/0.1902, allocations: 8.65 MB / 0.5129 GB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1903, allocations: 0 / 0.5129 GB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00375/0.194, allocations: 2.366 MB / 0.5152 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005886/0.1946, allocations: 291.9 kB / 0.5155 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.1948, allocations: 27.95 kB / 0.5155 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.1952, allocations: 67.92 kB / 0.5156 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.1955, allocations: 80.88 kB / 0.5157 GB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.1955, allocations: 28 kB / 0.5157 GB, free: 13.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008647/0.1964, allocations: 0.6278 MB / 0.5163 GB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1964, allocations: 0 / 0.5163 GB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001409/0.1978, allocations: 308 kB / 0.5166 GB, free: 12.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * 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: 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.0002609/0.1981, allocations: 132.2 kB / 0.5167 GB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003117/0.2012, allocations: 1.792 MB / 0.5185 GB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.2013, allocations: 128 / 0.5185 GB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.203, allocations: 1.258 MB / 0.5197 GB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.2042, allocations: 293.9 kB / 0.52 GB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/0.2093, allocations: 3.315 MB / 0.5232 GB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.2104, allocations: 1.4 MB / 0.5246 GB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.2107, allocations: 55.44 kB / 0.5246 GB, free: 4.379 MB / 366.1 MB Notification: Performance of SimCode: time 2.114e-06/0.2107, allocations: 0 / 0.5246 GB, free: 4.379 MB / 366.1 MB Notification: Performance of Templates: time 0.2839/0.4946, allocations: 41.06 MB / 0.5647 GB, free: 43.24 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile make -j1 -f HanserModelica_HanserModelica.Electrical.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 OMCppHanserModelica_HanserModelica.Electrical.RectifierCalcHelperMain.o OMCppHanserModelica_HanserModelica.Electrical.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Electrical.RectifierCalcHelperMain.o] Error 1