Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 171.1 MB / 186.3 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.747e-05, allocations: 7.984 kB / 228.1 MB, free: 7.969 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09391/0.09397, allocations: 38.77 MB / 266.9 MB, free: 1.113 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01824/0.1123, allocations: 10.19 MB / 277.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.1233, allocations: 3.746 MB / 280.8 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.1261, allocations: 87.69 kB / 280.9 MB, free: 3.035 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003569/0.1298, allocations: 0.7148 MB / 281.6 MB, free: 2.316 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.135, allocations: 0.9072 MB / 282.5 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.1369, allocations: 311.6 kB / 282.8 MB, free: 1.102 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.007029/0.144, allocations: 2.234 MB / 285.1 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004478/0.1485, allocations: 1.908 MB / 287 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.1518, allocations: 1.188 MB / 288.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004087/0.1559, allocations: 1.577 MB / 289.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.1581, allocations: 219.9 kB / 290 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001061/0.1592, allocations: 164 kB / 290.1 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00198/0.1612, allocations: 0.9813 MB / 291.1 MB, free: 8.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001686/0.1629, allocations: 372 kB / 291.5 MB, free: 8.434 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00999/0.1729, allocations: 5.933 MB / 297.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.173, allocations: 0 / 297.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.173, allocations: 0 / 297.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002809/0.1733, allocations: 0 / 297.4 MB, free: 2.484 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.2488/0.4222, allocations: 3.585 MB / 301 MB, free: 25.36 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.4222, allocations: 9.625 kB / 301 MB, free: 25.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.4255, allocations: 0.4921 MB / 301.5 MB, free: 25.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008336/0.4339, allocations: 2.293 MB / 303.8 MB, free: 24.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/0.4344, allocations: 262.1 kB / 304 MB, free: 24.01 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/0.4359, allocations: 353.7 kB / 304.4 MB, free: 23.89 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.4551, allocations: 4.95 MB / 309.3 MB, free: 21.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001807/0.4554, allocations: 10.53 kB / 309.3 MB, free: 21.92 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/0.4565, allocations: 141.8 kB / 309.5 MB, free: 21.81 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003168/0.4569, allocations: 175.6 kB / 309.7 MB, free: 21.79 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.4721, allocations: 4.274 MB / 313.9 MB, free: 19.56 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0403/0.5124, allocations: 14.87 MB / 328.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007058/0.5195, allocations: 4.192 MB / 333 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005631/0.5202, allocations: 132.2 kB / 333.1 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/0.5203, allocations: 60.45 kB / 333.2 MB, free: 1.906 MB / 250.7 MB Notification: Performance of pre-optimization done (n=198): time 5.721e-06/0.5203, allocations: 480 / 333.2 MB, free: 1.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=218): time 0.03917/0.5595, allocations: 10.32 MB / 343.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/0.5596, allocations: 73.41 kB / 343.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006076/0.5657, allocations: 2.154 MB / 345.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005571/0.5663, allocations: 61.7 kB / 345.8 MB, free: 5.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001788/0.5681, allocations: 1.495 MB / 347.3 MB, free: 3.617 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001313/0.5695, allocations: 0.7313 MB / 348 MB, free: 2.891 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.5698, allocations: 44 kB / 348.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002831/0.5701, allocations: 406.1 kB / 348.4 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/0.5744, allocations: 1.32 MB / 349.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004937/0.5794, allocations: 1.79 MB / 351.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004959/0.5844, allocations: 1.571 MB / 353.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/0.5845, allocations: 4 kB / 353.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01335/0.5978, allocations: 3.938 MB / 357.1 MB, free: 9.598 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.5979, allocations: 13.94 kB / 357.1 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/0.598, allocations: 19.94 kB / 357.1 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004887/0.6029, allocations: 0.8755 MB / 358 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004455/0.6073, allocations: 0.5266 MB / 358.5 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/0.6247, allocations: 8.955 MB / 367.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/0.628, allocations: 123.9 kB / 367.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005712/0.6286, allocations: 84 kB / 367.7 MB, free: 14.62 MB / 298.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 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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.003729/0.6324, allocations: 1.219 MB / 368.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/0.6335, allocations: 284.6 kB / 369.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.646, allocations: 3.755 MB / 372.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.22e-05/0.6461, allocations: 20 kB / 372.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.611e-05/0.6461, allocations: 11.95 kB / 372.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.715e-05/0.6462, allocations: 7.969 kB / 373 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02628/0.6725, allocations: 8.077 MB / 381 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-05/0.6725, allocations: 0 / 381 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003526/0.6761, allocations: 391.8 kB / 381.4 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005347/0.6815, allocations: 0.9243 MB / 382.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004533/0.682, allocations: 55.98 kB / 382.4 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01958/0.7016, allocations: 10.42 MB / 392.8 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.7016, allocations: 8.016 kB / 392.8 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/0.7182, allocations: 5.799 MB / 398.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/0.7208, allocations: 0.6382 MB / 399.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/0.722, allocations: 55.98 kB / 399.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/0.7251, allocations: 128 kB / 399.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007757/0.7259, allocations: 177.7 kB / 399.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002621/0.7262, allocations: 63.98 kB / 399.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004511/0.7307, allocations: 1.66 MB / 401.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.7308, allocations: 0 / 401.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004415/0.7352, allocations: 0.7994 MB / 402.1 MB, free: 11.32 MB / 330.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 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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.0009508/0.7362, allocations: 194.6 kB / 402.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01159/0.7478, allocations: 3.934 MB / 406.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.7479, allocations: 0 / 406.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007591/0.7555, allocations: 2.504 MB / 408.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006157/0.7617, allocations: 0.7269 MB / 409.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02453/0.7863, allocations: 9.071 MB / 418.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005223/0.7916, allocations: 2.776 MB / 421.3 MB, free: 7.887 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/0.7932, allocations: 187.4 kB / 421.5 MB, free: 7.707 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7932, allocations: 0 / 421.5 MB, free: 7.707 MB / 346.7 MB Notification: Performance of Templates: time 0.4521/1.245, allocations: 133.3 MB / 0.5418 GB, free: 11.16 MB / 362.7 MB make -j1 -f Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.cpp In file included from OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.cpp:36: ./OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.cpp:3187:28: error: use of undeclared identifier 'tmp353' _transformerData_P_C1_ = tmp353; ^ ./OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.cpp:3188:28: error: use of undeclared identifier 'tmp354' _transformerData_P_C2_ = tmp354; ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o] Error 1