Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 224.7 MB / 241.1 MB, free: 1.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.977e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 50.41 MB / 345 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008058/0.1215, allocations: 4.667 MB / 349.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004953/0.1266, allocations: 1.844 MB / 351.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.1276, allocations: 47.81 kB / 351.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.1289, allocations: 294.4 kB / 351.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.131, allocations: 414.7 kB / 352.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.1317, allocations: 135.8 kB / 352.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002764/0.1345, allocations: 1.053 MB / 353.4 MB, free: 460 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/0.1368, allocations: 1.076 MB / 354.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.1382, allocations: 0.5766 MB / 355.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.1402, allocations: 0.7358 MB / 355.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000882/0.1411, allocations: 139.9 kB / 355.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.1415, allocations: 80 kB / 356 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006281/0.1421, allocations: 434.5 kB / 356.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006915/0.1429, allocations: 188 kB / 356.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004988/0.1479, allocations: 3.081 MB / 359.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1479, allocations: 8 kB / 359.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1479, allocations: 0 / 359.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001403/0.1481, allocations: 0 / 359.7 MB, free: 10.12 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.006175/0.1543, allocations: 1.872 MB / 361.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.1543, allocations: 8.031 kB / 361.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.1558, allocations: 245.4 kB / 361.8 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/0.1596, allocations: 1.278 MB / 363.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.1599, allocations: 131.5 kB / 363.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006411/0.1605, allocations: 172 kB / 363.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008173/0.1687, allocations: 2.528 MB / 365.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.386e-05/0.1688, allocations: 3.938 kB / 365.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/0.1691, allocations: 75.94 kB / 366 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001733/0.1693, allocations: 99.58 kB / 366.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006934/0.1763, allocations: 2.103 MB / 368.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02082/0.1971, allocations: 7.508 MB / 375.7 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.1998, allocations: 1.262 MB / 377 MB, free: 8.336 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003408/0.2001, allocations: 113.5 kB / 377.1 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.2002, allocations: 46.95 kB / 377.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.296e-06/0.2002, allocations: 0 / 377.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.007301/0.2075, allocations: 2.293 MB / 379.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.2077, allocations: 85.48 kB / 379.5 MB, free: 5.684 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003176/0.2108, allocations: 1.349 MB / 380.9 MB, free: 4.328 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.211, allocations: 37.7 kB / 380.9 MB, free: 4.285 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009684/0.212, allocations: 0.9541 MB / 381.9 MB, free: 3.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.2123, allocations: 197.3 kB / 382.1 MB, free: 3.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.2124, allocations: 28 kB / 382.1 MB, free: 3.098 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.2126, allocations: 362.8 kB / 382.4 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.2139, allocations: 462.3 kB / 382.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.2157, allocations: 1.079 MB / 384 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.2175, allocations: 0.6878 MB / 384.7 MB, free: 204 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/0.2175, allocations: 7.938 kB / 384.7 MB, free: 196 kB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004533/0.2221, allocations: 1.614 MB / 386.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.2222, allocations: 16 kB / 386.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.171e-05/0.2222, allocations: 20 kB / 386.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.2234, allocations: 176.8 kB / 386.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.2252, allocations: 295.5 kB / 386.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.229, allocations: 2.183 MB / 389 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.2307, allocations: 87.67 kB / 389 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.231, allocations: 64 kB / 389.1 MB, free: 11.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001693/0.2327, allocations: 0.6962 MB / 389.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/0.2332, allocations: 142.4 kB / 389.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.2357, allocations: 0.8452 MB / 390.8 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.2357, allocations: 7.953 kB / 390.8 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.2357, allocations: 4 kB / 390.8 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.2357, allocations: 3.984 kB / 390.8 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0068/0.2425, allocations: 2.514 MB / 393.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.2426, allocations: 4.25 kB / 393.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.2434, allocations: 99.81 kB / 393.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.2444, allocations: 152.7 kB / 393.6 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.03e-05/0.2445, allocations: 12 kB / 393.6 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00337/0.2479, allocations: 2.132 MB / 395.7 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.2479, allocations: 4 kB / 395.7 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003603/0.2515, allocations: 1.476 MB / 397.2 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008894/0.2525, allocations: 283.6 kB / 397.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/0.2528, allocations: 15.98 kB / 397.5 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.2539, allocations: 51.97 kB / 397.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.2541, allocations: 59.77 kB / 397.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.68e-05/0.2542, allocations: 20 kB / 397.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002438/0.2566, allocations: 1.024 MB / 398.6 MB, free: 1.684 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.2567, allocations: 0 / 398.6 MB, free: 1.684 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002083/0.2588, allocations: 352 kB / 399 MB, free: 1.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005115/0.2593, allocations: 162 kB / 399.1 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003179/0.2625, allocations: 1.157 MB / 400.3 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.2625, allocations: 0 / 400.3 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2783/0.5409, allocations: 0.4982 MB / 400.8 MB, free: 49.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.5438, allocations: 352.9 kB / 401.1 MB, free: 49.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009457/0.5533, allocations: 3.75 MB / 404.9 MB, free: 47.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/0.5558, allocations: 1.696 MB / 406.6 MB, free: 47.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.5565, allocations: 93.84 kB / 406.7 MB, free: 47.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5565, allocations: 0 / 406.7 MB, free: 47.19 MB / 330.7 MB Notification: Performance of Templates: time 0.06012/0.6166, allocations: 30.99 MB / 437.7 MB, free: 23.86 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Transformers.AsymmetricalLoadCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.cpp:1365:28: error: use of undeclared identifier 'tmp146' _transformerData_P_C1_ = tmp146; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.cpp:1366:28: error: use of undeclared identifier 'tmp147' _transformerData_P_C2_ = tmp147; ^ 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o] Error 1