Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) 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 1.902/1.902, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005891/0.0005892, allocations: 8 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1184, allocations: 44.52 MB / 308.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01099/0.1295, allocations: 4.878 MB / 313.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006826/0.1363, allocations: 2.055 MB / 315.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.1376, allocations: 31.81 kB / 315.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.1391, allocations: 326.4 kB / 315.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.1415, allocations: 458.6 kB / 316.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.1423, allocations: 147.8 kB / 316.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003971/0.1463, allocations: 1.466 MB / 317.7 MB, free: 7.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/0.1498, allocations: 1.33 MB / 319 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.152, allocations: 0.7318 MB / 319.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.1543, allocations: 0.8677 MB / 320.6 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004809/0.1548, allocations: 124 kB / 320.8 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009108/0.1557, allocations: 187.9 kB / 320.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009306/0.1567, allocations: 0.4946 MB / 321.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008994/0.1576, allocations: 436.7 kB / 321.9 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006373/0.164, allocations: 3.09 MB / 325 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.53e-06/0.164, allocations: 0 / 325 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd: time 3.332e-06/0.1641, allocations: 0 / 325 MB, free: 336 kB / 266.7 MB Notification: Performance of Transformations before backend: time 7.871e-05/0.1642, allocations: 0 / 325 MB, free: 336 kB / 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.008368/0.1725, allocations: 2.026 MB / 327 MB, free: 14.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1726, allocations: 12.03 kB / 327 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.1743, allocations: 245.4 kB / 327.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004641/0.179, allocations: 1.196 MB / 328.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.1793, allocations: 131.5 kB / 328.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006644/0.18, allocations: 180 kB / 328.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.1903, allocations: 2.532 MB / 331.3 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.74e-05/0.1904, allocations: 0 / 331.3 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004223/0.1909, allocations: 75.98 kB / 331.3 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002299/0.1911, allocations: 99.56 kB / 331.4 MB, free: 9.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009192/0.2004, allocations: 2.103 MB / 333.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02639/0.2268, allocations: 7.515 MB / 341.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/0.2302, allocations: 1.262 MB / 342.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/0.2306, allocations: 117.6 kB / 342.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.2307, allocations: 39 kB / 342.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 6.016e-06/0.2308, allocations: 0 / 342.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.009227/0.24, allocations: 2.293 MB / 344.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.2402, allocations: 85.48 kB / 344.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004997/0.2452, allocations: 1.5 MB / 346.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.2454, allocations: 41.64 kB / 346.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/0.2467, allocations: 0.9578 MB / 347.3 MB, free: 9.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.2471, allocations: 189.4 kB / 347.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.2472, allocations: 24 kB / 347.6 MB, free: 9.062 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003092/0.2475, allocations: 366.8 kB / 347.9 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.2493, allocations: 458.3 kB / 348.4 MB, free: 8.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.2519, allocations: 1.094 MB / 349.5 MB, free: 6.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.2543, allocations: 0.6799 MB / 350.1 MB, free: 6.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.489e-05/0.2544, allocations: 8 kB / 350.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00635/0.2607, allocations: 1.606 MB / 351.7 MB, free: 4.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.2609, allocations: 16 kB / 351.8 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.443e-05/0.2609, allocations: 20 kB / 351.8 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.2625, allocations: 180.8 kB / 352 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.2647, allocations: 287.5 kB / 352.2 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005172/0.2699, allocations: 2.182 MB / 354.4 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.2724, allocations: 91.67 kB / 354.5 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003158/0.2728, allocations: 68.11 kB / 354.6 MB, free: 1.566 MB / 298.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 () * Number of clocked 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.00261/0.2754, allocations: 0.7078 MB / 355.3 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006917/0.2761, allocations: 134.4 kB / 355.4 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/0.2797, allocations: 0.8568 MB / 356.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.2797, allocations: 4.188 kB / 356.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.2798, allocations: 4 kB / 356.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.2798, allocations: 3.938 kB / 356.3 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009553/0.2894, allocations: 2.508 MB / 358.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.2894, allocations: 8.062 kB / 358.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000911/0.2904, allocations: 103.8 kB / 358.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.2918, allocations: 152.7 kB / 359.1 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.112e-05/0.2919, allocations: 12 kB / 359.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004913/0.2968, allocations: 2.136 MB / 361.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/0.2969, allocations: 4 kB / 361.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/0.3018, allocations: 1.328 MB / 362.5 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.3031, allocations: 287.4 kB / 362.8 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003749/0.3035, allocations: 16.06 kB / 362.8 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.305, allocations: 55.95 kB / 362.9 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.3052, allocations: 59.78 kB / 362.9 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.3054, allocations: 20 kB / 363 MB, free: 8.855 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003518/0.3089, allocations: 1.02 MB / 364 MB, free: 7.832 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.917e-06/0.3089, allocations: 0 / 364 MB, free: 7.832 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003535/0.3125, allocations: 355.9 kB / 364.3 MB, free: 7.484 MB / 314.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 () * Number of clocked 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.0006648/0.3132, allocations: 157.3 kB / 364.5 MB, free: 7.324 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004346/0.3176, allocations: 1.142 MB / 365.6 MB, free: 6.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.3176, allocations: 64 / 365.6 MB, free: 6.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.3196, allocations: 0.5215 MB / 366.1 MB, free: 5.641 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/0.323, allocations: 349.2 kB / 366.5 MB, free: 5.297 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.3356, allocations: 3.76 MB / 370.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2316/0.5673, allocations: 1.694 MB / 371.9 MB, free: 59.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/0.5678, allocations: 92.75 kB / 372 MB, free: 59.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.826e-06/0.5679, allocations: 1.719 kB / 372 MB, free: 59.3 MB / 314.7 MB Notification: Performance of Templates: time 0.04519/0.6131, allocations: 30.98 MB / 403 MB, free: 39.38 MB / 314.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile b'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=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.cpp:1356:28: error: use of undeclared identifier \'tmp7\'\n _transformerData_P_C1_ = tmp7;\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.cpp:1357:28: error: use of undeclared identifier \'tmp8\'\n _transformerData_P_C2_ = tmp8;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o] Error 1\n'