Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadModel(Modelica): time 1.7/1.7, allocations: 171.1 MB / 186.3 MB, free: 1.328 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.817e-05/3.821e-05, allocations: 4 kB / 228.1 MB, free: 7.973 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 38.76 MB / 266.9 MB, free: 1.125 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01268/0.1263, allocations: 4.741 MB / 271.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007003/0.1333, allocations: 1.875 MB / 273.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.1346, allocations: 47.75 kB / 273.6 MB, free: 10.42 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.1364, allocations: 290.4 kB / 273.8 MB, free: 10.13 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002913/0.1394, allocations: 422.6 kB / 274.3 MB, free: 9.719 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.1402, allocations: 147.8 kB / 274.4 MB, free: 9.574 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003696/0.144, allocations: 1.119 MB / 275.5 MB, free: 8.449 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.1468, allocations: 1.005 MB / 276.5 MB, free: 7.43 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.1487, allocations: 0.5727 MB / 277.1 MB, free: 6.855 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.1508, allocations: 0.7592 MB / 277.9 MB, free: 6.094 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007114/0.1515, allocations: 139.9 kB / 278 MB, free: 5.957 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.1519, allocations: 84 kB / 278.1 MB, free: 5.875 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006031/0.1525, allocations: 450.5 kB / 278.5 MB, free: 5.434 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006054/0.1531, allocations: 184 kB / 278.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004603/0.1577, allocations: 3.097 MB / 281.8 MB, free: 2.148 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1578, allocations: 3.938 kB / 281.8 MB, free: 2.145 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1578, allocations: 0 / 281.8 MB, free: 2.145 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001237/0.1579, allocations: 0 / 281.8 MB, free: 2.145 MB / 234.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.005642/0.1636, allocations: 1.852 MB / 283.6 MB, free: 244 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1637, allocations: 8.031 kB / 283.7 MB, free: 236 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.165, allocations: 253.5 kB / 283.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/0.1683, allocations: 1.196 MB / 285.1 MB, free: 14.74 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.1685, allocations: 135.5 kB / 285.2 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004696/0.1689, allocations: 172 kB / 285.4 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007314/0.1763, allocations: 2.516 MB / 287.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.005e-05/0.1764, allocations: 4 kB / 287.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.1767, allocations: 75.77 kB / 288 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/0.1768, allocations: 99.58 kB / 288.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006553/0.1834, allocations: 2.106 MB / 290.2 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01916/0.2026, allocations: 7.516 MB / 297.7 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.2052, allocations: 1.27 MB / 299 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/0.2056, allocations: 117.5 kB / 299.1 MB, free: 328 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.2056, allocations: 43 kB / 299.1 MB, free: 276 kB / 250.7 MB Notification: Performance of pre-optimization done (n=52): time 3.176e-06/0.2056, allocations: 0 / 299.1 MB, free: 276 kB / 250.7 MB Notification: Performance of matching and sorting (n=53): time 0.2193/0.425, allocations: 2.287 MB / 301.4 MB, free: 27.87 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.4251, allocations: 83.02 kB / 301.5 MB, free: 27.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/0.4283, allocations: 1.362 MB / 302.9 MB, free: 27.36 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.4285, allocations: 38.75 kB / 302.9 MB, free: 27.32 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007484/0.4293, allocations: 0.9494 MB / 303.9 MB, free: 26.55 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.4295, allocations: 202.7 kB / 304.1 MB, free: 26.4 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/0.4296, allocations: 26.09 kB / 304.1 MB, free: 26.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4298, allocations: 359 kB / 304.4 MB, free: 26.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.431, allocations: 457 kB / 304.9 MB, free: 25.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.4326, allocations: 1.092 MB / 306 MB, free: 24.89 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.4342, allocations: 0.675 MB / 306.6 MB, free: 24.6 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/0.4343, allocations: 10.75 kB / 306.7 MB, free: 24.6 MB / 250.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004296/0.4386, allocations: 1.606 MB / 308.3 MB, free: 23.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.4387, allocations: 18.81 kB / 308.3 MB, free: 23.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-05/0.4387, allocations: 23.2 kB / 308.3 MB, free: 23.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.4399, allocations: 181 kB / 308.5 MB, free: 23.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.4417, allocations: 285.9 kB / 308.8 MB, free: 23.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.4448, allocations: 2.188 MB / 310.9 MB, free: 22.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.4467, allocations: 88.64 kB / 311 MB, free: 22.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.4469, allocations: 68.91 kB / 311.1 MB, free: 22.06 MB / 250.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.00156/0.4484, allocations: 0.7013 MB / 311.8 MB, free: 21.67 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/0.4489, allocations: 135.7 kB / 311.9 MB, free: 21.6 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.4511, allocations: 0.8498 MB / 312.8 MB, free: 21.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.4512, allocations: 9.688 kB / 312.8 MB, free: 21.24 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4512, allocations: 0 / 312.8 MB, free: 21.24 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4512, allocations: 4.141 kB / 312.8 MB, free: 21.24 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005769/0.457, allocations: 2.514 MB / 315.3 MB, free: 20.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.4571, allocations: 6.359 kB / 315.3 MB, free: 20.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007179/0.4578, allocations: 104.6 kB / 315.4 MB, free: 20.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009719/0.4588, allocations: 148.2 kB / 315.6 MB, free: 20.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-05/0.4589, allocations: 18.2 kB / 315.6 MB, free: 20 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.4616, allocations: 2.136 MB / 317.7 MB, free: 18.22 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4616, allocations: 0.875 kB / 317.7 MB, free: 18.22 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.4646, allocations: 1.481 MB / 319.2 MB, free: 17.2 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007034/0.4653, allocations: 290.5 kB / 319.5 MB, free: 16.96 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.4656, allocations: 19.86 kB / 319.5 MB, free: 16.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.4667, allocations: 55.5 kB / 319.6 MB, free: 16.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.4669, allocations: 52.8 kB / 319.6 MB, free: 16.9 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/0.4669, allocations: 19.72 kB / 319.6 MB, free: 16.9 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001994/0.4689, allocations: 1.027 MB / 320.7 MB, free: 16.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.469, allocations: 0 / 320.7 MB, free: 16.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.002011/0.471, allocations: 351.8 kB / 321 MB, free: 16.29 MB / 250.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.0004673/0.4715, allocations: 162.3 kB / 321.2 MB, free: 16.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002758/0.4743, allocations: 1.149 MB / 322.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.4743, allocations: 3.953 kB / 322.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.4755, allocations: 0.5102 MB / 322.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/0.4779, allocations: 358.6 kB / 323.2 MB, free: 14.67 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007126/0.4851, allocations: 3.752 MB / 326.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.4865, allocations: 1.701 MB / 328.6 MB, free: 9.117 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.487, allocations: 91.42 kB / 328.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of SimCode: time 2.525e-06/0.487, allocations: 0 / 328.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of Templates: time 0.06209/0.5491, allocations: 31.03 MB / 359.7 MB, free: 10.02 MB / 282.7 MB make -j1 -f Modelica_3.2.1_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"." -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.Transformers.AsymmetricalLoadCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp In file included from OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp:36: ./OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.cpp:1365:28: error: use of undeclared identifier 'tmp146' _transformerData_P_C1_ = tmp146; ^ ./OMCppModelica_3.2.1_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_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o] Error 1