Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.88/1.88, allocations: 194.8 MB / 211.6 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 11.94 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.09905, allocations: 44.51 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.023/0.1221, allocations: 8.907 MB / 317.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.1356, allocations: 3.255 MB / 320.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003579/0.1392, allocations: 67.62 kB / 320.6 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004013/0.1433, allocations: 0.5789 MB / 321.2 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007187/0.1506, allocations: 0.9386 MB / 322.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.1522, allocations: 311.5 kB / 322.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006483/0.1587, allocations: 3.357 MB / 325.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005841/0.1646, allocations: 2.874 MB / 328.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/0.1683, allocations: 1.635 MB / 330.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003932/0.1722, allocations: 1.945 MB / 332.2 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001178/0.1735, allocations: 280 kB / 332.5 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.1752, allocations: 339.9 kB / 332.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001856/0.1771, allocations: 1.149 MB / 334 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.179, allocations: 0.9447 MB / 334.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.1892, allocations: 6.806 MB / 341.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.76e-06/0.1893, allocations: 0 / 341.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.744e-06/0.1893, allocations: 0 / 341.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001681/0.1895, allocations: 0 / 341.7 MB, free: 15.5 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01125/0.2008, allocations: 4.284 MB / 346 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2008, allocations: 16.03 kB / 346 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.2033, allocations: 0.5488 MB / 346.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006403/0.2097, allocations: 2.519 MB / 349.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/0.2102, allocations: 295.8 kB / 349.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/0.2115, allocations: 387.9 kB / 349.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/0.2274, allocations: 5.766 MB / 355.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.2276, allocations: 0 / 355.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008838/0.2285, allocations: 167.9 kB / 355.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002905/0.2288, allocations: 200 kB / 355.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.2432, allocations: 5.001 MB / 360.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.249/0.4923, allocations: 16.5 MB / 377.4 MB, free: 50.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009148/0.5015, allocations: 6.807 MB / 384.2 MB, free: 46.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004258/0.5019, allocations: 134.2 kB / 384.3 MB, free: 46.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.502, allocations: 62.59 kB / 384.4 MB, free: 46.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 6.9e-06/0.502, allocations: 3.656 kB / 384.4 MB, free: 46.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.02732/0.5294, allocations: 10.79 MB / 395.2 MB, free: 41.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.5294, allocations: 79.89 kB / 395.3 MB, free: 41.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004719/0.5342, allocations: 2.613 MB / 397.9 MB, free: 39.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003947/0.5346, allocations: 69.52 kB / 397.9 MB, free: 39.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000954/0.5356, allocations: 1.503 MB / 399.4 MB, free: 38.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008554/0.5364, allocations: 0.8396 MB / 400.3 MB, free: 37.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.5367, allocations: 49.75 kB / 400.3 MB, free: 37.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5368, allocations: 406.7 kB / 400.7 MB, free: 37.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/0.5397, allocations: 1.363 MB / 402.1 MB, free: 36.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003193/0.5429, allocations: 1.659 MB / 403.8 MB, free: 35.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/0.5461, allocations: 1.598 MB / 405.4 MB, free: 34.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.5461, allocations: 0 / 405.4 MB, free: 34.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.009297/0.5554, allocations: 4.302 MB / 409.7 MB, free: 30.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.5555, allocations: 8 kB / 409.7 MB, free: 30.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.5555, allocations: 4.625 kB / 409.7 MB, free: 30.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006789/0.5623, allocations: 1.646 MB / 411.3 MB, free: 29.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.5645, allocations: 391.4 kB / 411.7 MB, free: 28.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02781/0.5923, allocations: 23.9 MB / 435.6 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.5945, allocations: 95.92 kB / 435.7 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003006/0.5949, allocations: 80 kB / 435.8 MB, free: 3.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002813/0.5977, allocations: 1.407 MB / 437.2 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008473/0.5986, allocations: 296.5 kB / 437.5 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.6092, allocations: 4.411 MB / 441.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.453e-05/0.6093, allocations: 24 kB / 441.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/0.6093, allocations: 12 kB / 441.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.825e-05/0.6094, allocations: 11.95 kB / 441.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/0.6313, allocations: 8.935 MB / 450.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/0.6313, allocations: 1.5 kB / 450.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.633, allocations: 295.7 kB / 451.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007368/0.6404, allocations: 1.623 MB / 452.8 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000353/0.6408, allocations: 59.98 kB / 452.8 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03561/0.6764, allocations: 23.64 MB / 476.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.88e-06/0.6764, allocations: 3.953 kB / 476.5 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/0.6904, allocations: 6.152 MB / 482.6 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/0.6925, allocations: 0.681 MB / 483.3 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005033/0.693, allocations: 59.98 kB / 483.4 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/0.6948, allocations: 135.9 kB / 483.5 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006289/0.6954, allocations: 214.4 kB / 483.7 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/0.6956, allocations: 67.98 kB / 483.8 MB, free: 1.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003991/0.6996, allocations: 1.825 MB / 485.6 MB, free: 4 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.196e-06/0.6997, allocations: 0 / 485.6 MB, free: 4 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.004856/0.7045, allocations: 0.9631 MB / 486.6 MB, free: 15.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006748/0.7053, allocations: 208.7 kB / 486.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01043/0.7157, allocations: 4.882 MB / 491.6 MB, free: 9.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.7158, allocations: 0 / 491.6 MB, free: 9.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007403/0.7232, allocations: 3.386 MB / 495 MB, free: 6.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004992/0.7282, allocations: 0.8808 MB / 495.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/0.7501, allocations: 9.881 MB / 0.4939 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008885/0.759, allocations: 3.175 MB / 0.497 GB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/0.7605, allocations: 175.4 kB / 0.4972 GB, free: 8.121 MB / 394.7 MB Notification: Performance of SimCode: time 2.746e-06/0.7605, allocations: 0 / 0.4972 GB, free: 8.121 MB / 394.7 MB Notification: Performance of Templates: time 0.7933/1.554, allocations: 248.2 MB / 0.7396 GB, free: 98.88 MB / 426.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3203:29: error: use of undeclared identifier \'tmp8\'\n _transformerData1_P_C1_ = tmp8;\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3204:29: error: use of undeclared identifier \'tmp9\'\n _transformerData1_P_C2_ = tmp9;\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3205:29: error: use of undeclared identifier \'tmp10\'\n _transformerData2_P_C1_ = tmp10;\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3206:29: error: use of undeclared identifier \'tmp11\'\n _transformerData2_P_C2_ = tmp11;\n ^\n4 errors generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o] Error 1\n'