Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001485, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001716/0.001716, allocations: 190 kB / 18.72 MB, free: 4.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001783/0.001783, allocations: 51.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1783, allocations: 46.64 MB / 327.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.008103/0.1864, allocations: 3.639 MB / 330.9 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00358/0.1901, allocations: 1.041 MB / 331.9 MB, free: 168 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.1904, allocations: 11.94 kB / 332 MB, free: 156 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.1908, allocations: 83.41 kB / 332 MB, free: 72 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.1919, allocations: 207 kB / 332.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.1923, allocations: 127.7 kB / 332.4 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.1939, allocations: 1.063 MB / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008941/0.1948, allocations: 481.7 kB / 333.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005931/0.1955, allocations: 342.6 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008322/0.1963, allocations: 470.1 kB / 334.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.1964, allocations: 60 kB / 334.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1966, allocations: 59.94 kB / 334.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.1969, allocations: 231.2 kB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005981/0.1975, allocations: 429.8 kB / 335.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.1988, allocations: 1.017 MB / 336.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.1988, allocations: 0 / 336.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1989, allocations: 4 kB / 336.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.418e-05/0.1989, allocations: 0 / 336.5 MB, free: 11.61 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002651/0.2015, allocations: 1.154 MB / 337.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.2016, allocations: 16.03 kB / 337.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.2018, allocations: 87.91 kB / 337.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.2029, allocations: 0.5924 MB / 338.3 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-05/0.203, allocations: 57.23 kB / 338.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.2032, allocations: 64 kB / 338.4 MB, free: 9.551 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.2051, allocations: 0.9111 MB / 339.4 MB, free: 8.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.2052, allocations: 0 / 339.4 MB, free: 8.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.2053, allocations: 28 kB / 339.4 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.386e-05/0.2053, allocations: 25.31 kB / 339.4 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.2069, allocations: 0.7858 MB / 340.2 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/0.2118, allocations: 2.791 MB / 343 MB, free: 4.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.2129, allocations: 0.7528 MB / 343.7 MB, free: 4.062 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006318/0.2135, allocations: 341.3 kB / 344.1 MB, free: 3.727 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.2136, allocations: 4.328 kB / 344.1 MB, free: 3.723 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007089/0.2143, allocations: 393.5 kB / 344.5 MB, free: 3.316 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.815e-06/0.2143, allocations: 0 / 344.5 MB, free: 3.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002917/0.2172, allocations: 1.181 MB / 345.6 MB, free: 2.105 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2173, allocations: 110.8 kB / 345.8 MB, free: 1.973 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000876/0.2182, allocations: 0.5605 MB / 346.3 MB, free: 1.402 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.2183, allocations: 37.7 kB / 346.3 MB, free: 1.359 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.2187, allocations: 355.9 kB / 346.7 MB, free: 1.004 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.2189, allocations: 142 kB / 346.8 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.2191, allocations: 86.25 kB / 346.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003009/0.2194, allocations: 370.8 kB / 347.3 MB, free: 412 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.2199, allocations: 220.9 kB / 347.5 MB, free: 188 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/0.2205, allocations: 353.9 kB / 347.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2215, allocations: 0.569 MB / 348.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.2215, allocations: 7.938 kB / 348.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001465/0.223, allocations: 0.743 MB / 349.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.2231, allocations: 12.44 kB / 349.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.2231, allocations: 11.94 kB / 349.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.2237, allocations: 200.7 kB / 349.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.2241, allocations: 71.89 kB / 349.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/0.2275, allocations: 2.666 MB / 352.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.2279, allocations: 55.7 kB / 352.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.228, allocations: 20 kB / 352.2 MB, free: 11.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005837/0.2285, allocations: 325.5 kB / 352.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2287, allocations: 55.34 kB / 352.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.2288, allocations: 69.27 kB / 352.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2288, allocations: 4 kB / 352.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.2288, allocations: 12 kB / 352.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2289, allocations: 0 / 352.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.2313, allocations: 1.623 MB / 354.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2313, allocations: 3.938 kB / 354.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.2316, allocations: 47.91 kB / 354.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.232, allocations: 192.8 kB / 354.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.2321, allocations: 15.98 kB / 354.5 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003131/0.2352, allocations: 2.658 MB / 357.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2353, allocations: 0 / 357.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.2371, allocations: 1.092 MB / 358.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.2374, allocations: 200.3 kB / 358.5 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.642e-05/0.2375, allocations: 12 kB / 358.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.2378, allocations: 23.97 kB / 358.5 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.238, allocations: 43.92 kB / 358.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.238, allocations: 15.94 kB / 358.6 MB, free: 4.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006313/0.2386, allocations: 414.8 kB / 359 MB, free: 4.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2386, allocations: 4 kB / 359 MB, free: 4.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009639/0.2396, allocations: 203.4 kB / 359.2 MB, free: 3.988 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002842/0.2399, allocations: 111.2 kB / 359.3 MB, free: 3.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.2417, allocations: 0.7245 MB / 360 MB, free: 3.129 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.2417, allocations: 0 / 360 MB, free: 3.129 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009167/0.2426, allocations: 466.1 kB / 360.5 MB, free: 2.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008517/0.2435, allocations: 155 kB / 360.6 MB, free: 2.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.2482, allocations: 1.817 MB / 362.4 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.2494, allocations: 1.059 MB / 363.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.2496, allocations: 39.42 kB / 363.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of SimCode: time 1.613e-06/0.2496, allocations: 0 / 363.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of Templates: time 0.02378/0.2734, allocations: 12.74 MB / 376.3 MB, free: 2.781 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulseCalcHelperMain.o] Error 1