Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0009057/0.000906, allocations: 96.59 kB / 16.95 MB, free: 5.297 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.001137/0.001137, allocations: 183.6 kB / 17.85 MB, free: 4.934 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.583/1.583, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002976, allocations: 8 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004194/0.1354, allocations: 3.153 MB / 355 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1375, allocations: 0.9552 MB / 356 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.1377, allocations: 11.94 kB / 356 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.138, allocations: 75.41 kB / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006675/0.1387, allocations: 206.9 kB / 356.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.139, allocations: 95.83 kB / 356.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.14, allocations: 0.9729 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006648/0.1407, allocations: 425 kB / 357.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005059/0.1412, allocations: 302.8 kB / 358.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.1418, allocations: 406.3 kB / 358.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.138e-05/0.1419, allocations: 44 kB / 358.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.142, allocations: 44 kB / 358.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.1422, allocations: 203.3 kB / 358.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.1424, allocations: 185.3 kB / 358.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009179/0.1433, allocations: 1.009 MB / 359.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1433, allocations: 0 / 359.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1433, allocations: 0 / 359.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1433, allocations: 0 / 359.9 MB, free: 11.93 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001801/0.1451, allocations: 1.029 MB / 361 MB, free: 10.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1452, allocations: 8.031 kB / 361 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.1454, allocations: 98.83 kB / 361.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008818/0.1463, allocations: 0.5992 MB / 361.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.1463, allocations: 45.31 kB / 361.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.1465, allocations: 64 kB / 361.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.148, allocations: 0.9228 MB / 362.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.148, allocations: 0 / 362.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/0.1481, allocations: 24 kB / 362.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/0.1482, allocations: 45.25 kB / 362.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.1495, allocations: 0.7936 MB / 363.6 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/0.1535, allocations: 2.831 MB / 366.4 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.1545, allocations: 0.7485 MB / 367.1 MB, free: 4.434 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/0.1551, allocations: 361.1 kB / 367.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.1552, allocations: 8.266 kB / 367.5 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/0.1558, allocations: 385.8 kB / 367.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.414e-06/0.1558, allocations: 0 / 367.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002878/0.1587, allocations: 1.241 MB / 369.1 MB, free: 2.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.1588, allocations: 114.8 kB / 369.2 MB, free: 2.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.1596, allocations: 0.5604 MB / 369.8 MB, free: 1.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.1596, allocations: 41.69 kB / 369.8 MB, free: 1.648 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.16, allocations: 352 kB / 370.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.1601, allocations: 138 kB / 370.3 MB, free: 1.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.1602, allocations: 12 kB / 370.3 MB, free: 1.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.1604, allocations: 366.7 kB / 370.7 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.1607, allocations: 225 kB / 370.9 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.1612, allocations: 369.7 kB / 371.3 MB, free: 152 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2736/0.4348, allocations: 241.5 kB / 371.5 MB, free: 24.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/0.4349, allocations: 0.8438 kB / 371.5 MB, free: 24.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002059/0.4369, allocations: 0.7598 MB / 372.3 MB, free: 24.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.437, allocations: 7.547 kB / 372.3 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.437, allocations: 4 kB / 372.3 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006492/0.4377, allocations: 205.8 kB / 372.5 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.4381, allocations: 76.64 kB / 372.5 MB, free: 24.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/0.4419, allocations: 2.768 MB / 375.3 MB, free: 22.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.4424, allocations: 55.56 kB / 375.4 MB, free: 22.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.4425, allocations: 21.58 kB / 375.4 MB, free: 22.93 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 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006217/0.4431, allocations: 335.3 kB / 375.7 MB, free: 22.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-05/0.4432, allocations: 58.64 kB / 375.8 MB, free: 22.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.4433, allocations: 69.45 kB / 375.8 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.4433, allocations: 5.953 kB / 375.8 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4434, allocations: 0 / 375.8 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.4434, allocations: 3.922 kB / 375.8 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.4463, allocations: 1.753 MB / 377.6 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4463, allocations: 2.219 kB / 377.6 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.4465, allocations: 54.86 kB / 377.7 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004532/0.447, allocations: 196.9 kB / 377.8 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.4471, allocations: 13.08 kB / 377.9 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/0.4501, allocations: 2.639 MB / 380.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4502, allocations: 0 / 380.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.4523, allocations: 1.152 MB / 381.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.4526, allocations: 197.8 kB / 381.8 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/0.4527, allocations: 8.359 kB / 381.9 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.453, allocations: 31.03 kB / 381.9 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.4532, allocations: 44.31 kB / 381.9 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.4532, allocations: 18.84 kB / 381.9 MB, free: 19.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006795/0.4539, allocations: 415.3 kB / 382.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4539, allocations: 1 kB / 382.4 MB, free: 18.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008626/0.4548, allocations: 209.7 kB / 382.6 MB, free: 18.9 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001961/0.455, allocations: 122 kB / 382.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.4566, allocations: 0.7355 MB / 383.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4566, allocations: 2.406 kB / 383.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008202/0.4574, allocations: 484.2 kB / 383.9 MB, free: 18.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.4582, allocations: 142.2 kB / 384 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.4623, allocations: 1.826 MB / 385.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009124/0.4632, allocations: 1.058 MB / 386.9 MB, free: 16.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.4634, allocations: 43.06 kB / 387 MB, free: 16.4 MB / 302.1 MB Notification: Performance of SimCode: time 2.525e-06/0.4634, allocations: 0 / 387 MB, free: 16.4 MB / 302.1 MB Notification: Performance of Templates: time 0.0201/0.4835, allocations: 12.72 MB / 399.7 MB, free: 8.297 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulseCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulseCalcHelperMain.o] Error 1