Running command: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 224.7 MB / 241.1 MB, free: 1.652 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.947e-05, allocations: 7.984 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 50.4 MB / 345 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03801/0.15, allocations: 22.13 MB / 367.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.169, allocations: 6.172 MB / 373.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005968/0.1751, allocations: 267.3 kB / 373.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006798/0.1819, allocations: 1.449 MB / 375 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.1932, allocations: 2.037 MB / 377 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007522/0.2008, allocations: 1.321 MB / 378.3 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.03631/0.2371, allocations: 15 MB / 393.3 MB, free: 8.414 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.6742/0.9113, allocations: 30.35 MB / 423.7 MB, free: 7.223 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01021/0.9216, allocations: 4.658 MB / 428.4 MB, free: 7.223 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01275/0.9344, allocations: 5.807 MB / 434.2 MB, free: 5.641 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00631/0.9408, allocations: 0.6766 MB / 434.8 MB, free: 5.07 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003945/0.9448, allocations: 492 kB / 435.3 MB, free: 4.59 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004939/0.9498, allocations: 2.383 MB / 437.7 MB, free: 3.859 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005754/0.9556, allocations: 1.215 MB / 438.9 MB, free: 2.645 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0483/1.004, allocations: 33.22 MB / 472.1 MB, free: 6.387 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.004, allocations: 0 / 472.1 MB, free: 6.387 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.655e-06/1.004, allocations: 0 / 472.1 MB, free: 6.387 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.001048/1.005, allocations: 0 / 472.1 MB, free: 6.387 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: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.07807/1.083, allocations: 17.8 MB / 489.9 MB, free: 6.527 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/1.083, allocations: 12.03 kB / 490 MB, free: 6.516 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06872/1.152, allocations: 8.335 MB / 498.3 MB, free: 14.38 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03487/1.187, allocations: 11.17 MB / 0.4975 GB, free: 3.641 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002121/1.189, allocations: 1.333 MB / 0.4988 GB, free: 2.316 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008445/1.198, allocations: 1.755 MB / 0.5005 GB, free: 0.5703 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1014/1.299, allocations: 28.47 MB / 0.5283 GB, free: 4.055 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009845/1.3, allocations: 20.67 kB / 0.5284 GB, free: 4.035 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006851/1.307, allocations: 0.7225 MB / 0.5291 GB, free: 3.324 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001388/1.308, allocations: 0.8648 MB / 0.5299 GB, free: 2.457 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0833/1.392, allocations: 24.68 MB / 0.554 GB, free: 9.762 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8358/2.227, allocations: 88.21 MB / 0.6401 GB, free: 68.84 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03853/2.266, allocations: 35.15 MB / 0.6745 GB, free: 34.07 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/2.267, allocations: 208.7 kB / 0.6747 GB, free: 33.87 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/2.267, allocations: 99.08 kB / 0.6748 GB, free: 33.76 MB / 458.9 MB Notification: Performance of pre-optimization done (n=589): time 9.649e-06/2.267, allocations: 0 / 0.6748 GB, free: 33.76 MB / 458.9 MB Notification: Performance of matching and sorting (n=589): time 0.07147/2.339, allocations: 16.79 MB / 0.6912 GB, free: 16.68 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/2.339, allocations: 137.7 kB / 0.6913 GB, free: 16.52 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01526/2.354, allocations: 5.728 MB / 0.6969 GB, free: 10.85 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 0.001195/2.355, allocations: 121.7 kB / 0.697 GB, free: 10.72 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.005467/2.361, allocations: 7.393 MB / 0.7042 GB, free: 3.293 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.002915/2.364, allocations: 2.045 MB / 0.7062 GB, free: 1.262 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/2.365, allocations: 215.9 kB / 0.7064 GB, free: 1.051 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 0.0009312/2.366, allocations: 0.7487 MB / 0.7072 GB, free: 300 kB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01425/2.381, allocations: 4.779 MB / 0.7118 GB, free: 11.51 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02411/2.405, allocations: 9.477 MB / 0.7211 GB, free: 15.79 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01934/2.424, allocations: 7.171 MB / 0.7281 GB, free: 8.578 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001686/2.424, allocations: 44 kB / 0.7281 GB, free: 8.535 MB / 490.9 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.04707/2.471, allocations: 15.33 MB / 0.7431 GB, free: 9.125 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/2.472, allocations: 72 kB / 0.7432 GB, free: 9.055 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003154/2.472, allocations: 160.6 kB / 0.7433 GB, free: 8.898 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009135/2.481, allocations: 1.645 MB / 0.7449 GB, free: 7.25 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0167/2.498, allocations: 2.336 MB / 0.7472 GB, free: 4.91 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4223/2.92, allocations: 12.36 MB / 0.7593 GB, free: 148.9 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01836/2.939, allocations: 1.354 MB / 0.7606 GB, free: 148.6 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003175/2.942, allocations: 0.5285 MB / 0.7611 GB, free: 148.6 MB / 0.495 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1237): * Single equations (assignments): 1228 * 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,72.2%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01886/2.961, allocations: 7.099 MB / 0.768 GB, free: 147.5 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001967/2.963, allocations: 0.618 MB / 0.7686 GB, free: 147.2 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03037/2.993, allocations: 10.36 MB / 0.7788 GB, free: 143.1 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02206/3.015, allocations: 7.989 MB / 0.7866 GB, free: 139.9 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.542e-05/3.015, allocations: 14.75 kB / 0.7866 GB, free: 139.9 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001462/3.016, allocations: 27.89 kB / 0.7866 GB, free: 139.9 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07124/3.087, allocations: 25.96 MB / 0.812 GB, free: 126.8 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.737e-05/3.087, allocations: 4 kB / 0.812 GB, free: 126.8 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008282/3.095, allocations: 0.9829 MB / 0.8129 GB, free: 126 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007788/3.103, allocations: 1.426 MB / 0.8143 GB, free: 124.9 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00117/3.104, allocations: 127.5 kB / 0.8144 GB, free: 124.8 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0246/3.129, allocations: 11.99 MB / 0.8261 GB, free: 114.2 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/3.129, allocations: 11.56 kB / 0.8262 GB, free: 114.2 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03413/3.163, allocations: 15.28 MB / 0.8411 GB, free: 98.9 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004776/3.168, allocations: 1.448 MB / 0.8425 GB, free: 97.43 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002442/3.17, allocations: 115.9 kB / 0.8426 GB, free: 97.31 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00628/3.177, allocations: 327.7 kB / 0.8429 GB, free: 96.99 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001541/3.178, allocations: 392.9 kB / 0.8433 GB, free: 96.61 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006918/3.179, allocations: 164 kB / 0.8434 GB, free: 96.45 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.01103/3.19, allocations: 4.262 MB / 0.8476 GB, free: 92.21 MB / 0.495 GB Notification: Performance of sort global known variables: time 5.91e-07/3.19, allocations: 0 / 0.8476 GB, free: 92.21 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.01537/3.206, allocations: 4.061 MB / 0.8516 GB, free: 88.14 MB / 0.495 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (518): * Single equations (assignments): 509 * 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,80.6%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001691/3.207, allocations: 329.9 kB / 0.8519 GB, free: 87.83 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.02739/3.235, allocations: 11.58 MB / 0.8632 GB, free: 76.2 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/3.235, allocations: 4 kB / 0.8632 GB, free: 76.2 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.01179/3.247, allocations: 4.838 MB / 0.8679 GB, free: 71.33 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01148/3.258, allocations: 1.397 MB / 0.8693 GB, free: 69.94 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08352/3.342, allocations: 34.56 MB / 0.903 GB, free: 35.21 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02523/3.367, allocations: 11.16 MB / 0.9139 GB, free: 24.01 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005073/3.372, allocations: 0.5736 MB / 0.9145 GB, free: 23.44 MB / 0.495 GB Notification: Performance of SimCode: time 1.733e-06/3.372, allocations: 0 / 0.9145 GB, free: 23.44 MB / 0.495 GB Notification: Performance of Templates: time 1.264/4.636, allocations: 269.8 MB / 1.178 GB, free: 146.1 MB / 0.5263 GB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.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/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbenchCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.cpp:6180:28: error: use of undeclared identifier 'tmp687' _transformerData_P_C1_ = tmp687; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.cpp:6181:28: error: use of undeclared identifier 'tmp688' _transformerData_P_C2_ = tmp688; ^ 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbenchCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbenchCalcHelperMain.o] Error 1