Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 90.86 kB / 17.58 MB, free: 5.797 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.00129/0.00129, allocations: 185.5 kB / 18.48 MB, free: 5.25 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.96/1.96, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0005583/0.0005585, allocations: 15.94 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1156, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006629/0.1223, allocations: 4.051 MB / 333.1 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003605/0.1259, allocations: 1.286 MB / 334.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009485/0.1269, allocations: 19.88 kB / 334.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009541/0.1279, allocations: 170.9 kB / 334.5 MB, free: 14.51 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5153:20-5153:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5164:20-5164:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.00145/0.1294, allocations: 302.4 kB / 334.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.1301, allocations: 143.8 kB / 335 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.1327, allocations: 1.592 MB / 336.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.134, allocations: 0.6544 MB / 337.2 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.1353, allocations: 474.1 kB / 337.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.1367, allocations: 0.6147 MB / 338.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003481/0.1371, allocations: 64 kB / 338.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000643/0.1378, allocations: 68 kB / 338.4 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007049/0.1385, allocations: 326.9 kB / 338.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009957/0.1395, allocations: 269.1 kB / 339 MB, free: 10 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.1424, allocations: 1.644 MB / 340.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.1425, allocations: 0 / 340.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1425, allocations: 0 / 340.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001085/0.1426, allocations: 0 / 340.6 MB, free: 8.355 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003842/0.1464, allocations: 1.42 MB / 342.1 MB, free: 6.879 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.914e-05/0.1465, allocations: 8.031 kB / 342.1 MB, free: 6.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.147, allocations: 134.4 kB / 342.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.1485, allocations: 0.8404 MB / 343 MB, free: 5.855 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.576e-05/0.1486, allocations: 85.88 kB / 343.1 MB, free: 5.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.1488, allocations: 92 kB / 343.2 MB, free: 5.684 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.1514, allocations: 1.435 MB / 344.6 MB, free: 4.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.1514, allocations: 3.906 kB / 344.7 MB, free: 4.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.953e-05/0.1515, allocations: 39.98 kB / 344.7 MB, free: 4.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.937e-05/0.1516, allocations: 42 kB / 344.7 MB, free: 4.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.1542, allocations: 1.3 MB / 346 MB, free: 2.832 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00754/0.1618, allocations: 4.34 MB / 350.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.164, allocations: 1.974 MB / 352.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009644/0.165, allocations: 0.6298 MB / 353 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.571e-05/0.165, allocations: 8.656 kB / 353 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.1661, allocations: 0.6014 MB / 353.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.076e-06/0.1661, allocations: 0 / 353.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007189/0.1733, allocations: 2.816 MB / 356.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.1735, allocations: 111.5 kB / 356.5 MB, free: 7.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.1748, allocations: 0.8091 MB / 357.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/0.1749, allocations: 41.7 kB / 357.4 MB, free: 7.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004997/0.1754, allocations: 491.7 kB / 357.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.1757, allocations: 244.5 kB / 358.1 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.1757, allocations: 16 kB / 358.1 MB, free: 6.344 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.176, allocations: 394.7 kB / 358.5 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/0.1766, allocations: 397.7 kB / 358.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.1774, allocations: 0.5532 MB / 359.4 MB, free: 4.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/0.1781, allocations: 445.9 kB / 359.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.1781, allocations: 4 kB / 359.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002166/0.1803, allocations: 1.291 MB / 361.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.1803, allocations: 8 kB / 361.2 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.1804, allocations: 4 kB / 361.2 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.1815, allocations: 476.5 kB / 361.6 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.1819, allocations: 99.81 kB / 361.7 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006962/0.1888, allocations: 5.13 MB / 366.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.1896, allocations: 87.39 kB / 366.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.1897, allocations: 28 kB / 367 MB, free: 13.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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 (55): * Single equations (assignments): 54 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0009311/0.1906, allocations: 463.2 kB / 367.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.1908, allocations: 82.97 kB / 367.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.191, allocations: 120.5 kB / 367.6 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.1911, allocations: 11.94 kB / 367.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.1911, allocations: 0 / 367.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.1911, allocations: 3.984 kB / 367.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/0.1954, allocations: 2.623 MB / 370.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1954, allocations: 0 / 370.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.1957, allocations: 67.89 kB / 370.3 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009835/0.1967, allocations: 460.3 kB / 370.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.1968, allocations: 16.12 kB / 370.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006972/0.2038, allocations: 5.095 MB / 375.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2038, allocations: 0 / 375.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00302/0.2069, allocations: 1.931 MB / 377.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/0.2074, allocations: 275.8 kB / 378.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.2075, allocations: 16 kB / 378.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.2079, allocations: 39.95 kB / 378.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.2081, allocations: 80.53 kB / 378.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.2082, allocations: 20 kB / 378.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008952/0.2091, allocations: 0.581 MB / 378.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2091, allocations: 3.938 kB / 378.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001387/0.2105, allocations: 343 kB / 379.2 MB, free: 0.7969 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,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 (40): * Single equations (assignments): 36 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002857/0.2108, allocations: 119.2 kB / 379.3 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.177/0.3878, allocations: 1.283 MB / 380.6 MB, free: 53.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.3878, allocations: 2.656 kB / 380.6 MB, free: 53.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.3894, allocations: 0.8262 MB / 381.4 MB, free: 53.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.3909, allocations: 268.9 kB / 381.6 MB, free: 53.72 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.3956, allocations: 2.701 MB / 384.3 MB, free: 52.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.3968, allocations: 1.291 MB / 385.6 MB, free: 51.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.397, allocations: 53.47 kB / 385.7 MB, free: 51.95 MB / 318.1 MB Notification: Performance of SimCode: time 1.252e-06/0.397, allocations: 0 / 385.7 MB, free: 51.95 MB / 318.1 MB Notification: Performance of Templates: time 0.03014/0.4272, allocations: 20.44 MB / 406.1 MB, free: 39.05 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulseCalcHelperMain.o] Error 1