Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.104/2.104, allocations: 194.9 MB / 211.2 MB, free: 8.836 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.272e-05, allocations: 7.938 kB / 258.8 MB, free: 9.184 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3333, allocations: 44.51 MB / 303.3 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01776/0.3511, allocations: 10.23 MB / 313.5 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.362, allocations: 3.766 MB / 317.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.3646, allocations: 87.69 kB / 317.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.3679, allocations: 0.7264 MB / 318.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.3729, allocations: 0.8955 MB / 319 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.3749, allocations: 327.6 kB / 319.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006318/0.3813, allocations: 2.226 MB / 321.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004358/0.3857, allocations: 1.908 MB / 323.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.3886, allocations: 1.177 MB / 324.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003858/0.3925, allocations: 1.593 MB / 326.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.3944, allocations: 223.9 kB / 326.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.3955, allocations: 159.9 kB / 326.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002034/0.3975, allocations: 0.9891 MB / 327.6 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.3994, allocations: 376 kB / 328 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.4096, allocations: 5.956 MB / 333.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4096, allocations: 0 / 333.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.4097, allocations: 0 / 333.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002748/0.4099, allocations: 0 / 333.9 MB, free: 15.04 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.01314/0.4231, allocations: 3.604 MB / 337.5 MB, free: 11.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.4232, allocations: 8.031 kB / 337.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003011/0.4262, allocations: 0.5024 MB / 338 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008515/0.4348, allocations: 2.307 MB / 340.3 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004367/0.4353, allocations: 267 kB / 340.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.4367, allocations: 351.9 kB / 340.9 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.4536, allocations: 4.986 MB / 345.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.4538, allocations: 4 kB / 345.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006996/0.4545, allocations: 140 kB / 346.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002974/0.4548, allocations: 183 kB / 346.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.4694, allocations: 4.291 MB / 350.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04145/0.5109, allocations: 14.95 MB / 365.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008299/0.5193, allocations: 4.196 MB / 369.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/0.5199, allocations: 135 kB / 369.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.138e-05/0.52, allocations: 56.56 kB / 369.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 5.18e-06/0.52, allocations: 0 / 369.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.03788/0.5579, allocations: 10.32 MB / 380.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.558, allocations: 73.41 kB / 380.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005893/0.5639, allocations: 2.178 MB / 382.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005271/0.5645, allocations: 65.7 kB / 382.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.5662, allocations: 1.502 MB / 384 MB, free: 11.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001361/0.5676, allocations: 0.7239 MB / 384.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.5679, allocations: 48 kB / 384.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000289/0.5682, allocations: 399.5 kB / 385.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004084/0.5723, allocations: 1.328 MB / 386.5 MB, free: 9.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004741/0.5771, allocations: 1.782 MB / 388.3 MB, free: 7.414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004765/0.5819, allocations: 1.579 MB / 389.9 MB, free: 5.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/0.582, allocations: 4 kB / 389.9 MB, free: 5.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.013/0.595, allocations: 3.944 MB / 393.8 MB, free: 1.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.5951, allocations: 8 kB / 393.8 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/0.5951, allocations: 16 kB / 393.8 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005358/0.6005, allocations: 0.8753 MB / 394.7 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005997/0.6065, allocations: 0.5266 MB / 395.2 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/0.6313, allocations: 8.941 MB / 404.2 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004333/0.6357, allocations: 123.8 kB / 404.3 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007815/0.6365, allocations: 91.98 kB / 404.4 MB, free: 6.871 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.005094/0.6417, allocations: 1.215 MB / 405.6 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/0.643, allocations: 272.7 kB / 405.9 MB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/0.6601, allocations: 3.758 MB / 409.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.574e-05/0.6602, allocations: 20 kB / 409.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.004e-05/0.6603, allocations: 8 kB / 409.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.358e-05/0.6604, allocations: 11.95 kB / 409.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03609/0.6965, allocations: 8.095 MB / 417.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.935e-05/0.6966, allocations: 4 kB / 417.8 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004776/0.7014, allocations: 383.7 kB / 418.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007588/0.709, allocations: 0.9253 MB / 419.1 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006293/0.7097, allocations: 55.97 kB / 419.1 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3978/1.108, allocations: 10.42 MB / 429.5 MB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/1.108, allocations: 4.281 kB / 429.5 MB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02104/1.129, allocations: 5.8 MB / 435.3 MB, free: 100 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003174/1.132, allocations: 0.6384 MB / 436 MB, free: 99.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001733/1.134, allocations: 47.41 kB / 436 MB, free: 99.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004328/1.138, allocations: 133.5 kB / 436.2 MB, free: 99.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001081/1.139, allocations: 175.3 kB / 436.3 MB, free: 99.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004266/1.14, allocations: 67 kB / 436.4 MB, free: 99.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006067/1.146, allocations: 1.675 MB / 438.1 MB, free: 99.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.146, allocations: 0 / 438.1 MB, free: 99.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005974/1.152, allocations: 0.8022 MB / 438.9 MB, free: 98.95 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.001157/1.153, allocations: 199.8 kB / 439.1 MB, free: 98.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01426/1.167, allocations: 3.931 MB / 443 MB, free: 97.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.167, allocations: 3.125 kB / 443 MB, free: 97.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009363/1.177, allocations: 2.507 MB / 445.5 MB, free: 94.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007976/1.185, allocations: 0.7151 MB / 446.2 MB, free: 94.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02923/1.214, allocations: 9.101 MB / 455.3 MB, free: 85.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006232/1.22, allocations: 2.786 MB / 458.1 MB, free: 82.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.222, allocations: 187.4 kB / 458.3 MB, free: 82.39 MB / 362.7 MB Notification: Performance of SimCode: time 2.003e-06/1.222, allocations: 3.938 kB / 458.3 MB, free: 82.39 MB / 362.7 MB Notification: Performance of Templates: time 0.5117/1.734, allocations: 134.1 MB / 0.5785 GB, free: 141.1 MB / 410.7 MB make -j1 -f Modelica_3.2.2_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.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.cpp:3189:28: error: use of undeclared identifier 'tmp354' _transformerData_P_C1_ = tmp354; ^ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o] Error 1