Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.13/2.13, allocations: 194.9 MB / 211.2 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.217e-05, allocations: 3.906 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3551, allocations: 44.51 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.02359/0.3788, allocations: 13.3 MB / 316.6 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.3928, allocations: 4.945 MB / 321.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003305/0.3961, allocations: 123.6 kB / 321.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004148/0.4003, allocations: 0.9362 MB / 322.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006953/0.4073, allocations: 1.386 MB / 324 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.411, allocations: 0.6809 MB / 324.7 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009343/0.4204, allocations: 3.229 MB / 327.9 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006384/0.4268, allocations: 2.606 MB / 330.5 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004071/0.4309, allocations: 1.578 MB / 332.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005158/0.4361, allocations: 2.032 MB / 334.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.4393, allocations: 415.6 kB / 334.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.4409, allocations: 204 kB / 334.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002294/0.4433, allocations: 1.094 MB / 335.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002385/0.4457, allocations: 476 kB / 336.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.46, allocations: 8.535 MB / 344.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4601, allocations: 0 / 344.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.713e-06/0.4601, allocations: 0 / 344.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003307/0.4604, allocations: 7.938 kB / 344.8 MB, free: 4.039 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02008/0.4805, allocations: 5.072 MB / 349.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4806, allocations: 8.031 kB / 349.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008717/0.4893, allocations: 1.055 MB / 351 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.4999, allocations: 3.26 MB / 354.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006004/0.5005, allocations: 365.7 kB / 354.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001937/0.5025, allocations: 483.8 kB / 355 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02364/0.5261, allocations: 6.81 MB / 361.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002436/0.5264, allocations: 4 kB / 361.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001558/0.528, allocations: 196 kB / 362.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000383/0.5284, allocations: 241.8 kB / 362.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/0.5489, allocations: 5.918 MB / 368.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0644/0.6133, allocations: 21 MB / 389.2 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/0.6303, allocations: 9.924 MB / 399.1 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01723/0.6476, allocations: 5.416 MB / 404.5 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.065e-05/0.6477, allocations: 60.56 kB / 404.6 MB, free: 6.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=225): time 5.952e-06/0.6477, allocations: 0 / 404.6 MB, free: 6.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=232): time 0.03389/0.6816, allocations: 9.872 MB / 414.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.6817, allocations: 77.41 kB / 414.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007375/0.6891, allocations: 2.603 MB / 417.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000543/0.6897, allocations: 69.7 kB / 417.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002258/0.692, allocations: 2.003 MB / 419.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001314/0.6934, allocations: 0.7779 MB / 420 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/0.6937, allocations: 56 kB / 420.1 MB, free: 6.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003259/0.694, allocations: 412 kB / 420.5 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004159/0.6982, allocations: 1.325 MB / 421.8 MB, free: 4.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005061/0.7033, allocations: 1.917 MB / 423.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005022/0.7084, allocations: 1.618 MB / 425.3 MB, free: 1.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.004e-05/0.7085, allocations: 15.88 kB / 425.3 MB, free: 1.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.2927/1.001, allocations: 4.087 MB / 429.4 MB, free: 100.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/1.001, allocations: 15.86 kB / 429.4 MB, free: 100.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/1.001, allocations: 19.09 kB / 429.5 MB, free: 100.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004239/1.006, allocations: 0.7651 MB / 430.2 MB, free: 100 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004609/1.01, allocations: 0.5805 MB / 430.8 MB, free: 99.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/1.025, allocations: 10.2 MB / 441 MB, free: 92.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/1.029, allocations: 110.3 kB / 441.1 MB, free: 92.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00065/1.03, allocations: 107.3 kB / 441.2 MB, free: 92.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (282): * Single equations (assignments): 277 * 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 {(1,100.0%) 8,(1,100.0%) 1,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004378/1.034, allocations: 1.604 MB / 442.8 MB, free: 91.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009979/1.035, allocations: 318.1 kB / 443.1 MB, free: 91.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.047, allocations: 3.981 MB / 447.1 MB, free: 89.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/1.047, allocations: 23.78 kB / 447.1 MB, free: 89.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.665e-05/1.047, allocations: 11.75 kB / 447.1 MB, free: 89.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.876e-05/1.047, allocations: 10.73 kB / 447.2 MB, free: 89.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02278/1.07, allocations: 8.677 MB / 455.8 MB, free: 82.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/1.07, allocations: 7.984 kB / 455.8 MB, free: 82.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003206/1.073, allocations: 360.3 kB / 456.2 MB, free: 82.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004978/1.078, allocations: 0.9283 MB / 457.1 MB, free: 81.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004854/1.078, allocations: 63.97 kB / 457.2 MB, free: 81.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/1.099, allocations: 14.59 MB / 471.8 MB, free: 65.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.099, allocations: 4.047 kB / 471.8 MB, free: 65.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/1.113, allocations: 5.984 MB / 477.8 MB, free: 59.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/1.116, allocations: 0.6885 MB / 478.5 MB, free: 59.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/1.117, allocations: 55.98 kB / 478.5 MB, free: 59.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003141/1.12, allocations: 127.9 kB / 478.6 MB, free: 58.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007849/1.121, allocations: 197.7 kB / 478.8 MB, free: 58.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/1.121, allocations: 67.98 kB / 478.9 MB, free: 58.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004754/1.126, allocations: 1.999 MB / 480.9 MB, free: 56.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.126, allocations: 0 / 480.9 MB, free: 56.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004631/1.131, allocations: 0.9435 MB / 481.8 MB, free: 55.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (162): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009488/1.132, allocations: 225.4 kB / 482.1 MB, free: 55.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009768/1.141, allocations: 3.957 MB / 486 MB, free: 51.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.142, allocations: 5 kB / 486 MB, free: 51.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006777/1.148, allocations: 2.685 MB / 488.7 MB, free: 48.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006098/1.154, allocations: 0.8472 MB / 489.6 MB, free: 47.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02488/1.179, allocations: 11.2 MB / 0.489 GB, free: 36.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005319/1.185, allocations: 3.422 MB / 0.4924 GB, free: 33.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/1.186, allocations: 215.4 kB / 0.4926 GB, free: 32.97 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/1.186, allocations: 7.938 kB / 0.4926 GB, free: 32.96 MB / 362.7 MB Notification: Performance of Templates: time 0.5901/1.776, allocations: 191.7 MB / 0.6797 GB, free: 38.64 MB / 410.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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"." -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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_TransformerCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_TransformerCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_TransformerCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.cpp:3170:28: error: use of undeclared identifier 'tmp423' _transformerData_P_C1_ = tmp423; ^ ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.cpp:3171:28: error: use of undeclared identifier 'tmp424' _transformerData_P_C2_ = tmp424; ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_TransformerCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_TransformerCalcHelperMain.o] Error 1