Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 88.55 kB / 17.58 MB, free: 5.758 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.000942/0.0009419, allocations: 186.4 kB / 18.48 MB, free: 5.203 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.641/1.641, allocations: 205.4 MB / 224.6 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.0005434/0.0005434, allocations: 16 kB / 281.4 MB, free: 3.703 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1407, allocations: 47.59 MB / 329 MB, free: 4.047 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005507/0.1463, allocations: 3.895 MB / 332.9 MB, free: 132 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.1488, allocations: 1.22 MB / 334.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.1491, allocations: 19.88 kB / 334.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.1495, allocations: 119.1 kB / 334.3 MB, free: 14.77 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5531:20-5531: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:5542:20-5542:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.0008963/0.1504, allocations: 310.4 kB / 334.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.1507, allocations: 135.7 kB / 334.7 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.1524, allocations: 1.642 MB / 336.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009105/0.1533, allocations: 0.6823 MB / 337 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005582/0.1539, allocations: 0.4902 MB / 337.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000891/0.1548, allocations: 0.7004 MB / 338.2 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.1549, allocations: 72 kB / 338.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1551, allocations: 76 kB / 338.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.1554, allocations: 358.8 kB / 338.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.1557, allocations: 293 kB / 339 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.1574, allocations: 1.773 MB / 340.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.1574, allocations: 0 / 340.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.899e-06/0.1574, allocations: 0 / 340.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.1574, allocations: 3.938 kB / 340.8 MB, free: 8.215 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.00288/0.1603, allocations: 1.537 MB / 342.3 MB, free: 6.625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.1604, allocations: 12.03 kB / 342.3 MB, free: 6.613 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.1607, allocations: 146.2 kB / 342.5 MB, free: 6.469 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.1621, allocations: 0.8871 MB / 343.3 MB, free: 5.535 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.1622, allocations: 77.98 kB / 343.4 MB, free: 5.457 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.1624, allocations: 100 kB / 343.5 MB, free: 5.359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.165, allocations: 1.553 MB / 345.1 MB, free: 3.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.165, allocations: 7.984 kB / 345.1 MB, free: 3.742 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.1651, allocations: 40 kB / 345.1 MB, free: 3.703 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.529e-05/0.1652, allocations: 46.02 kB / 345.2 MB, free: 3.656 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.1676, allocations: 1.44 MB / 346.6 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007022/0.1746, allocations: 4.972 MB / 351.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.1765, allocations: 1.46 MB / 353 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.1778, allocations: 0.7428 MB / 353.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.887e-05/0.1779, allocations: 12.55 kB / 353.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.179, allocations: 0.6239 MB / 354.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.315e-06/0.179, allocations: 0 / 354.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005836/0.1849, allocations: 2.427 MB / 356.8 MB, free: 7.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.185, allocations: 89.7 kB / 356.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.1863, allocations: 0.9304 MB / 357.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.1864, allocations: 41.7 kB / 357.9 MB, free: 6.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000518/0.1869, allocations: 0.523 MB / 358.4 MB, free: 5.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.1871, allocations: 232.7 kB / 358.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.1872, allocations: 12 kB / 358.7 MB, free: 5.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1874, allocations: 334 kB / 359 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006903/0.1881, allocations: 425.7 kB / 359.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/0.1889, allocations: 0.5641 MB / 360 MB, free: 4.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007337/0.1896, allocations: 461.9 kB / 360.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1896, allocations: 3.953 kB / 360.4 MB, free: 3.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002053/0.1917, allocations: 1.304 MB / 361.7 MB, free: 2.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.1917, allocations: 8 kB / 361.7 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.1918, allocations: 4 kB / 361.7 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008928/0.1927, allocations: 402.4 kB / 362.1 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.1931, allocations: 123.8 kB / 362.3 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/0.1984, allocations: 4.122 MB / 366.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.199, allocations: 91.52 kB / 366.5 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.199, allocations: 27.98 kB / 366.5 MB, free: 13.71 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 (59): * Single equations (assignments): 58 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0008398/0.1999, allocations: 495.1 kB / 367 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.2, allocations: 94.88 kB / 367.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.2003, allocations: 116.5 kB / 367.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2003, allocations: 4 kB / 367.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2003, allocations: 4 kB / 367.2 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.2003, allocations: 7.984 kB / 367.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/0.2043, allocations: 2.612 MB / 369.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2043, allocations: 3.984 kB / 369.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.2047, allocations: 87.88 kB / 369.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007779/0.2055, allocations: 393.2 kB / 370.3 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.2056, allocations: 15.98 kB / 370.3 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005031/0.2106, allocations: 4.096 MB / 374.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2106, allocations: 0 / 374.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.2137, allocations: 1.985 MB / 376.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.2142, allocations: 287.8 kB / 376.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.2143, allocations: 16 kB / 376.7 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.2147, allocations: 47.95 kB / 376.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.2149, allocations: 76.53 kB / 376.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.2149, allocations: 19.98 kB / 376.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009701/0.2159, allocations: 0.6707 MB / 377.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2159, allocations: 0 / 377.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001145/0.2171, allocations: 346.9 kB / 377.8 MB, free: 2.121 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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.00025/0.2173, allocations: 119 kB / 377.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.2196, allocations: 1.296 MB / 379.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2196, allocations: 4.125 kB / 379.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2356/0.4552, allocations: 0.8046 MB / 380.1 MB, free: 52.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.4572, allocations: 247.3 kB / 380.3 MB, free: 52.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007122/0.4644, allocations: 3.012 MB / 383.3 MB, free: 51.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.4659, allocations: 1.356 MB / 384.7 MB, free: 50.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.4662, allocations: 61.22 kB / 384.7 MB, free: 50.95 MB / 318.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4662, allocations: 2.906 kB / 384.7 MB, free: 50.95 MB / 318.1 MB Notification: Performance of Templates: time 0.03565/0.5018, allocations: 21.78 MB / 406.5 MB, free: 37.63 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulseCalcHelperMain.o] Error 1