Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadModel(Modelica): time 1.671/1.671, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003603, allocations: 8 kB / 233.2 MB, free: 3.059 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07036/0.07074, allocations: 38.78 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008953/0.07974, allocations: 5.684 MB / 277.6 MB, free: 6.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.08502, allocations: 2.249 MB / 279.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009648/0.08603, allocations: 35.81 kB / 279.9 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.08716, allocations: 374.1 kB / 280.3 MB, free: 3.824 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.08927, allocations: 0.5607 MB / 280.8 MB, free: 3.262 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.09001, allocations: 175.8 kB / 281 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003477/0.09351, allocations: 1.86 MB / 282.9 MB, free: 1.223 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.09623, allocations: 1.586 MB / 284.4 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.09805, allocations: 0.9149 MB / 285.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.09998, allocations: 1.086 MB / 286.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004086/0.1004, allocations: 160 kB / 286.6 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007534/0.1012, allocations: 215.9 kB / 286.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007708/0.102, allocations: 0.6309 MB / 287.4 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007488/0.1027, allocations: 0.5316 MB / 288 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005319/0.1081, allocations: 3.732 MB / 291.7 MB, free: 8.312 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.785e-06/0.1081, allocations: 0 / 291.7 MB, free: 8.312 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.1081, allocations: 3.938 kB / 291.7 MB, free: 8.309 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.695e-05/0.1082, allocations: 0 / 291.7 MB, free: 8.309 MB / 250.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.006369/0.1146, allocations: 2.528 MB / 294.2 MB, free: 5.719 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.1147, allocations: 16.02 kB / 294.3 MB, free: 5.703 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.1159, allocations: 308.7 kB / 294.6 MB, free: 5.398 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0036/0.1196, allocations: 1.456 MB / 296 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.1198, allocations: 160.4 kB / 296.2 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005694/0.1204, allocations: 215.9 kB / 296.4 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008086/0.1285, allocations: 3.17 MB / 299.6 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.943e-05/0.1286, allocations: 7.891 kB / 299.6 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.1289, allocations: 91.98 kB / 299.6 MB, free: 160 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/0.1291, allocations: 108.4 kB / 299.8 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1845/0.3136, allocations: 2.714 MB / 302.5 MB, free: 28 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.3315, allocations: 8.967 MB / 311.4 MB, free: 23.1 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/0.3353, allocations: 3.376 MB / 314.8 MB, free: 20.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.3356, allocations: 124.7 kB / 314.9 MB, free: 20.19 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3357, allocations: 51.77 kB / 315 MB, free: 20.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=128): time 4.813e-06/0.3357, allocations: 0 / 315 MB, free: 20.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=132): time 0.01307/0.3488, allocations: 5.707 MB / 320.7 MB, free: 16.7 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3489, allocations: 65.56 kB / 320.8 MB, free: 16.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.3513, allocations: 1.487 MB / 322.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001823/0.3515, allocations: 52 kB / 322.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/0.352, allocations: 0.8963 MB / 323.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003353/0.3524, allocations: 444.4 kB / 323.6 MB, free: 13.94 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.624e-05/0.3525, allocations: 24 kB / 323.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.3526, allocations: 366.7 kB / 324 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3539, allocations: 0.7091 MB / 324.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.3553, allocations: 0.8746 MB / 325.6 MB, free: 11.92 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.3567, allocations: 0.8262 MB / 326.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.627e-06/0.3567, allocations: 0 / 326.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004254/0.361, allocations: 2.229 MB / 328.6 MB, free: 8.844 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.361, allocations: 8 kB / 328.7 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3611, allocations: 12.02 kB / 328.7 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003265/0.3643, allocations: 0.8269 MB / 329.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.3654, allocations: 199.8 kB / 329.7 MB, free: 7.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/0.3795, allocations: 10.73 MB / 340.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.3807, allocations: 55.56 kB / 340.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.3809, allocations: 44.06 kB / 340.5 MB, free: 12.45 MB / 266.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.001719/0.3826, allocations: 0.8175 MB / 341.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/0.383, allocations: 166.1 kB / 341.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005338/0.3884, allocations: 2.292 MB / 343.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.3884, allocations: 12 kB / 343.8 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.3885, allocations: 8.25 kB / 343.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.356e-05/0.3885, allocations: 11.97 kB / 343.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.3994, allocations: 4.769 MB / 348.6 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.3995, allocations: 7.953 kB / 348.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008915/0.4004, allocations: 163.8 kB / 348.8 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003532/0.4039, allocations: 0.8009 MB / 349.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.4041, allocations: 31.98 kB / 349.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/0.4209, allocations: 10.61 MB / 360.2 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.608e-06/0.421, allocations: 0 / 360.2 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007151/0.4281, allocations: 3.269 MB / 363.5 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.4293, allocations: 415.1 kB / 363.9 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.4296, allocations: 24 kB / 363.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.4306, allocations: 79.94 kB / 364 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.4309, allocations: 109.1 kB / 364.1 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.4311, allocations: 32 kB / 364.1 MB, free: 4.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002119/0.4332, allocations: 1.053 MB / 365.2 MB, free: 3.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.4332, allocations: 4 kB / 365.2 MB, free: 3.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002333/0.4356, allocations: 0.5161 MB / 365.7 MB, free: 2.578 MB / 282.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.0005172/0.4361, allocations: 182.9 kB / 365.9 MB, free: 2.402 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.005086/0.4412, allocations: 2.417 MB / 368.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.857e-06/0.4413, allocations: 4 kB / 368.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003357/0.4446, allocations: 1.624 MB / 369.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.4472, allocations: 473.1 kB / 370.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.4587, allocations: 5.452 MB / 375.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/0.4613, allocations: 2.038 MB / 377.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.4618, allocations: 95.42 kB / 378 MB, free: 6.141 MB / 298.7 MB Notification: Performance of SimCode: time 1.69e-06/0.4619, allocations: 0 / 378 MB, free: 6.141 MB / 298.7 MB Notification: Performance of Templates: time 0.2872/0.7491, allocations: 72.15 MB / 450.1 MB, free: 106.4 MB / 346.7 MB make -j1 -f Modelica_3.2.1_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.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.1_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.1_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.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o] Error 1\n'