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.Rectifier6pulse.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.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.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadModel(Modelica): time 1.968/1.968, allocations: 194.8 MB / 211.6 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003648, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07946/0.07985, allocations: 44.5 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008235/0.08814, allocations: 5.708 MB / 314.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00515/0.09334, allocations: 2.281 MB / 316.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.09441, allocations: 35.81 kB / 316.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.09558, allocations: 382 kB / 316.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.09762, allocations: 0.5453 MB / 317.3 MB, free: 8.035 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007032/0.09835, allocations: 179.8 kB / 317.5 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003225/0.1016, allocations: 1.848 MB / 319.3 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.1043, allocations: 1.579 MB / 320.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.1061, allocations: 0.911 MB / 321.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.108, allocations: 1.097 MB / 322.9 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004222/0.1085, allocations: 156 kB / 323.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007975/0.1093, allocations: 211.9 kB / 323.3 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008132/0.1101, allocations: 0.6309 MB / 323.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008301/0.111, allocations: 0.5277 MB / 324.4 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005271/0.1163, allocations: 3.732 MB / 328.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.72e-06/0.1163, allocations: 0 / 328.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.628e-06/0.1163, allocations: 4 kB / 328.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.256e-05/0.1164, allocations: 0 / 328.2 MB, free: 13.11 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.006357/0.1228, allocations: 2.519 MB / 330.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1229, allocations: 12.03 kB / 330.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.1241, allocations: 304.7 kB / 331 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.1277, allocations: 1.456 MB / 332.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.1279, allocations: 168.3 kB / 332.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005768/0.1285, allocations: 212 kB / 332.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007704/0.1362, allocations: 3.163 MB / 336 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.1363, allocations: 0 / 336 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/0.1366, allocations: 95.98 kB / 336.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/0.1368, allocations: 112.4 kB / 336.2 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007144/0.144, allocations: 2.715 MB / 338.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02026/0.1643, allocations: 8.974 MB / 347.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004973/0.1693, allocations: 3.374 MB / 351.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.1697, allocations: 122.4 kB / 351.4 MB, free: 5.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.1697, allocations: 55.83 kB / 351.4 MB, free: 5.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 4.868e-06/0.1698, allocations: 3.938 kB / 351.4 MB, free: 5.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.01463/0.1844, allocations: 5.7 MB / 357.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.1845, allocations: 68.7 kB / 357.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/0.1874, allocations: 1.471 MB / 358.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.1876, allocations: 57.64 kB / 358.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008707/0.1885, allocations: 0.9029 MB / 359.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/0.1891, allocations: 441.6 kB / 360.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1892, allocations: 24 kB / 360.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.1895, allocations: 370.7 kB / 360.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.1911, allocations: 0.7052 MB / 361.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.1928, allocations: 0.8785 MB / 362 MB, free: 10.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.1946, allocations: 0.8261 MB / 362.9 MB, free: 9.434 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.444e-06/0.1946, allocations: 4 kB / 362.9 MB, free: 9.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00512/0.1998, allocations: 2.229 MB / 365.1 MB, free: 7.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.1998, allocations: 4 kB / 365.1 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.1999, allocations: 4 kB / 365.1 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/0.2035, allocations: 0.8306 MB / 365.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.2047, allocations: 203.7 kB / 366.1 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2218/0.4266, allocations: 10.71 MB / 376.8 MB, free: 56.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.4277, allocations: 55.92 kB / 376.9 MB, free: 56.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.4279, allocations: 38.12 kB / 376.9 MB, free: 56.5 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.001567/0.4295, allocations: 0.8136 MB / 377.7 MB, free: 56.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.4299, allocations: 163.8 kB / 377.9 MB, free: 56.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005073/0.435, allocations: 2.301 MB / 380.2 MB, free: 55.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.435, allocations: 12.88 kB / 380.2 MB, free: 55.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.435, allocations: 4.797 kB / 380.2 MB, free: 55.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.4351, allocations: 5.906 kB / 380.2 MB, free: 55.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009966/0.4451, allocations: 4.775 MB / 385 MB, free: 53.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.321e-06/0.4451, allocations: 1.562 kB / 385 MB, free: 53.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008872/0.446, allocations: 161.9 kB / 385.2 MB, free: 53.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/0.4493, allocations: 0.8104 MB / 386 MB, free: 53.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.4495, allocations: 30.62 kB / 386 MB, free: 53.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.4628, allocations: 10.62 MB / 396.6 MB, free: 44.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.4629, allocations: 3.984 kB / 396.6 MB, free: 44.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006212/0.4691, allocations: 3.259 MB / 399.9 MB, free: 42.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009805/0.4701, allocations: 407.1 kB / 400.3 MB, free: 42.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/0.4704, allocations: 32 kB / 400.3 MB, free: 42.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009723/0.4714, allocations: 75.89 kB / 400.4 MB, free: 42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002971/0.4717, allocations: 121.1 kB / 400.5 MB, free: 41.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.4718, allocations: 32 kB / 400.5 MB, free: 41.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001647/0.4735, allocations: 1.044 MB / 401.6 MB, free: 40.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.04e-06/0.4735, allocations: 0 / 401.6 MB, free: 40.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002209/0.4757, allocations: 0.5197 MB / 402.1 MB, free: 40.29 MB / 314.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.0004673/0.4762, allocations: 161.2 kB / 402.2 MB, free: 40.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004051/0.4803, allocations: 2.416 MB / 404.7 MB, free: 37.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.046e-06/0.4803, allocations: 0 / 404.7 MB, free: 37.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002692/0.4831, allocations: 1.627 MB / 406.3 MB, free: 35.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.4854, allocations: 485.5 kB / 406.8 MB, free: 35.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008963/0.4944, allocations: 5.429 MB / 412.2 MB, free: 30.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/0.4962, allocations: 2.034 MB / 414.2 MB, free: 28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.4968, allocations: 99.42 kB / 414.3 MB, free: 27.9 MB / 314.7 MB Notification: Performance of SimCode: time 1.82e-06/0.4968, allocations: 4.656 kB / 414.3 MB, free: 27.9 MB / 314.7 MB Notification: Performance of Templates: time 0.1009/0.5977, allocations: 72.13 MB / 486.5 MB, free: 3.699 MB / 362.7 MB make -j1 -f Modelica_3.2.2_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/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.Rectifier6pulseCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.2_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.2_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.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o] Error 1\n'