Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 2.156/2.156, allocations: 194.9 MB / 211.2 MB, free: 8.055 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.538e-05, allocations: 0 / 258.8 MB, free: 8.414 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3104, allocations: 44.51 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.04081/0.3513, allocations: 24.17 MB / 327.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.3711, allocations: 6.387 MB / 333.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006097/0.3772, allocations: 247.3 kB / 334.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007101/0.3844, allocations: 1.538 MB / 335.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.397, allocations: 2.294 MB / 337.9 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007388/0.4044, allocations: 1.359 MB / 339.3 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.03611/0.4406, allocations: 15.36 MB / 354.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09356/0.5342, allocations: 30.52 MB / 385.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01715/0.5514, allocations: 4.883 MB / 390 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01576/0.5672, allocations: 6.135 MB / 396.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007699/0.575, allocations: 0.6794 MB / 396.9 MB, free: 15.83 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00498/0.58, allocations: 0.5039 MB / 397.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007244/0.5873, allocations: 2.614 MB / 400 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01977/0.6071, allocations: 1.262 MB / 401.2 MB, free: 11.44 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.6645/1.272, allocations: 33.69 MB / 434.9 MB, free: 36.81 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/1.272, allocations: 0 / 434.9 MB, free: 36.81 MB / 362.8 MB Notification: Performance of FrontEnd: time 3.317e-06/1.272, allocations: 0.6875 kB / 434.9 MB, free: 36.81 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.001201/1.273, allocations: 0 / 434.9 MB, free: 36.81 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.0935/1.367, allocations: 18.53 MB / 453.5 MB, free: 28.04 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.367, allocations: 8.938 kB / 453.5 MB, free: 28.04 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1/1.467, allocations: 12.31 MB / 465.8 MB, free: 22.1 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03255/1.499, allocations: 10.43 MB / 476.2 MB, free: 15.89 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003103/1.502, allocations: 1.395 MB / 477.6 MB, free: 15.09 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01204/1.515, allocations: 1.837 MB / 479.4 MB, free: 13.87 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1558/1.67, allocations: 30.58 MB / 0.4981 GB, free: 7.371 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009656/1.672, allocations: 20.16 kB / 0.4981 GB, free: 7.355 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008316/1.68, allocations: 0.7578 MB / 0.4988 GB, free: 6.609 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002382/1.682, allocations: 0.9898 MB / 0.4998 GB, free: 5.621 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0937/1.776, allocations: 27.75 MB / 0.5269 GB, free: 9.852 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5629/2.339, allocations: 94.57 MB / 0.6193 GB, free: 128.2 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05371/2.393, allocations: 53.34 MB / 0.6713 GB, free: 83.17 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04522/2.438, allocations: 16.84 MB / 0.6878 GB, free: 80.1 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.418e-05/2.438, allocations: 77.22 kB / 0.6879 GB, free: 80.05 MB / 474.8 MB Notification: Performance of pre-optimization done (n=445): time 8.456e-06/2.438, allocations: 3.562 kB / 0.6879 GB, free: 80.05 MB / 474.8 MB Notification: Performance of matching and sorting (n=445): time 0.06377/2.502, allocations: 14.81 MB / 0.7023 GB, free: 75.73 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/2.502, allocations: 123.1 kB / 0.7025 GB, free: 75.63 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01705/2.519, allocations: 6.683 MB / 0.709 GB, free: 72.1 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008802/2.52, allocations: 97.67 kB / 0.7091 GB, free: 72.01 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006311/2.526, allocations: 8.303 MB / 0.7172 GB, free: 64.72 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00248/2.529, allocations: 1.616 MB / 0.7188 GB, free: 63.35 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/2.53, allocations: 226.3 kB / 0.719 GB, free: 63.18 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001145/2.532, allocations: 0.7682 MB / 0.7197 GB, free: 62.54 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01185/2.543, allocations: 4.76 MB / 0.7244 GB, free: 59.6 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01571/2.559, allocations: 10.4 MB / 0.7345 GB, free: 46.46 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01615/2.575, allocations: 7.334 MB / 0.7417 GB, free: 39.08 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001793/2.576, allocations: 59.95 kB / 0.7417 GB, free: 39.02 MB / 474.8 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.04233/2.618, allocations: 15.96 MB / 0.7573 GB, free: 22.97 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/2.618, allocations: 89.41 kB / 0.7574 GB, free: 22.88 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000311/2.619, allocations: 196 kB / 0.7576 GB, free: 22.69 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008408/2.627, allocations: 1.692 MB / 0.7593 GB, free: 21 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.016/2.643, allocations: 2.488 MB / 0.7617 GB, free: 18.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0255/2.669, allocations: 12.33 MB / 0.7737 GB, free: 6.051 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01355/2.682, allocations: 1.552 MB / 0.7752 GB, free: 4.484 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002398/2.685, allocations: 0.6015 MB / 0.7758 GB, free: 3.883 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1308): * Single equations (assignments): 1299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.3475/3.032, allocations: 7.341 MB / 0.783 GB, free: 151 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/3.034, allocations: 0.6351 MB / 0.7836 GB, free: 151 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02457/3.059, allocations: 8.373 MB / 0.7918 GB, free: 149 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01743/3.076, allocations: 6.751 MB / 0.7984 GB, free: 146.4 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-05/3.076, allocations: 18.72 kB / 0.7984 GB, free: 146.4 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001194/3.076, allocations: 26.77 kB / 0.7984 GB, free: 146.4 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06756/3.144, allocations: 21.12 MB / 0.8191 GB, free: 138.5 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-05/3.144, allocations: 7.125 kB / 0.8191 GB, free: 138.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006665/3.151, allocations: 0.7433 MB / 0.8198 GB, free: 138.4 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007945/3.159, allocations: 1.416 MB / 0.8212 GB, free: 138.1 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009713/3.16, allocations: 94.95 kB / 0.8213 GB, free: 138.1 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02584/3.186, allocations: 11.98 MB / 0.833 GB, free: 128.8 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/3.186, allocations: 0 / 0.833 GB, free: 128.8 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03043/3.216, allocations: 12.04 MB / 0.8447 GB, free: 118.4 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004877/3.221, allocations: 1.372 MB / 0.8461 GB, free: 117.1 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00277/3.224, allocations: 75.98 kB / 0.8461 GB, free: 117 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00631/3.23, allocations: 309.7 kB / 0.8464 GB, free: 116.8 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/3.232, allocations: 298.2 kB / 0.8467 GB, free: 116.7 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005155/3.232, allocations: 127.6 kB / 0.8468 GB, free: 116.5 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01178/3.244, allocations: 4.863 MB / 0.8516 GB, free: 112.6 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.22e-07/3.244, allocations: 4 kB / 0.8516 GB, free: 112.6 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01618/3.26, allocations: 4.197 MB / 0.8557 GB, free: 108.4 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (source.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (377): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,77.8%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001457/3.262, allocations: 279.4 kB / 0.8559 GB, free: 108.1 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02625/3.288, allocations: 11.23 MB / 0.8669 GB, free: 97.69 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/3.288, allocations: 0 / 0.8669 GB, free: 97.69 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01021/3.298, allocations: 4.166 MB / 0.871 GB, free: 93.51 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0112/3.31, allocations: 1.399 MB / 0.8724 GB, free: 92.11 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07952/3.389, allocations: 34.89 MB / 0.9064 GB, free: 57.16 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02345/3.413, allocations: 11.51 MB / 0.9177 GB, free: 45.61 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003618/3.416, allocations: 0.5853 MB / 0.9182 GB, free: 45.03 MB / 474.8 MB Notification: Performance of SimCode: time 2.355e-06/3.416, allocations: 4 kB / 0.9182 GB, free: 45.02 MB / 474.8 MB Notification: Performance of Templates: time 1.292/4.708, allocations: 277.9 MB / 1.19 GB, free: 119.2 MB / 490.8 MB make -j1 -f Modelica_3.2.2_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.2_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.cpp:4937:28: error: use of undeclared identifier 'tmp747' _transformerData_P_C1_ = tmp747; ^ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.cpp:4938:28: error: use of undeclared identifier 'tmp748' _transformerData_P_C2_ = tmp748; ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.o] Error 1