Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma|source.voltageSource.2..pin_p.reference.gamma|source.voltageSource.3..pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.831/1.831, allocations: 171.1 MB / 186.3 MB, free: 1.34 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.498e-05, allocations: 0 / 228.1 MB, free: 7.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09368, allocations: 38.77 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.0393/0.133, allocations: 22.92 MB / 289.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01669/0.1498, allocations: 5.356 MB / 295.2 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005899/0.1558, allocations: 251.3 kB / 295.4 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006825/0.1626, allocations: 1.43 MB / 296.8 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008864/0.1716, allocations: 1.483 MB / 298.3 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007498/0.1791, allocations: 1.306 MB / 299.6 MB, free: 272 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2493/0.4284, allocations: 8.38 MB / 308 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1016/0.5301, allocations: 34.09 MB / 342.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01324/0.5434, allocations: 4.451 MB / 346.6 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0147/0.5582, allocations: 5.201 MB / 351.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007481/0.5657, allocations: 0.5932 MB / 352.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005166/0.571, allocations: 452 kB / 352.8 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007059/0.5781, allocations: 2.056 MB / 354.8 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009611/0.5878, allocations: 1.188 MB / 356 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.07103/0.6589, allocations: 32.7 MB / 388.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6589, allocations: 0 / 388.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.659, allocations: 0 / 388.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.001133/0.6601, allocations: 0 / 388.7 MB, free: 9.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4707 * Number of variables: 4707 Notification: Performance of Generate backend data structure: time 0.086/0.7462, allocations: 16.34 MB / 405.1 MB, free: 9.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.7463, allocations: 12.03 kB / 405.1 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01436/0.7606, allocations: 2.382 MB / 407.5 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02805/0.7887, allocations: 9.213 MB / 416.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002115/0.7909, allocations: 1.329 MB / 418 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007726/0.7987, allocations: 1.738 MB / 419.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6038/1.402, allocations: 26.25 MB / 446 MB, free: 68.79 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000899/1.403, allocations: 21.25 kB / 446 MB, free: 68.79 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005435/1.409, allocations: 0.7274 MB / 446.7 MB, free: 68.21 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003912/1.409, allocations: 442.8 kB / 447.2 MB, free: 68.21 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06268/1.472, allocations: 20.25 MB / 467.4 MB, free: 57.19 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1832/1.655, allocations: 82.94 MB / 0.5375 GB, free: 9.105 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/1.665, allocations: 5.12 MB / 0.5425 GB, free: 3.578 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/1.666, allocations: 37.03 kB / 0.5425 GB, free: 3.547 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.069e-05/1.666, allocations: 52.56 kB / 0.5426 GB, free: 3.488 MB / 378.8 MB Notification: Performance of pre-optimization done (n=198): time 5.04e-06/1.666, allocations: 8 kB / 0.5426 GB, free: 3.48 MB / 378.8 MB Notification: Performance of matching and sorting (n=198): time 0.05559/1.722, allocations: 9.501 MB / 0.5518 GB, free: 9.895 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.722, allocations: 150.5 kB / 0.552 GB, free: 9.715 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01693/1.739, allocations: 5.68 MB / 0.5575 GB, free: 4.059 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000449/1.739, allocations: 61.7 kB / 0.5576 GB, free: 3.992 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00856/1.748, allocations: 7.648 MB / 0.5651 GB, free: 12.3 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001492/1.749, allocations: 0.782 MB / 0.5658 GB, free: 11.53 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009213/1.75, allocations: 156 kB / 0.566 GB, free: 11.38 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.001067/1.751, allocations: 0.6368 MB / 0.5666 GB, free: 10.73 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008706/1.76, allocations: 2.924 MB / 0.5694 GB, free: 7.805 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5232/2.283, allocations: 7.613 MB / 0.5769 GB, free: 116.3 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01247/2.296, allocations: 5.067 MB / 0.5818 GB, free: 115 MB / 410.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002177/2.296, allocations: 48.91 kB / 0.5819 GB, free: 115 MB / 410.9 MB Notification: Performance of matching and sorting (n=984) (initialization): time 0.03028/2.326, allocations: 11.07 MB / 0.5927 GB, free: 110.7 MB / 410.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/2.327, allocations: 75.09 kB / 0.5928 GB, free: 110.7 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003043/2.327, allocations: 166 kB / 0.5929 GB, free: 110.7 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008523/2.335, allocations: 1.681 MB / 0.5946 GB, free: 110.4 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009335/2.345, allocations: 1.644 MB / 0.5962 GB, free: 110.2 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02702/2.372, allocations: 12.63 MB / 0.6085 GB, free: 103.7 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009029/2.381, allocations: 1.053 MB / 0.6095 GB, free: 103.3 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001641/2.383, allocations: 456.2 kB / 0.61 GB, free: 103.3 MB / 410.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 759 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (885): * Single equations (assignments): 882 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,75.0%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01579/2.399, allocations: 6.919 MB / 0.6167 GB, free: 100 MB / 410.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/2.4, allocations: 0.4948 MB / 0.6172 GB, free: 99.82 MB / 410.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/2.412, allocations: 4.306 MB / 0.6214 GB, free: 98.06 MB / 410.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008361/2.42, allocations: 3.327 MB / 0.6247 GB, free: 96.75 MB / 410.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.069e-05/2.42, allocations: 18.8 kB / 0.6247 GB, free: 96.75 MB / 410.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-05/2.42, allocations: 10.59 kB / 0.6247 GB, free: 96.75 MB / 410.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0443/2.464, allocations: 14.98 MB / 0.6393 GB, free: 88.91 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/2.464, allocations: 4 kB / 0.6393 GB, free: 88.91 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/2.466, allocations: 201.4 kB / 0.6395 GB, free: 88.75 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00789/2.474, allocations: 1.443 MB / 0.6409 GB, free: 87.46 MB / 410.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003484/2.475, allocations: 43.98 kB / 0.641 GB, free: 87.42 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02466/2.499, allocations: 12.18 MB / 0.6529 GB, free: 75.12 MB / 410.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/2.499, allocations: 4 kB / 0.6529 GB, free: 75.12 MB / 410.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/2.512, allocations: 6.135 MB / 0.6588 GB, free: 68.92 MB / 410.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/2.515, allocations: 0.8126 MB / 0.6596 GB, free: 68.08 MB / 410.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001434/2.516, allocations: 43.98 kB / 0.6597 GB, free: 68.04 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003348/2.519, allocations: 111.9 kB / 0.6598 GB, free: 67.93 MB / 410.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005554/2.52, allocations: 154.7 kB / 0.6599 GB, free: 67.78 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/2.52, allocations: 48 kB / 0.66 GB, free: 67.73 MB / 410.9 MB Notification: Performance of sorting global known variables: time 0.01006/2.53, allocations: 4.207 MB / 0.6641 GB, free: 63.55 MB / 410.9 MB Notification: Performance of sort global known variables: time 1.142e-06/2.53, allocations: 0 / 0.6641 GB, free: 63.55 MB / 410.9 MB Notification: Performance of remove unused functions: time 0.01293/2.543, allocations: 3.658 MB / 0.6677 GB, free: 59.88 MB / 410.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (source.voltageSource[3].pin_p.reference.gamma,source.voltageSource[2].pin_p.reference.gamma,source.voltageSource[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,72.2%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008156/2.544, allocations: 201.8 kB / 0.6679 GB, free: 59.69 MB / 410.9 MB Notification: Performance of simCode: created initialization part: time 0.01562/2.56, allocations: 6.932 MB / 0.6746 GB, free: 52.76 MB / 410.9 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/2.56, allocations: 8 kB / 0.6746 GB, free: 52.75 MB / 410.9 MB Notification: Performance of simCode: created simulation system equations: time 0.005459/2.565, allocations: 2.196 MB / 0.6768 GB, free: 50.55 MB / 410.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/2.576, allocations: 1.352 MB / 0.6781 GB, free: 49.21 MB / 410.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08135/2.657, allocations: 29.97 MB / 0.7074 GB, free: 19.17 MB / 410.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02989/2.687, allocations: 10.83 MB / 0.7179 GB, free: 8.301 MB / 410.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/2.689, allocations: 363.4 kB / 0.7183 GB, free: 7.945 MB / 410.9 MB Notification: Performance of SimCode: time 1.313e-06/2.689, allocations: 0 / 0.7183 GB, free: 7.945 MB / 410.9 MB Notification: Performance of Templates: time 1.06/3.749, allocations: 245.8 MB / 0.9584 GB, free: 93.38 MB / 442.9 MB make -j1 -f Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp In file included from OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp:36: ./OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.cpp:2022:28: error: use of undeclared identifier 'tmp443' _transformerData_P_C1_ = tmp443; ^ ./OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.cpp:2023:28: error: use of undeclared identifier 'tmp444' _transformerData_P_C2_ = tmp444; ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.o] Error 1