Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002961/0.00296, allocations: 186.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 4.972/4.972, 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.002673/0.002672, allocations: 90.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006523/0.000652, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1582, allocations: 47.58 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01255/0.1709, allocations: 4.723 MB / 379.3 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007595/0.1785, allocations: 2.059 MB / 381.3 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.1799, allocations: 27.81 kB / 381.4 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.1821, allocations: 322.4 kB / 381.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003088/0.1852, allocations: 458.6 kB / 382.1 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1863, allocations: 147.8 kB / 382.3 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004651/0.191, allocations: 1.454 MB / 383.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004023/0.1951, allocations: 1.33 MB / 385.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.1975, allocations: 0.7163 MB / 385.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.2007, allocations: 0.8638 MB / 386.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007841/0.2015, allocations: 128 kB / 386.8 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.2031, allocations: 187.9 kB / 386.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.2043, allocations: 0.4907 MB / 387.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.2055, allocations: 444.7 kB / 387.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4278/0.6334, allocations: 3.066 MB / 390.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.6335, allocations: 3.531 kB / 390.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.6335, allocations: 0 / 390.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001781/0.6337, allocations: 1 kB / 390.9 MB, free: 11.48 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.01115/0.6449, allocations: 2.025 MB / 393 MB, free: 10.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.824e-05/0.645, allocations: 9 kB / 393 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.6476, allocations: 246.8 kB / 393.2 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005765/0.6534, allocations: 1.206 MB / 394.4 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/0.6539, allocations: 131.9 kB / 394.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.6553, allocations: 172.2 kB / 394.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.6702, allocations: 2.526 MB / 397.2 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.6704, allocations: 1.062 kB / 397.2 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00107/0.6715, allocations: 71.56 kB / 397.3 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003337/0.6719, allocations: 99.75 kB / 397.4 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/0.6855, allocations: 2.102 MB / 399.5 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03549/0.7211, allocations: 7.516 MB / 407 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00403/0.7252, allocations: 1.272 MB / 408.3 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005716/0.7259, allocations: 116.7 kB / 408.4 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/0.7259, allocations: 42.47 kB / 408.5 MB, free: 4.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=52): time 6.693e-06/0.726, allocations: 0 / 408.5 MB, free: 4.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=53): time 0.01267/0.7387, allocations: 2.286 MB / 410.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.7388, allocations: 83.58 kB / 410.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00688/0.7457, allocations: 1.503 MB / 412.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.746, allocations: 37.05 kB / 412.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.7476, allocations: 0.9564 MB / 413.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004702/0.7481, allocations: 194 kB / 413.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.7483, allocations: 25.28 kB / 413.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.7486, allocations: 362.4 kB / 413.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.7509, allocations: 459.3 kB / 414.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/0.7541, allocations: 1.095 MB / 415.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003192/0.7574, allocations: 0.6735 MB / 416.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.084e-05/0.7575, allocations: 9.688 kB / 416.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00865/0.7662, allocations: 1.61 MB / 417.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/0.7664, allocations: 18.81 kB / 417.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.559e-05/0.7665, allocations: 21.09 kB / 417.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/0.7687, allocations: 185.5 kB / 417.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.7715, allocations: 283.7 kB / 418.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006656/0.7783, allocations: 2.188 MB / 420.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/0.7821, allocations: 91.58 kB / 420.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004427/0.7826, allocations: 64.25 kB / 420.6 MB, free: 12.17 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003143/0.7857, allocations: 0.7082 MB / 421.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008255/0.7866, allocations: 132.9 kB / 421.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/0.791, allocations: 0.8515 MB / 422.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/0.7911, allocations: 12 kB / 422.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.7911, allocations: 0 / 422.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.7912, allocations: 4 kB / 422.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/0.8053, allocations: 2.508 MB / 424.8 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.8054, allocations: 352 / 424.8 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.8067, allocations: 107.8 kB / 424.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/0.8089, allocations: 151.3 kB / 425 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/0.8092, allocations: 16 kB / 425 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.8153, allocations: 2.138 MB / 427.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.096e-05/0.8154, allocations: 7.984 kB / 427.2 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006417/0.8218, allocations: 1.468 MB / 428.7 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/0.8238, allocations: 291.5 kB / 428.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008731/0.8248, allocations: 12.06 kB / 429 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/0.8274, allocations: 55.92 kB / 429 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000465/0.8279, allocations: 51.88 kB / 429.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/0.8282, allocations: 23.98 kB / 429.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00513/0.8333, allocations: 1.024 MB / 430.1 MB, free: 2.297 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.697e-06/0.8334, allocations: 0 / 430.1 MB, free: 2.297 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.005022/0.8384, allocations: 353.4 kB / 430.5 MB, free: 1.953 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009775/0.8395, allocations: 141.6 kB / 430.6 MB, free: 1.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005936/0.8455, allocations: 1.15 MB / 431.7 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.854e-05/0.8456, allocations: 4 kB / 431.7 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002729/0.8484, allocations: 0.518 MB / 432.3 MB, free: 120 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004802/0.8533, allocations: 354.7 kB / 432.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.8692, allocations: 3.756 MB / 436.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004447/0.8737, allocations: 1.689 MB / 438.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009529/0.8748, allocations: 99.42 kB / 438.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of SimCode: time 1.663e-06/0.8748, allocations: 0 / 438.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of Templates: time 0.1117/0.9865, allocations: 30.98 MB / 469.1 MB, free: 11.12 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.AsymmetricalLoadCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.cpp:1356:28: error: use of undeclared identifier \'tmp7\'\n _transformerData_P_C1_ = tmp7;\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.cpp:1357:28: error: use of undeclared identifier \'tmp8\'\n _transformerData_P_C2_ = tmp8;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o] Error 1\n'