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_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadModel(Modelica): time 2.177/2.177, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.29e-05, allocations: 4 kB / 258.8 MB, free: 8.703 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3257, allocations: 44.49 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008217/0.3339, allocations: 4.764 MB / 308.1 MB, free: 8.934 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005417/0.3394, allocations: 1.895 MB / 310 MB, free: 7.035 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.3406, allocations: 43.81 kB / 310 MB, free: 6.992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.3418, allocations: 294.3 kB / 310.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.3439, allocations: 422.6 kB / 310.7 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006711/0.3446, allocations: 143.8 kB / 310.8 MB, free: 6.148 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002731/0.3474, allocations: 1.1 MB / 311.9 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.3494, allocations: 1.013 MB / 312.9 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.3509, allocations: 0.5728 MB / 313.5 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.3526, allocations: 0.763 MB / 314.3 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008078/0.3535, allocations: 135.9 kB / 314.4 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.3539, allocations: 80 kB / 314.5 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005871/0.3545, allocations: 458.5 kB / 314.9 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006619/0.3551, allocations: 184 kB / 315.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004899/0.36, allocations: 3.079 MB / 318.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3601, allocations: 4 kB / 318.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.3e-06/0.3601, allocations: 0 / 318.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001068/0.3602, allocations: 3.938 kB / 318.2 MB, free: 14.75 MB / 266.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.006188/0.3664, allocations: 1.844 MB / 320.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/0.3665, allocations: 12.03 kB / 320.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.3681, allocations: 253.3 kB / 320.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/0.3716, allocations: 1.192 MB / 321.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.3718, allocations: 135.5 kB / 321.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005162/0.3723, allocations: 176 kB / 321.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007663/0.38, allocations: 2.524 MB / 324.3 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/0.3801, allocations: 4 kB / 324.3 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/0.3804, allocations: 68 kB / 324.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/0.3806, allocations: 95.58 kB / 324.5 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006827/0.3874, allocations: 2.11 MB / 326.6 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02011/0.4076, allocations: 7.511 MB / 334.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.4101, allocations: 1.267 MB / 335.4 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.4105, allocations: 121.5 kB / 335.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.4105, allocations: 42.98 kB / 335.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=52): time 3.707e-06/0.4106, allocations: 0 / 335.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=53): time 0.006705/0.4173, allocations: 2.285 MB / 337.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.4174, allocations: 89.55 kB / 337.9 MB, free: 10.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.4207, allocations: 1.345 MB / 339.3 MB, free: 9.051 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.4209, allocations: 37.7 kB / 339.3 MB, free: 9.008 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009294/0.4219, allocations: 0.958 MB / 340.3 MB, free: 8.039 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.4221, allocations: 197.3 kB / 340.4 MB, free: 7.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/0.4222, allocations: 24 kB / 340.5 MB, free: 7.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4224, allocations: 358.8 kB / 340.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.4237, allocations: 462.3 kB / 341.3 MB, free: 7.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.4255, allocations: 1.094 MB / 342.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.4272, allocations: 0.676 MB / 343 MB, free: 4.922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/0.4273, allocations: 8 kB / 343.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004086/0.4314, allocations: 1.606 MB / 344.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.4314, allocations: 16.44 kB / 344.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.4315, allocations: 24 kB / 344.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.4326, allocations: 184.6 kB / 344.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.4344, allocations: 283.5 kB / 345.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/0.4378, allocations: 2.193 MB / 347.3 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.4396, allocations: 87.67 kB / 347.4 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.4397, allocations: 68 kB / 347.5 MB, free: 324 kB / 282.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.001552/0.4413, allocations: 0.6924 MB / 348.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003671/0.4417, allocations: 134.4 kB / 348.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.444, allocations: 0.849 MB / 349.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.444, allocations: 8 kB / 349.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4441, allocations: 4 kB / 349.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.4441, allocations: 3.984 kB / 349.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00609/0.4502, allocations: 2.515 MB / 351.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/0.4502, allocations: 4 kB / 351.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.451, allocations: 104.2 kB / 351.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009784/0.452, allocations: 156.6 kB / 352 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.4521, allocations: 12 kB / 352 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003203/0.4553, allocations: 2.124 MB / 354.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/0.4553, allocations: 12.05 kB / 354.1 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003493/0.4588, allocations: 1.492 MB / 355.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008277/0.4597, allocations: 275.5 kB / 355.9 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003018/0.46, allocations: 19.98 kB / 355.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.4611, allocations: 52.03 kB / 355.9 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.4613, allocations: 59.83 kB / 356 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.4613, allocations: 16 kB / 356 MB, free: 7.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002457/0.4638, allocations: 1.024 MB / 357 MB, free: 6.391 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.4639, allocations: 0 / 357 MB, free: 6.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002119/0.466, allocations: 348 kB / 357.4 MB, free: 6.051 MB / 298.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.0005123/0.4665, allocations: 156.3 kB / 357.5 MB, free: 5.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003336/0.4699, allocations: 1.152 MB / 358.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.47, allocations: 4.812 kB / 358.7 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.4715, allocations: 0.5102 MB / 359.2 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.4743, allocations: 356.1 kB / 359.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009188/0.4835, allocations: 3.748 MB / 363.3 MB, free: 44 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/0.4856, allocations: 1.693 MB / 365 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/0.4862, allocations: 95.42 kB / 365.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of SimCode: time 1.693e-06/0.4862, allocations: 0 / 365.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of Templates: time 0.06703/0.5533, allocations: 31 MB / 396.1 MB, free: 15.2 MB / 346.7 MB make -j1 -f Modelica_3.2.2_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.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.cpp:1365:28: error: use of undeclared identifier 'tmp146' _transformerData_P_C1_ = tmp146; ^ ./OMCppModelica_3.2.2_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.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o] Error 1