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.Rectifier12pulse.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.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.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.596/1.596, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 8 kB / 233.2 MB, free: 3.031 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06885/0.06922, allocations: 38.76 MB / 271.9 MB, free: 12.19 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01262/0.08188, allocations: 8.88 MB / 280.8 MB, free: 3.262 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007432/0.08936, allocations: 3.235 MB / 284 MB, free: 20 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.09138, allocations: 67.67 kB / 284.1 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.09321, allocations: 0.579 MB / 284.7 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.09683, allocations: 0.9464 MB / 285.6 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.09807, allocations: 307.7 kB / 285.9 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005989/0.1041, allocations: 3.361 MB / 289.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004887/0.109, allocations: 2.874 MB / 292.2 MB, free: 7.824 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003277/0.1123, allocations: 1.647 MB / 293.8 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.116, allocations: 1.945 MB / 295.8 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009646/0.117, allocations: 280 kB / 296 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1185, allocations: 347.8 kB / 296.4 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.1201, allocations: 1.153 MB / 297.5 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.1217, allocations: 0.9408 MB / 298.5 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1884/0.3101, allocations: 6.815 MB / 305.3 MB, free: 13.72 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.973e-06/0.3101, allocations: 0 / 305.3 MB, free: 13.72 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3102, allocations: 0.5 kB / 305.3 MB, free: 13.72 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002112/0.3104, allocations: 0 / 305.3 MB, free: 13.72 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01198/0.3224, allocations: 4.298 MB / 309.6 MB, free: 11.31 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3224, allocations: 8.688 kB / 309.6 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/0.3255, allocations: 0.5492 MB / 310.1 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006647/0.3321, allocations: 2.519 MB / 312.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.3325, allocations: 292.2 kB / 312.9 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/0.3341, allocations: 382.7 kB / 313.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.3503, allocations: 5.763 MB / 319.1 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/0.3504, allocations: 7 kB / 319.1 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001225/0.3517, allocations: 163.7 kB / 319.3 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/0.3519, allocations: 203.2 kB / 319.4 MB, free: 8.723 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.365, allocations: 5.001 MB / 324.5 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03882/0.4039, allocations: 16.52 MB / 341 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.4148, allocations: 6.8 MB / 347.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.4154, allocations: 139.8 kB / 347.9 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.103e-05/0.4155, allocations: 64.55 kB / 348 MB, free: 456 kB / 266.7 MB Notification: Performance of pre-optimization done (n=249): time 6.63e-06/0.4155, allocations: 0 / 348 MB, free: 456 kB / 266.7 MB Notification: Performance of matching and sorting (n=256): time 0.03274/0.4482, allocations: 10.78 MB / 358.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.4484, allocations: 81.41 kB / 358.8 MB, free: 5.371 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006235/0.4546, allocations: 2.616 MB / 361.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005492/0.4552, allocations: 69.7 kB / 361.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.4569, allocations: 1.507 MB / 363 MB, free: 1.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001366/0.4583, allocations: 0.8461 MB / 363.9 MB, free: 316 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.4586, allocations: 49.59 kB / 363.9 MB, free: 268 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003534/0.459, allocations: 403.6 kB / 364.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003408/0.4624, allocations: 1.355 MB / 365.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003968/0.4664, allocations: 1.67 MB / 367.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.4705, allocations: 1.592 MB / 368.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/0.4705, allocations: 0 / 368.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01175/0.4823, allocations: 4.309 MB / 373.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.4824, allocations: 8 kB / 373.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.4824, allocations: 4 kB / 373.2 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007716/0.4901, allocations: 1.648 MB / 374.9 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.4924, allocations: 391.9 kB / 375.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03755/0.53, allocations: 23.89 MB / 399.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.5326, allocations: 95.92 kB / 399.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004673/0.5331, allocations: 80.25 kB / 399.3 MB, free: 11.54 MB / 330.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.003799/0.5369, allocations: 1.412 MB / 400.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009946/0.5379, allocations: 296.5 kB / 401 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.5492, allocations: 4.416 MB / 405.5 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/0.5492, allocations: 28 kB / 405.5 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/0.5493, allocations: 8 kB / 405.5 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-05/0.5493, allocations: 11.95 kB / 405.5 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/0.5726, allocations: 8.947 MB / 414.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.5727, allocations: 2.438 kB / 414.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/0.5744, allocations: 292.3 kB / 414.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007369/0.5818, allocations: 1.628 MB / 416.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004408/0.5822, allocations: 55.98 kB / 416.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03667/0.6189, allocations: 23.64 MB / 440.1 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.56e-06/0.619, allocations: 0 / 440.1 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2082/0.8271, allocations: 6.146 MB / 446.2 MB, free: 121.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/0.8294, allocations: 0.6896 MB / 446.9 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008745/0.8303, allocations: 57.25 kB / 447 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/0.8325, allocations: 137.2 kB / 447.1 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006574/0.8332, allocations: 211.6 kB / 447.3 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/0.8334, allocations: 67.7 kB / 447.4 MB, free: 121.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003827/0.8373, allocations: 1.832 MB / 449.2 MB, free: 121.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.085e-06/0.8373, allocations: 3.875 kB / 449.2 MB, free: 121.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005537/0.8428, allocations: 0.9614 MB / 450.2 MB, free: 121.1 MB / 362.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.0007566/0.8436, allocations: 213.9 kB / 450.4 MB, free: 120.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00896/0.8526, allocations: 4.883 MB / 455.2 MB, free: 118.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.929e-06/0.8527, allocations: 6.969 kB / 455.3 MB, free: 118.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006817/0.8595, allocations: 3.374 MB / 458.6 MB, free: 116.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004946/0.8645, allocations: 0.8903 MB / 459.5 MB, free: 116.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.8821, allocations: 9.893 MB / 469.4 MB, free: 110.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003889/0.8861, allocations: 3.177 MB / 472.6 MB, free: 108 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009403/0.887, allocations: 175.4 kB / 472.8 MB, free: 107.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.684e-06/0.887, allocations: 0 / 472.8 MB, free: 107.9 MB / 362.7 MB Notification: Performance of Templates: time 0.7532/1.64, allocations: 248.2 MB / 0.7041 GB, free: 118.3 MB / 362.7 MB make -j1 -f Modelica_3.2.1_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.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.1_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.1_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.1_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.1_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.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o] Error 1\n'