Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002803/0.002809, allocations: 186.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.652/3.652, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001964/0.001965, allocations: 98.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006772/0.0006774, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2301, allocations: 47.59 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.02287/0.2531, allocations: 5.518 MB / 380.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.265, allocations: 2.27 MB / 382.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.2677, allocations: 39.75 kB / 382.4 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.2715, allocations: 366.2 kB / 382.7 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.2778, allocations: 0.5491 MB / 383.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.2801, allocations: 175.8 kB / 383.5 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.2904, allocations: 1.852 MB / 385.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00952/0.3, allocations: 1.586 MB / 386.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004882/0.3049, allocations: 0.8914 MB / 387.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006268/0.3113, allocations: 1.086 MB / 388.9 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.3132, allocations: 156 kB / 389 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.3168, allocations: 215.9 kB / 389.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003332/0.3202, allocations: 0.6309 MB / 389.9 MB, free: 36 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.6166/0.9369, allocations: 0.5295 MB / 390.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.948, allocations: 3.716 MB / 394.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.9481, allocations: 1.375 kB / 394.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.799e-06/0.9481, allocations: 0 / 394.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002346/0.9484, allocations: 0 / 394.1 MB, free: 10.73 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01666/0.965, allocations: 2.528 MB / 396.6 MB, free: 9.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.942e-05/0.9651, allocations: 8.219 kB / 396.6 MB, free: 9.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003455/0.9686, allocations: 301.4 kB / 396.9 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008241/0.9769, allocations: 1.455 MB / 398.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004553/0.9775, allocations: 162.7 kB / 398.6 MB, free: 9.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00199/0.9795, allocations: 217.7 kB / 398.8 MB, free: 9.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/1, allocations: 3.146 MB / 401.9 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/1, allocations: 8 kB / 401.9 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/1.002, allocations: 89.77 kB / 402 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003193/1.002, allocations: 112.2 kB / 402.1 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/1.019, allocations: 2.715 MB / 404.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04502/1.064, allocations: 8.968 MB / 413.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009355/1.073, allocations: 3.375 MB / 417.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007375/1.074, allocations: 127.3 kB / 417.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/1.074, allocations: 50.12 kB / 417.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 8.256e-06/1.074, allocations: 0 / 417.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.04139/1.116, allocations: 5.712 MB / 423.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/1.116, allocations: 68.67 kB / 423.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007895/1.124, allocations: 1.485 MB / 424.6 MB, free: 8.984 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008706/1.125, allocations: 49.7 kB / 424.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001967/1.127, allocations: 0.9014 MB / 425.6 MB, free: 8.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001497/1.128, allocations: 444.4 kB / 426 MB, free: 7.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006077/1.129, allocations: 24 kB / 426 MB, free: 7.566 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004478/1.129, allocations: 362.8 kB / 426.4 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003913/1.133, allocations: 0.7091 MB / 427.1 MB, free: 6.492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004317/1.138, allocations: 0.868 MB / 428 MB, free: 5.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005606/1.144, allocations: 0.8299 MB / 428.8 MB, free: 4.754 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/1.144, allocations: 0 / 428.8 MB, free: 4.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01482/1.158, allocations: 2.23 MB / 431 MB, free: 2.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/1.159, allocations: 4 kB / 431 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/1.159, allocations: 8.031 kB / 431 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/1.169, allocations: 0.8391 MB / 431.9 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/1.173, allocations: 197.9 kB / 432.1 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03383/1.207, allocations: 10.72 MB / 442.8 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/1.21, allocations: 55.95 kB / 442.8 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005736/1.211, allocations: 40.06 kB / 442.9 MB, free: 6.219 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.004386/1.215, allocations: 0.8163 MB / 443.7 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.217, allocations: 162.1 kB / 443.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/1.23, allocations: 2.289 MB / 446.1 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.062e-05/1.23, allocations: 23.52 kB / 446.2 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.688e-05/1.23, allocations: 7.984 kB / 446.2 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.673e-05/1.23, allocations: 11.97 kB / 446.2 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02471/1.255, allocations: 4.764 MB / 450.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/1.255, allocations: 0 / 450.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/1.257, allocations: 162.2 kB / 451.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008476/1.266, allocations: 0.8078 MB / 451.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004739/1.266, allocations: 27.98 kB / 451.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04388/1.31, allocations: 10.6 MB / 462.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.31, allocations: 7.5 kB / 462.5 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02879/1.339, allocations: 3.295 MB / 465.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00684/1.346, allocations: 407.1 kB / 466.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/1.348, allocations: 28 kB / 466.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007624/1.355, allocations: 75.94 kB / 466.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001385/1.357, allocations: 112.9 kB / 466.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005069/1.357, allocations: 35.98 kB / 466.5 MB, free: 14.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004982/1.362, allocations: 1.051 MB / 467.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.343e-06/1.362, allocations: 0 / 467.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.02311/1.386, allocations: 0.5195 MB / 468.1 MB, free: 12.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/1.387, allocations: 181.9 kB / 468.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01236/1.399, allocations: 2.412 MB / 470.6 MB, free: 9.852 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/1.4, allocations: 4.125 kB / 470.6 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008232/1.408, allocations: 1.623 MB / 472.3 MB, free: 8.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006958/1.415, allocations: 477.1 kB / 472.7 MB, free: 7.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02805/1.443, allocations: 5.449 MB / 478.2 MB, free: 2.227 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007312/1.45, allocations: 2.022 MB / 480.2 MB, free: 176 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/1.452, allocations: 99.42 kB / 480.3 MB, free: 76 kB / 346.7 MB Notification: Performance of SimCode: time 3.226e-06/1.452, allocations: 4 kB / 480.3 MB, free: 72 kB / 346.7 MB Notification: Performance of Templates: time 0.778/2.23, allocations: 72.09 MB / 0.5395 GB, free: 133.8 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile b'clang++ -fopenmp=libomp -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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.cpp:1927:29: error: use of undeclared identifier \'tmp6\'\n _transformerData1_P_C1_ = tmp6;\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.cpp:1928:29: error: use of undeclared identifier \'tmp7\'\n _transformerData1_P_C2_ = tmp7;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o] Error 1\n'