Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.733e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08859, allocations: 50.42 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3745/0.4631, allocations: 92.9 MB / 435.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.4634, allocations: 81.27 kB / 435.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2788/0.7423, allocations: 74.69 MB / 0.4983 GB, free: 10.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7423, allocations: 0 / 0.4983 GB, free: 10.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002761/0.7426, allocations: 83.88 kB / 0.4984 GB, free: 10.83 MB / 426.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.007759/0.7504, allocations: 2.904 MB / 0.5012 GB, free: 7.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.7504, allocations: 8.031 kB / 0.5012 GB, free: 7.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.7522, allocations: 395.7 kB / 0.5016 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006033/0.7583, allocations: 2.166 MB / 0.5037 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.7586, allocations: 229.8 kB / 0.5039 GB, free: 5.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009247/0.7595, allocations: 280 kB / 0.5042 GB, free: 4.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.77, allocations: 4.006 MB / 0.5081 GB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-05/0.7701, allocations: 3.953 kB / 0.5081 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000482/0.7706, allocations: 132 kB / 0.5082 GB, free: 460 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001871/0.7708, allocations: 137.8 kB / 0.5083 GB, free: 320 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008313/0.7792, allocations: 3.065 MB / 0.5113 GB, free: 13.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02703/0.8062, allocations: 11 MB / 0.5221 GB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2676/1.074, allocations: 2.574 MB / 0.5246 GB, free: 96.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007529/1.082, allocations: 1.445 MB / 0.526 GB, free: 96.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006983/1.082, allocations: 143.5 kB / 0.5261 GB, free: 96.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.429e-05/1.082, allocations: 47.47 kB / 0.5262 GB, free: 95.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 1.216e-05/1.082, allocations: 2.75 kB / 0.5262 GB, free: 95.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.02245/1.105, allocations: 4.365 MB / 0.5305 GB, free: 95.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/1.105, allocations: 94.75 kB / 0.5305 GB, free: 95.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007693/1.113, allocations: 1.695 MB / 0.5322 GB, free: 95.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000477/1.113, allocations: 49.33 kB / 0.5322 GB, free: 95.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001652/1.115, allocations: 1.252 MB / 0.5335 GB, free: 94.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009214/1.116, allocations: 460.5 kB / 0.5339 GB, free: 94.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/1.116, allocations: 28.12 kB / 0.5339 GB, free: 94.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002632/1.117, allocations: 377.5 kB / 0.5343 GB, free: 94.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003531/1.12, allocations: 0.7781 MB / 0.5351 GB, free: 94.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003936/1.124, allocations: 1.118 MB / 0.5361 GB, free: 93.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/1.128, allocations: 0.9825 MB / 0.5371 GB, free: 93.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/1.128, allocations: 3.062 kB / 0.5371 GB, free: 93.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.009442/1.137, allocations: 2.3 MB / 0.5394 GB, free: 93.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/1.137, allocations: 10.06 kB / 0.5394 GB, free: 93.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.76e-05/1.138, allocations: 12.97 kB / 0.5394 GB, free: 93.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/1.14, allocations: 356 kB / 0.5397 GB, free: 93.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003483/1.143, allocations: 333.9 kB / 0.54 GB, free: 93.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007865/1.151, allocations: 4.041 MB / 0.544 GB, free: 92.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/1.153, allocations: 82.52 kB / 0.5441 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/1.154, allocations: 67.58 kB / 0.5441 GB, free: 92.16 MB / 442.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.0003812/1.154, allocations: 188.2 kB / 0.5443 GB, free: 92.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/1.155, allocations: 192.4 kB / 0.5445 GB, free: 91.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/1.159, allocations: 2.106 MB / 0.5465 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.159, allocations: 20.52 kB / 0.5466 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.789e-06/1.159, allocations: 3.938 kB / 0.5466 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.159, allocations: 7.547 kB / 0.5466 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/1.172, allocations: 5.161 MB / 0.5516 GB, free: 91.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/1.172, allocations: 3.656 kB / 0.5516 GB, free: 91.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/1.174, allocations: 234.2 kB / 0.5518 GB, free: 91.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/1.175, allocations: 337.8 kB / 0.5522 GB, free: 91.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/1.175, allocations: 32.73 kB / 0.5522 GB, free: 91.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006014/1.181, allocations: 3.96 MB / 0.5561 GB, free: 89.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.094e-06/1.181, allocations: 7.688 kB / 0.5561 GB, free: 89.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006125/1.187, allocations: 3.262 MB / 0.5593 GB, free: 89.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.189, allocations: 472 kB / 0.5597 GB, free: 89.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/1.189, allocations: 27.97 kB / 0.5597 GB, free: 89.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.19, allocations: 108 kB / 0.5598 GB, free: 89.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/1.191, allocations: 98.11 kB / 0.5599 GB, free: 89.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.191, allocations: 49.3 kB / 0.56 GB, free: 89.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002436/1.193, allocations: 1.311 MB / 0.5613 GB, free: 88.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.14e-07/1.193, allocations: 0 / 0.5613 GB, free: 88.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002657/1.196, allocations: 0.5718 MB / 0.5618 GB, free: 88.64 MB / 442.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.0005396/1.196, allocations: 226.8 kB / 0.562 GB, free: 88.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004054/1.201, allocations: 2.197 MB / 0.5642 GB, free: 87.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.919e-06/1.201, allocations: 0 / 0.5642 GB, free: 87.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002201/1.203, allocations: 1.266 MB / 0.5654 GB, free: 87.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.206, allocations: 487.3 kB / 0.5659 GB, free: 86.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.216, allocations: 4.609 MB / 0.5704 GB, free: 85.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002507/1.219, allocations: 2.423 MB / 0.5727 GB, free: 84.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007966/1.219, allocations: 134.2 kB / 0.5729 GB, free: 84.08 MB / 442.7 MB Notification: Performance of SimCode: time 1.73e-06/1.219, allocations: 0 / 0.5729 GB, free: 84.08 MB / 442.7 MB Notification: Performance of Templates: time 0.06849/1.288, allocations: 49.04 MB / 0.6208 GB, free: 64.46 MB / 442.7 MB make -j1 -f Modelica_trunk_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_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.cpp:28: ./OMCppModelica_trunk_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_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:111:12: note: '_omcQuot_24746D705661723131_' declared here double _omcQuot_24746D705661723131_; ^ ./OMCppModelica_trunk_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_trunk_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_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o] Error 1