Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.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.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") 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.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00258/0.00258, allocations: 188.1 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.544/3.544, 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.002273/0.002272, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006101/0.0006103, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1584, allocations: 47.59 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.02104/0.1795, allocations: 8.573 MB / 383.1 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.1923, allocations: 3.259 MB / 386.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/0.1957, allocations: 67.56 kB / 386.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004045/0.1998, allocations: 0.5712 MB / 387 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007137/0.207, allocations: 0.9386 MB / 388 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.2097, allocations: 303.6 kB / 388.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.3956/0.6054, allocations: 3.319 MB / 391.6 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01156/0.617, allocations: 2.884 MB / 394.5 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.021/0.6381, allocations: 1.606 MB / 396.1 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01227/0.6504, allocations: 1.945 MB / 398 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002731/0.6561, allocations: 282.6 kB / 398.3 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006855/0.663, allocations: 340.1 kB / 398.6 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009183/0.6723, allocations: 1.143 MB / 399.8 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01171/0.6841, allocations: 0.9424 MB / 400.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02659/0.7108, allocations: 6.798 MB / 407.5 MB, free: 5.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7108, allocations: 0 / 407.5 MB, free: 5.316 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.7109, allocations: 1.281 kB / 407.5 MB, free: 5.316 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003458/0.7112, allocations: 0 / 407.5 MB, free: 5.316 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.05446/0.7657, allocations: 4.306 MB / 411.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.7658, allocations: 8.719 kB / 411.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005445/0.7713, allocations: 0.543 MB / 412.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.7853, allocations: 2.513 MB / 414.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006101/0.786, allocations: 296.5 kB / 415.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002851/0.7889, allocations: 385.6 kB / 415.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03426/0.8232, allocations: 5.737 MB / 421.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002758/0.8236, allocations: 1.406 kB / 421.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002619/0.8262, allocations: 162.6 kB / 421.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000553/0.8269, allocations: 204 kB / 421.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02945/0.8564, allocations: 4.993 MB / 426.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09211/0.9485, allocations: 16.52 MB / 443.2 MB, free: 6.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/0.9696, allocations: 6.794 MB / 449.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008869/0.9705, allocations: 149.3 kB / 450.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.9707, allocations: 60.52 kB / 450.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=249): time 1.022e-05/0.9707, allocations: 0 / 450.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=256): time 0.06452/1.035, allocations: 10.78 MB / 460.9 MB, free: 4.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/1.035, allocations: 89.36 kB / 461 MB, free: 4.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/1.048, allocations: 2.616 MB / 463.6 MB, free: 1.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008549/1.049, allocations: 69.7 kB / 463.7 MB, free: 1.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00283/1.052, allocations: 1.506 MB / 465.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002332/1.054, allocations: 0.8415 MB / 466 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005619/1.055, allocations: 47.94 kB / 466.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004941/1.055, allocations: 407.6 kB / 466.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006856/1.062, allocations: 1.355 MB / 467.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007623/1.07, allocations: 1.651 MB / 469.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008067/1.078, allocations: 1.596 MB / 471.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.98e-05/1.078, allocations: 4 kB / 471.1 MB, free: 9.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.02363/1.102, allocations: 4.295 MB / 475.4 MB, free: 5.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/1.102, allocations: 11.95 kB / 475.4 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.697e-05/1.102, allocations: 8 kB / 475.4 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01671/1.118, allocations: 1.656 MB / 477.1 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005432/1.124, allocations: 391.4 kB / 477.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0702/1.194, allocations: 23.88 MB / 0.4896 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005525/1.2, allocations: 107.8 kB / 0.4897 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009683/1.201, allocations: 76.94 kB / 0.4898 GB, free: 10 MB / 378.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.007341/1.208, allocations: 1.409 MB / 0.4911 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/1.21, allocations: 292.5 kB / 0.4914 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02443/1.235, allocations: 4.426 MB / 0.4957 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-05/1.235, allocations: 24 kB / 0.4958 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.949e-05/1.235, allocations: 8 kB / 0.4958 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.699e-05/1.235, allocations: 11.95 kB / 0.4958 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04773/1.283, allocations: 8.926 MB / 0.5045 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-05/1.283, allocations: 7.984 kB / 0.5045 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004243/1.287, allocations: 295.6 kB / 0.5048 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01509/1.302, allocations: 1.623 MB / 0.5064 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007873/1.303, allocations: 59.97 kB / 0.5064 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07009/1.373, allocations: 23.63 MB / 0.5295 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.373, allocations: 4.062 kB / 0.5295 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02575/1.399, allocations: 6.193 MB / 0.5355 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004248/1.403, allocations: 0.681 MB / 0.5362 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001928/1.405, allocations: 55.98 kB / 0.5363 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004908/1.41, allocations: 135.8 kB / 0.5364 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001619/1.412, allocations: 213.9 kB / 0.5366 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006214/1.413, allocations: 60 kB / 0.5367 GB, free: 8.316 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007821/1.421, allocations: 1.833 MB / 0.5384 GB, free: 6.473 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.744e-06/1.421, allocations: 0 / 0.5384 GB, free: 6.473 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01077/1.431, allocations: 0.9633 MB / 0.5394 GB, free: 5.512 MB / 426.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.001526/1.433, allocations: 202.4 kB / 0.5396 GB, free: 5.309 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01775/1.451, allocations: 4.887 MB / 0.5444 GB, free: 284 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/1.451, allocations: 4.125 kB / 0.5444 GB, free: 280 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.4445/1.895, allocations: 3.371 MB / 0.5477 GB, free: 141.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01034/1.906, allocations: 0.8833 MB / 0.5485 GB, free: 141.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04458/1.951, allocations: 9.884 MB / 0.5582 GB, free: 137.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.011/1.962, allocations: 3.179 MB / 0.5613 GB, free: 136.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/1.964, allocations: 171.1 kB / 0.5614 GB, free: 136.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.384e-06/1.964, allocations: 0 / 0.5614 GB, free: 136.8 MB / 426.7 MB Notification: Performance of Templates: time 1.029/2.992, allocations: 248.1 MB / 0.8038 GB, free: 48.65 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile make -j1 -f Modelica_3.2.3_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/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.Rectifier12pulseCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.3_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.3_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.3_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.3_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.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o] Error 1\n'