Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.668e-05, allocations: 3.984 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 50.42 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01696/0.1304, allocations: 10.09 MB / 355.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009807/0.1403, allocations: 3.718 MB / 358.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.1428, allocations: 99.62 kB / 358.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.1458, allocations: 0.7109 MB / 359.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004535/0.1504, allocations: 0.8994 MB / 360.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.1523, allocations: 315.5 kB / 360.8 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005976/0.1583, allocations: 2.191 MB / 363 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004121/0.1624, allocations: 1.983 MB / 365 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002934/0.1654, allocations: 1.165 MB / 366.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004138/0.1696, allocations: 1.581 MB / 367.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.1715, allocations: 215.9 kB / 367.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008275/0.1724, allocations: 156 kB / 368.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.1741, allocations: 0.9812 MB / 369.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.1757, allocations: 372 kB / 369.4 MB, free: 400 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.1858, allocations: 5.952 MB / 375.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1859, allocations: 0 / 375.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1859, allocations: 0 / 375.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002469/0.1862, allocations: 3.938 kB / 375.4 MB, free: 10.42 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.01291/0.1991, allocations: 3.612 MB / 379 MB, free: 6.746 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.1992, allocations: 8.031 kB / 379 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.2023, allocations: 0.4946 MB / 379.5 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007716/0.21, allocations: 2.439 MB / 381.9 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003967/0.2105, allocations: 263 kB / 382.2 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/0.212, allocations: 355.9 kB / 382.5 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.2292, allocations: 4.982 MB / 387.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.2294, allocations: 4 kB / 387.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007429/0.2302, allocations: 151.9 kB / 387.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003111/0.2305, allocations: 179.1 kB / 387.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.2454, allocations: 4.287 MB / 392.1 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3334/0.5788, allocations: 14.94 MB / 407.1 MB, free: 39.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007783/0.5866, allocations: 4.19 MB / 411.3 MB, free: 37.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005285/0.5872, allocations: 135.4 kB / 411.4 MB, free: 37.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.5873, allocations: 57.5 kB / 411.5 MB, free: 37.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=198): time 4.869e-06/0.5873, allocations: 0 / 411.5 MB, free: 37.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=218): time 0.03697/0.6243, allocations: 10.33 MB / 421.8 MB, free: 32.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.6244, allocations: 81.47 kB / 421.9 MB, free: 32.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005025/0.6294, allocations: 2.177 MB / 424 MB, free: 31.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004731/0.6299, allocations: 65.36 kB / 424.1 MB, free: 31.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.6311, allocations: 1.494 MB / 425.6 MB, free: 30.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.6322, allocations: 0.738 MB / 426.3 MB, free: 29.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.6324, allocations: 43.84 kB / 426.4 MB, free: 29.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6326, allocations: 406.2 kB / 426.8 MB, free: 29.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.636, allocations: 1.315 MB / 428.1 MB, free: 28.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003761/0.6398, allocations: 1.792 MB / 429.9 MB, free: 27.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003963/0.6438, allocations: 1.577 MB / 431.5 MB, free: 26.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/0.6439, allocations: 3.812 kB / 431.5 MB, free: 26.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01084/0.6547, allocations: 3.934 MB / 435.4 MB, free: 23.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.6548, allocations: 8 kB / 435.4 MB, free: 23.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/0.6548, allocations: 16 kB / 435.4 MB, free: 23.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004337/0.6592, allocations: 0.8811 MB / 436.3 MB, free: 23.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00408/0.6633, allocations: 0.5265 MB / 436.8 MB, free: 22.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.6774, allocations: 8.951 MB / 445.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/0.6807, allocations: 119.9 kB / 445.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003607/0.6811, allocations: 88.86 kB / 446 MB, free: 13 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.003082/0.6842, allocations: 1.214 MB / 447.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009801/0.6852, allocations: 272.7 kB / 447.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009984/0.6952, allocations: 3.758 MB / 451.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.6953, allocations: 29.62 kB / 451.3 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.6953, allocations: 4 kB / 451.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.298e-05/0.6954, allocations: 11.95 kB / 451.3 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02211/0.7175, allocations: 8.091 MB / 459.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/0.7176, allocations: 4 kB / 459.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/0.7211, allocations: 391.8 kB / 459.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00528/0.7264, allocations: 0.9058 MB / 460.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004552/0.7269, allocations: 55.97 kB / 460.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/0.7459, allocations: 10.43 MB / 471.1 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.746, allocations: 7.938 kB / 471.1 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/0.7621, allocations: 5.793 MB / 476.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002561/0.7647, allocations: 0.6304 MB / 477.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/0.7658, allocations: 52.08 kB / 477.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002763/0.7686, allocations: 131.8 kB / 477.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006552/0.7693, allocations: 181.7 kB / 477.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/0.7695, allocations: 59.98 kB / 478 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004319/0.7739, allocations: 1.677 MB / 479.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.7739, allocations: 0 / 479.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004414/0.7783, allocations: 0.7957 MB / 480.5 MB, free: 9.734 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.0009649/0.7794, allocations: 213.9 kB / 480.7 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01113/0.7905, allocations: 3.922 MB / 484.6 MB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.7906, allocations: 4 kB / 484.6 MB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007244/0.7978, allocations: 2.493 MB / 487.1 MB, free: 2.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005938/0.8038, allocations: 0.7247 MB / 487.8 MB, free: 2.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/0.8269, allocations: 9.112 MB / 496.9 MB, free: 9.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004681/0.8316, allocations: 2.793 MB / 499.7 MB, free: 6.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/0.8332, allocations: 183.4 kB / 499.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of SimCode: time 1.774e-06/0.8332, allocations: 0 / 499.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of Templates: time 0.5273/1.361, allocations: 134.1 MB / 0.6191 GB, free: 97.59 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.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.InductionMachines.IMC_TransformerCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_TransformerCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_TransformerCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.cpp:3188:28: error: use of undeclared identifier 'tmp354' _transformerData_P_C1_ = tmp354; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.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.InductionMachines.IMC_TransformerCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_TransformerCalcHelperMain.o] Error 1