Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002217/0.002223, allocations: 188.2 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 2.181/2.181, 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.001134/0.001134, allocations: 90.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 8 kB / 327.1 MB, free: 15 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.0965, allocations: 47.58 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01337/0.1099, allocations: 5.522 MB / 380.2 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008166/0.1182, allocations: 2.277 MB / 382.4 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.1198, allocations: 35.81 kB / 382.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.122, allocations: 366.1 kB / 382.8 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003743/0.1258, allocations: 0.5531 MB / 383.4 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.1272, allocations: 175.8 kB / 383.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004362/0.1316, allocations: 1.84 MB / 385.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003155/0.1348, allocations: 1.586 MB / 387 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.137, allocations: 0.8992 MB / 387.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002625/0.1397, allocations: 1.082 MB / 389 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006839/0.1404, allocations: 156 kB / 389.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.1416, allocations: 215.9 kB / 389.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2792/0.4208, allocations: 0.6228 MB / 390 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.4222, allocations: 0.5314 MB / 390.5 MB, free: 11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007043/0.4293, allocations: 3.72 MB / 394.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4293, allocations: 0 / 394.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4294, allocations: 0 / 394.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000184/0.4296, allocations: 0 / 394.2 MB, free: 10.79 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.01023/0.4398, allocations: 2.529 MB / 396.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.4399, allocations: 9.469 kB / 396.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001716/0.4416, allocations: 328.7 kB / 397.1 MB, free: 9.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.4434, allocations: 307.4 kB / 397.4 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004997/0.4485, allocations: 1.451 MB / 398.8 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.4488, allocations: 164.5 kB / 399 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.45, allocations: 211 kB / 399.2 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.4614, allocations: 3.148 MB / 402.3 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.459e-05/0.4616, allocations: 4.578 kB / 402.3 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003496/0.4619, allocations: 98.3 kB / 402.4 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002093/0.4622, allocations: 108.2 kB / 402.5 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009378/0.4716, allocations: 2.721 MB / 405.3 MB, free: 7.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03391/0.5055, allocations: 8.97 MB / 414.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008085/0.5137, allocations: 3.373 MB / 417.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/0.5143, allocations: 126.5 kB / 417.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.843e-05/0.5144, allocations: 49.8 kB / 417.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 6.483e-06/0.5144, allocations: 0 / 417.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.02911/0.5435, allocations: 5.714 MB / 423.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.5437, allocations: 64.72 kB / 423.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006021/0.5497, allocations: 1.481 MB / 425 MB, free: 8.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005296/0.5503, allocations: 49.7 kB / 425.1 MB, free: 8.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.5518, allocations: 0.9083 MB / 426 MB, free: 7.582 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.553, allocations: 446.8 kB / 426.4 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.5531, allocations: 22.25 kB / 426.4 MB, free: 7.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.5534, allocations: 369.2 kB / 426.8 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.5555, allocations: 0.6974 MB / 427.5 MB, free: 6.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002876/0.5584, allocations: 0.8724 MB / 428.4 MB, free: 5.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/0.5618, allocations: 0.8296 MB / 429.2 MB, free: 4.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/0.5619, allocations: 0 / 429.2 MB, free: 4.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.009876/0.5718, allocations: 2.227 MB / 431.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.5719, allocations: 11.94 kB / 431.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.5719, allocations: 8.031 kB / 431.5 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006956/0.5789, allocations: 0.8254 MB / 432.3 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/0.5813, allocations: 210.1 kB / 432.5 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02788/0.6093, allocations: 10.71 MB / 443.2 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.612, allocations: 55.95 kB / 443.2 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005179/0.6126, allocations: 43.95 kB / 443.3 MB, free: 5.781 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.003636/0.6162, allocations: 0.8121 MB / 444.1 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009731/0.6172, allocations: 166.1 kB / 444.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/0.6276, allocations: 2.293 MB / 446.6 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.197e-05/0.6278, allocations: 18.36 kB / 446.6 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.6278, allocations: 4 kB / 446.6 MB, free: 2.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.231e-05/0.6278, allocations: 7.969 kB / 446.6 MB, free: 2.492 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02141/0.6493, allocations: 4.772 MB / 451.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/0.6494, allocations: 0 / 451.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/0.6515, allocations: 159.1 kB / 451.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007438/0.659, allocations: 0.8085 MB / 452.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004312/0.6594, allocations: 31.98 kB / 452.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02945/0.6889, allocations: 10.61 MB / 463 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.689, allocations: 0 / 463 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/0.702, allocations: 3.303 MB / 466.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002391/0.7045, allocations: 403.1 kB / 466.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008536/0.7054, allocations: 24 kB / 466.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/0.708, allocations: 75.94 kB / 466.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008103/0.7089, allocations: 119.5 kB / 466.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002234/0.7091, allocations: 35.98 kB / 466.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003999/0.7132, allocations: 1.044 MB / 468 MB, free: 12.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.206e-06/0.7132, allocations: 0 / 468 MB, free: 12.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005356/0.7186, allocations: 0.5191 MB / 468.5 MB, free: 12.04 MB / 346.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.01476/0.7334, allocations: 4.047 MB / 472.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01003/0.7435, allocations: 2.419 MB / 474.9 MB, free: 5.504 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/0.7436, allocations: 4 kB / 474.9 MB, free: 5.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005884/0.7495, allocations: 1.621 MB / 476.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/0.7538, allocations: 484.2 kB / 477 MB, free: 3.359 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04842/0.8022, allocations: 15.83 MB / 492.9 MB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003303/0.8056, allocations: 2.026 MB / 494.9 MB, free: 1.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/0.8077, allocations: 0.7766 MB / 495.7 MB, free: 284 kB / 362.7 MB Notification: Performance of SimCode: time 2.054e-06/0.8077, allocations: 0 / 495.7 MB, free: 284 kB / 362.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulseCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulseCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulseCalcHelperMain.cpp:34: ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.cpp:1927:29: error: use of undeclared identifier 'tmp6' _transformerData1_P_C1_ = tmp6; ^ ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.cpp:1928:29: error: use of undeclared identifier 'tmp7' _transformerData1_P_C2_ = tmp7; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulseCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulseFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulseCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulseCalcHelperMain.o] Error 1