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.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.839/1.839, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.956e-05, allocations: 7.125 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07554/0.07559, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.4169, allocations: 87.78 MB / 387.6 MB, free: 20.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.4172, allocations: 83.53 kB / 387.7 MB, free: 20.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2671/0.6843, allocations: 74.89 MB / 462.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.915e-06/0.6843, allocations: 0 / 462.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002728/0.6846, allocations: 95.8 kB / 462.7 MB, free: 9.773 MB / 346.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.008069/0.6927, allocations: 2.864 MB / 465.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.6928, allocations: 8.031 kB / 465.6 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.6945, allocations: 400 kB / 466 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006153/0.7007, allocations: 2.174 MB / 468.2 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/0.7011, allocations: 217.8 kB / 468.4 MB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001/0.7021, allocations: 284 kB / 468.6 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.7123, allocations: 4.028 MB / 472.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.891e-05/0.7124, allocations: 0 / 472.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004555/0.7129, allocations: 128 kB / 472.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/0.7131, allocations: 141.8 kB / 472.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00769/0.7208, allocations: 3.085 MB / 476 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02524/0.7461, allocations: 11 MB / 487 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003916/0.75, allocations: 2.581 MB / 489.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.7532, allocations: 1.449 MB / 491 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003955/0.7536, allocations: 146 kB / 491.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.7537, allocations: 43.56 kB / 491.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 5.176e-06/0.7537, allocations: 0 / 491.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.01087/0.7646, allocations: 4.374 MB / 495.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.7647, allocations: 90.42 kB / 495.7 MB, free: 7.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003617/0.7684, allocations: 1.698 MB / 497.4 MB, free: 6.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.7686, allocations: 45.7 kB / 497.4 MB, free: 6.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.7698, allocations: 1.264 MB / 498.7 MB, free: 4.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005762/0.7704, allocations: 461.4 kB / 499.2 MB, free: 4.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.7705, allocations: 24 kB / 499.2 MB, free: 4.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002375/0.7708, allocations: 370.8 kB / 499.5 MB, free: 4.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.7725, allocations: 0.7809 MB / 0.4886 GB, free: 3.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.7746, allocations: 1.115 MB / 0.4897 GB, free: 2.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002033/0.7766, allocations: 0.9847 MB / 0.4906 GB, free: 1.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.7767, allocations: 4 kB / 0.4906 GB, free: 1.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005243/0.7819, allocations: 2.294 MB / 0.4929 GB, free: 14.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.782, allocations: 14.03 kB / 0.4929 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-05/0.782, allocations: 12 kB / 0.4929 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.7834, allocations: 355.3 kB / 0.4933 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.7853, allocations: 343.5 kB / 0.4936 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007291/0.7926, allocations: 4.05 MB / 0.4975 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.7945, allocations: 95.92 kB / 0.4976 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.7948, allocations: 63.98 kB / 0.4977 GB, free: 9.734 MB / 394.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.0004022/0.7952, allocations: 180.7 kB / 0.4979 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005766/0.7958, allocations: 189.7 kB / 0.498 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004881/0.8007, allocations: 2.121 MB / 0.5001 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.8007, allocations: 16 kB / 0.5001 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.8007, allocations: 4 kB / 0.5001 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.8008, allocations: 7.969 kB / 0.5001 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.8129, allocations: 5.155 MB / 0.5052 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-05/0.813, allocations: 7.984 kB / 0.5052 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.8145, allocations: 227.6 kB / 0.5054 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/0.8158, allocations: 341.2 kB / 0.5057 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.8159, allocations: 39.98 kB / 0.5058 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2265/1.042, allocations: 3.948 MB / 0.5096 GB, free: 74.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.739e-06/1.043, allocations: 7.406 kB / 0.5096 GB, free: 74.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006668/1.049, allocations: 3.262 MB / 0.5128 GB, free: 74.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/1.051, allocations: 471.4 kB / 0.5133 GB, free: 74.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/1.051, allocations: 37.05 kB / 0.5133 GB, free: 74.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.052, allocations: 102.4 kB / 0.5134 GB, free: 74.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/1.053, allocations: 97.52 kB / 0.5135 GB, free: 74.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.053, allocations: 43.98 kB / 0.5135 GB, free: 74.24 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00261/1.055, allocations: 1.311 MB / 0.5148 GB, free: 74.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.075e-06/1.055, allocations: 1.406 kB / 0.5148 GB, free: 74.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002456/1.058, allocations: 0.5722 MB / 0.5154 GB, free: 74.12 MB / 394.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.0005354/1.058, allocations: 216.5 kB / 0.5156 GB, free: 74.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004347/1.063, allocations: 2.193 MB / 0.5177 GB, free: 73.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.068e-06/1.063, allocations: 3.469 kB / 0.5177 GB, free: 73.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002485/1.065, allocations: 1.267 MB / 0.519 GB, free: 73.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/1.068, allocations: 489.7 kB / 0.5194 GB, free: 73.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009992/1.078, allocations: 4.626 MB / 0.5239 GB, free: 72.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002533/1.081, allocations: 2.414 MB / 0.5263 GB, free: 71.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008286/1.082, allocations: 139 kB / 0.5264 GB, free: 71.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.826e-06/1.082, allocations: 0 / 0.5264 GB, free: 71.79 MB / 394.7 MB Notification: Performance of Templates: time 0.06517/1.147, allocations: 49.06 MB / 0.5743 GB, free: 67.07 MB / 394.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.cpp:28: ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:134:49: error: use of undeclared identifier '_omcQuot_24746D705661723130_'; did you mean '_omcQuot_24746D705661723131_'? _omcQuot_24746D705661723131_ = std::cos(_omcQuot_24746D705661723130_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723131_ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:111:12: note: '_omcQuot_24746D705661723131_' declared here double _omcQuot_24746D705661723131_; ^ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:171:49: error: use of undeclared identifier '_omcQuot_24746D705661723133_'; did you mean '_omcQuot_24746D705661723134_'? _omcQuot_24746D705661723134_ = std::sin(_omcQuot_24746D705661723133_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723134_ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:148:12: note: '_omcQuot_24746D705661723134_' declared here double _omcQuot_24746D705661723134_; ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o] Error 1