Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001057/0.001057, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.694e-05, allocations: 8 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09568/0.09573, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4441/0.5399, allocations: 91.98 MB / 461.1 MB, free: 1.355 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.5403, allocations: 89.14 kB / 461.2 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2983/0.8386, allocations: 74.22 MB / 0.5228 GB, free: 8.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.8387, allocations: 4 kB / 0.5228 GB, free: 8.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003313/0.8391, allocations: 87.88 kB / 0.5229 GB, free: 8.297 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01093/0.85, allocations: 2.872 MB / 0.5257 GB, free: 5.367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.8501, allocations: 8.031 kB / 0.5257 GB, free: 5.359 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.8523, allocations: 391.8 kB / 0.5261 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007308/0.8596, allocations: 2.174 MB / 0.5282 GB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.8599, allocations: 225.8 kB / 0.5284 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00089/0.8608, allocations: 280 kB / 0.5287 GB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2929/1.154, allocations: 4.059 MB / 0.5327 GB, free: 82.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.328e-05/1.154, allocations: 4.219 kB / 0.5327 GB, free: 82.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004514/1.154, allocations: 125.2 kB / 0.5328 GB, free: 82.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002254/1.155, allocations: 136.3 kB / 0.5329 GB, free: 82.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/1.165, allocations: 3.116 MB / 0.536 GB, free: 82.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03121/1.196, allocations: 11.01 MB / 0.5467 GB, free: 81.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/1.2, allocations: 2.588 MB / 0.5493 GB, free: 80.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003879/1.204, allocations: 1.453 MB / 0.5507 GB, free: 80.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004559/1.205, allocations: 142 kB / 0.5508 GB, free: 80.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/1.205, allocations: 51.81 kB / 0.5509 GB, free: 80.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 4.458e-06/1.205, allocations: 0 / 0.5509 GB, free: 80.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.0113/1.216, allocations: 4.38 MB / 0.5551 GB, free: 79.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/1.216, allocations: 94.11 kB / 0.5552 GB, free: 79.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/1.22, allocations: 1.697 MB / 0.5569 GB, free: 79.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003193/1.22, allocations: 52.59 kB / 0.5569 GB, free: 79.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008163/1.221, allocations: 1.249 MB / 0.5582 GB, free: 78.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005409/1.221, allocations: 461.7 kB / 0.5586 GB, free: 78.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/1.221, allocations: 29 kB / 0.5586 GB, free: 78.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/1.222, allocations: 367.7 kB / 0.559 GB, free: 78.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/1.223, allocations: 0.7804 MB / 0.5597 GB, free: 78.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/1.225, allocations: 1.132 MB / 0.5608 GB, free: 77.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/1.227, allocations: 0.9794 MB / 0.5618 GB, free: 77.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/1.227, allocations: 3.25 kB / 0.5618 GB, free: 77.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005324/1.233, allocations: 2.325 MB / 0.5641 GB, free: 76.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/1.233, allocations: 6.844 kB / 0.5641 GB, free: 76.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/1.233, allocations: 19.2 kB / 0.5641 GB, free: 76.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/1.234, allocations: 364.3 kB / 0.5644 GB, free: 76.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/1.237, allocations: 334.2 kB / 0.5648 GB, free: 76.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006967/1.244, allocations: 4.041 MB / 0.5687 GB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/1.246, allocations: 80.56 kB / 0.5688 GB, free: 74.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/1.247, allocations: 68.38 kB / 0.5688 GB, free: 74.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003973/1.247, allocations: 190.3 kB / 0.569 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005714/1.248, allocations: 190.2 kB / 0.5692 GB, free: 74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005072/1.253, allocations: 2.112 MB / 0.5713 GB, free: 73.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/1.253, allocations: 11.25 kB / 0.5713 GB, free: 73.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.253, allocations: 3.719 kB / 0.5713 GB, free: 73.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/1.253, allocations: 7.453 kB / 0.5713 GB, free: 73.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/1.265, allocations: 5.175 MB / 0.5763 GB, free: 71.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-05/1.265, allocations: 3.969 kB / 0.5764 GB, free: 71.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/1.267, allocations: 225.7 kB / 0.5766 GB, free: 71.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/1.269, allocations: 343.1 kB / 0.5769 GB, free: 71.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/1.269, allocations: 36.52 kB / 0.5769 GB, free: 71.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006773/1.276, allocations: 3.959 MB / 0.5808 GB, free: 68.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.276, allocations: 6.75 kB / 0.5808 GB, free: 68.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007037/1.283, allocations: 3.272 MB / 0.584 GB, free: 66.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.284, allocations: 471.7 kB / 0.5844 GB, free: 66.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/1.285, allocations: 32.44 kB / 0.5845 GB, free: 66.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/1.287, allocations: 105.7 kB / 0.5846 GB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/1.287, allocations: 94.94 kB / 0.5847 GB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.287, allocations: 40.92 kB / 0.5847 GB, free: 66.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002645/1.29, allocations: 1.313 MB / 0.586 GB, free: 66.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.29, allocations: 0 / 0.586 GB, free: 66.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002616/1.293, allocations: 0.5711 MB / 0.5865 GB, free: 66.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006023/1.293, allocations: 227.3 kB / 0.5868 GB, free: 65.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004749/1.298, allocations: 2.235 MB / 0.5889 GB, free: 65.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.298, allocations: 4 kB / 0.589 GB, free: 65.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002819/1.301, allocations: 1.289 MB / 0.5902 GB, free: 64.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/1.305, allocations: 477.8 kB / 0.5907 GB, free: 64.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.316, allocations: 4.631 MB / 0.5952 GB, free: 62.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/1.318, allocations: 2.419 MB / 0.5975 GB, free: 61.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000998/1.319, allocations: 132 kB / 0.5977 GB, free: 61.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/1.319, allocations: 0 / 0.5977 GB, free: 61.45 MB / 410.7 MB Notification: Performance of Templates: time 0.08198/1.401, allocations: 49.34 MB / 0.6459 GB, free: 29.2 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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=2 -DSUNDIALS_MINOR_VERSION=6 -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.TransformerTestbenchCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:134:34: error: use of undeclared identifier \'D_24tmpVar12_\'; did you mean \'D_24tmpVar13_\'?\n D_24tmpVar13_ = std::cos(D_24tmpVar12_);\n ^~~~~~~~~~~~~\n D_24tmpVar13_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:111:12: note: \'D_24tmpVar13_\' declared here\n double D_24tmpVar13_;\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:171:34: error: use of undeclared identifier \'D_24tmpVar15_\'; did you mean \'D_24tmpVar16_\'?\n D_24tmpVar16_ = std::sin(D_24tmpVar15_);\n ^~~~~~~~~~~~~\n D_24tmpVar16_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:148:12: note: \'D_24tmpVar16_\' declared here\n double D_24tmpVar16_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o] Error 1\n'