Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.149/2.149, allocations: 194.9 MB / 211.2 MB, free: 8.059 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.169e-05, allocations: 4 kB / 258.8 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3734, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01806/0.3915, allocations: 10.25 MB / 313.6 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.402, allocations: 3.77 MB / 317.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.4045, allocations: 83.69 kB / 317.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.4076, allocations: 0.7224 MB / 318.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.4125, allocations: 0.8955 MB / 319 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.4144, allocations: 327.5 kB / 319.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006088/0.4206, allocations: 2.23 MB / 321.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003991/0.4246, allocations: 1.908 MB / 323.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002759/0.4274, allocations: 1.165 MB / 324.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003883/0.4314, allocations: 1.608 MB / 326.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.4332, allocations: 219.9 kB / 326.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008998/0.4342, allocations: 160 kB / 326.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00169/0.4359, allocations: 0.9852 MB / 327.6 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.4376, allocations: 372 kB / 328 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009403/0.447, allocations: 5.964 MB / 333.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4471, allocations: 0 / 333.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.4471, allocations: 0 / 333.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002323/0.4473, allocations: 4 kB / 333.9 MB, free: 14.91 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01229/0.4596, allocations: 3.598 MB / 337.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.4597, allocations: 12.02 kB / 337.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/0.4626, allocations: 0.5024 MB / 338.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00716/0.4698, allocations: 2.307 MB / 340.4 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/0.4702, allocations: 267 kB / 340.6 MB, free: 8.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/0.4716, allocations: 355.9 kB / 341 MB, free: 7.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.4879, allocations: 4.978 MB / 345.9 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001406/0.4881, allocations: 7.984 kB / 346 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007466/0.4888, allocations: 148 kB / 346.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003124/0.4891, allocations: 179.1 kB / 346.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01471/0.5039, allocations: 4.291 MB / 350.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/0.5467, allocations: 14.96 MB / 365.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008064/0.5548, allocations: 4.196 MB / 369.7 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005602/0.5555, allocations: 131.1 kB / 369.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/0.5555, allocations: 56.55 kB / 369.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 4.789e-06/0.5555, allocations: 0 / 369.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.04302/0.5986, allocations: 10.32 MB / 380.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.5987, allocations: 77.36 kB / 380.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005803/0.6045, allocations: 2.181 MB / 382.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004929/0.6051, allocations: 61.7 kB / 382.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.6068, allocations: 1.506 MB / 384 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00127/0.6081, allocations: 0.7239 MB / 384.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.6083, allocations: 44 kB / 384.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002685/0.6086, allocations: 407.5 kB / 385.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003782/0.6124, allocations: 1.316 MB / 386.5 MB, free: 9.266 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004489/0.6169, allocations: 1.786 MB / 388.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004615/0.6216, allocations: 1.575 MB / 389.9 MB, free: 5.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-05/0.6217, allocations: 4 kB / 389.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01609/0.6378, allocations: 3.944 MB / 393.8 MB, free: 1.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.6379, allocations: 12 kB / 393.8 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.226e-05/0.638, allocations: 12 kB / 393.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006893/0.6449, allocations: 0.8792 MB / 394.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005727/0.6507, allocations: 0.5266 MB / 395.3 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/0.6698, allocations: 8.942 MB / 404.2 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003435/0.6733, allocations: 127.8 kB / 404.3 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006381/0.674, allocations: 84 kB / 404.4 MB, free: 6.746 MB / 346.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.003858/0.6779, allocations: 1.216 MB / 405.6 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/0.679, allocations: 272.7 kB / 405.9 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.6916, allocations: 3.762 MB / 409.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/0.6917, allocations: 20 kB / 409.7 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/0.6917, allocations: 8 kB / 409.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.417e-05/0.6918, allocations: 11.95 kB / 409.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02595/0.7178, allocations: 8.087 MB / 417.8 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/0.7178, allocations: 4 kB / 417.8 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003432/0.7213, allocations: 391.8 kB / 418.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005305/0.7266, allocations: 0.9212 MB / 419.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004077/0.7271, allocations: 51.98 kB / 419.1 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3055/1.033, allocations: 10.43 MB / 429.6 MB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.033, allocations: 3.188 kB / 429.6 MB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/1.048, allocations: 5.799 MB / 435.4 MB, free: 100 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002394/1.05, allocations: 0.6391 MB / 436 MB, free: 99.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/1.052, allocations: 51.14 kB / 436.1 MB, free: 99.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003174/1.055, allocations: 131.1 kB / 436.2 MB, free: 99.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008272/1.056, allocations: 174.4 kB / 436.4 MB, free: 99.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002545/1.056, allocations: 64.14 kB / 436.4 MB, free: 99.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004047/1.06, allocations: 1.68 MB / 438.1 MB, free: 99.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.06, allocations: 0 / 438.1 MB, free: 99.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003977/1.064, allocations: 0.7996 MB / 438.9 MB, free: 98.96 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%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009359/1.065, allocations: 196 kB / 439.1 MB, free: 98.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01009/1.075, allocations: 3.932 MB / 443 MB, free: 97.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.075, allocations: 0 / 443 MB, free: 97.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006383/1.082, allocations: 2.507 MB / 445.5 MB, free: 94.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005535/1.087, allocations: 0.7257 MB / 446.3 MB, free: 94.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/1.108, allocations: 9.093 MB / 455.3 MB, free: 85.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004112/1.112, allocations: 2.786 MB / 458.1 MB, free: 82.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/1.114, allocations: 187.4 kB / 458.3 MB, free: 82.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/1.114, allocations: 0 / 458.3 MB, free: 82.36 MB / 362.7 MB Notification: Performance of Templates: time 0.533/1.647, allocations: 134.1 MB / 0.5786 GB, free: 141.2 MB / 410.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.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.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.cpp:3189:28: error: use of undeclared identifier 'tmp354' _transformerData_P_C1_ = tmp354; ^ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.cpp:3190:28: error: use of undeclared identifier 'tmp355' _transformerData_P_C2_ = tmp355; ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o] Error 1