Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.151/2.151, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.7e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 50.42 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0173/0.125, allocations: 10.11 MB / 355.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1352, allocations: 3.726 MB / 358.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.1375, allocations: 95.62 kB / 358.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.1406, allocations: 0.7109 MB / 359.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.1451, allocations: 0.8994 MB / 360.5 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.147, allocations: 315.5 kB / 360.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005901/0.1529, allocations: 2.191 MB / 363 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004252/0.1572, allocations: 1.983 MB / 365 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.16, allocations: 1.169 MB / 366.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.1638, allocations: 1.581 MB / 367.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.1656, allocations: 215.9 kB / 368 MB, free: 1.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009483/0.1665, allocations: 152 kB / 368.1 MB, free: 1.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.1685, allocations: 0.9774 MB / 369.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.1703, allocations: 372 kB / 369.5 MB, free: 384 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009741/0.1801, allocations: 5.956 MB / 375.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1801, allocations: 0 / 375.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1801, allocations: 0 / 375.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002433/0.1804, allocations: 0 / 375.4 MB, free: 10.4 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01246/0.1929, allocations: 3.608 MB / 379 MB, free: 6.734 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.1929, allocations: 12.03 kB / 379 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.1958, allocations: 0.4946 MB / 379.5 MB, free: 6.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007608/0.2034, allocations: 2.431 MB / 382 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/0.2039, allocations: 267 kB / 382.2 MB, free: 3.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/0.2053, allocations: 355.9 kB / 382.6 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/0.222, allocations: 4.982 MB / 387.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/0.2222, allocations: 3.984 kB / 387.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008339/0.223, allocations: 151.9 kB / 387.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002991/0.2233, allocations: 179.1 kB / 387.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.2377, allocations: 4.298 MB / 392.2 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3263/0.5641, allocations: 14.94 MB / 407.1 MB, free: 39.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007676/0.5718, allocations: 4.188 MB / 411.3 MB, free: 37.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005433/0.5724, allocations: 133.7 kB / 411.4 MB, free: 37.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.5725, allocations: 57.31 kB / 411.5 MB, free: 37.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=198): time 5.149e-06/0.5725, allocations: 0 / 411.5 MB, free: 37.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=218): time 0.03576/0.6082, allocations: 10.33 MB / 421.8 MB, free: 32.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.6083, allocations: 81.05 kB / 421.9 MB, free: 32.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005244/0.6136, allocations: 2.183 MB / 424.1 MB, free: 31.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005035/0.6142, allocations: 66.95 kB / 424.1 MB, free: 31.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.6155, allocations: 1.492 MB / 425.6 MB, free: 30.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.6166, allocations: 0.7262 MB / 426.4 MB, free: 29.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.6169, allocations: 49.28 kB / 426.4 MB, free: 29.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.6171, allocations: 403.9 kB / 426.8 MB, free: 29.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/0.6205, allocations: 1.318 MB / 428.1 MB, free: 28.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003877/0.6245, allocations: 1.787 MB / 429.9 MB, free: 27.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003975/0.6285, allocations: 1.579 MB / 431.5 MB, free: 26.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/0.6286, allocations: 7.031 kB / 431.5 MB, free: 26.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01081/0.6394, allocations: 3.929 MB / 435.4 MB, free: 23.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.6395, allocations: 8.469 kB / 435.4 MB, free: 23.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.073e-05/0.6395, allocations: 20 kB / 435.4 MB, free: 23.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004401/0.6439, allocations: 0.8811 MB / 436.3 MB, free: 22.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004092/0.6481, allocations: 0.5292 MB / 436.9 MB, free: 22.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.6621, allocations: 8.944 MB / 445.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/0.6655, allocations: 115.9 kB / 445.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000479/0.666, allocations: 87.98 kB / 446 MB, free: 12.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003183/0.6692, allocations: 1.214 MB / 447.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009368/0.6702, allocations: 272.7 kB / 447.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009981/0.6801, allocations: 3.755 MB / 451.2 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/0.6802, allocations: 27.19 kB / 451.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/0.6803, allocations: 4 kB / 451.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.136e-05/0.6803, allocations: 19.95 kB / 451.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02217/0.7025, allocations: 8.089 MB / 459.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.7026, allocations: 6.062 kB / 459.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003437/0.706, allocations: 387.8 kB / 459.8 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005397/0.7115, allocations: 0.9136 MB / 460.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004581/0.712, allocations: 55.97 kB / 460.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/0.7309, allocations: 10.43 MB / 471.2 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.731, allocations: 7.938 kB / 471.2 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/0.7473, allocations: 5.793 MB / 477 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002512/0.7498, allocations: 0.6305 MB / 477.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/0.751, allocations: 55.92 kB / 477.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/0.7541, allocations: 127.9 kB / 477.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008156/0.7549, allocations: 177.7 kB / 477.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/0.7552, allocations: 55.98 kB / 478 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004554/0.7598, allocations: 1.684 MB / 479.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7598, allocations: 4 kB / 479.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004529/0.7644, allocations: 0.7955 MB / 480.5 MB, free: 9.664 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 26,(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009767/0.7654, allocations: 218.7 kB / 480.7 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0112/0.7766, allocations: 3.918 MB / 484.6 MB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/0.7767, allocations: 8.188 kB / 484.6 MB, free: 5.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007397/0.7841, allocations: 2.497 MB / 487.1 MB, free: 2.879 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005938/0.7901, allocations: 0.721 MB / 487.8 MB, free: 2.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/0.8135, allocations: 9.094 MB / 496.9 MB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005169/0.8187, allocations: 2.796 MB / 499.7 MB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/0.8203, allocations: 190.4 kB / 499.9 MB, free: 6.012 MB / 378.7 MB Notification: Performance of SimCode: time 1.362e-06/0.8203, allocations: 0 / 499.9 MB, free: 6.012 MB / 378.7 MB Notification: Performance of Templates: time 0.521/1.341, allocations: 134.1 MB / 0.6191 GB, free: 97.54 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.Machines.Examples.Transformers.IMC_TransformerCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_TransformerCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_TransformerCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.cpp:3188:28: error: use of undeclared identifier 'tmp354' _transformerData_P_C1_ = tmp354; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.cpp:3189:28: error: use of undeclared identifier 'tmp355' _transformerData_P_C2_ = tmp355; ^ 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_TransformerCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_TransformerCalcHelperMain.o] Error 1