Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) 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.74/1.74, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.000353, allocations: 8 kB / 233.2 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.091/0.09137, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007548/0.09897, allocations: 4.87 MB / 276.8 MB, free: 7.297 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004717/0.1037, allocations: 2.039 MB / 278.8 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009869/0.1048, allocations: 31.81 kB / 278.9 MB, free: 5.223 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.1059, allocations: 322.3 kB / 279.2 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.1078, allocations: 470.6 kB / 279.6 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.1085, allocations: 147.8 kB / 279.8 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.1113, allocations: 1.485 MB / 281.3 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.1136, allocations: 1.322 MB / 282.6 MB, free: 1.453 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.1152, allocations: 0.728 MB / 283.3 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.1168, allocations: 0.8716 MB / 284.2 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003658/0.1172, allocations: 136 kB / 284.3 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007113/0.118, allocations: 187.9 kB / 284.5 MB, free: 15.53 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006195/0.1186, allocations: 0.4907 MB / 285 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005855/0.1192, allocations: 436.7 kB / 285.4 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.1233, allocations: 3.089 MB / 288.5 MB, free: 11.51 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.164e-06/0.1233, allocations: 0 / 288.5 MB, free: 11.51 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.152e-06/0.1233, allocations: 0 / 288.5 MB, free: 11.51 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.398e-05/0.1234, allocations: 0 / 288.5 MB, free: 11.51 MB / 250.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.004802/0.1282, allocations: 2.03 MB / 290.5 MB, free: 9.422 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1283, allocations: 8.031 kB / 290.6 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/0.1292, allocations: 257.3 kB / 290.8 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.132, allocations: 1.204 MB / 292 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.1322, allocations: 131.5 kB / 292.1 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/0.1326, allocations: 176 kB / 292.3 MB, free: 7.609 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006141/0.1387, allocations: 2.532 MB / 294.8 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.1388, allocations: 0 / 294.8 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.1391, allocations: 79.94 kB / 294.9 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.1392, allocations: 95.58 kB / 295 MB, free: 4.883 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005397/0.1447, allocations: 2.103 MB / 297.1 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1937/0.3384, allocations: 7.507 MB / 304.6 MB, free: 25.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.3404, allocations: 1.271 MB / 305.9 MB, free: 25.01 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.3407, allocations: 113.3 kB / 306 MB, free: 24.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.3407, allocations: 39.2 kB / 306 MB, free: 24.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=52): time 4.374e-06/0.3407, allocations: 0 / 306 MB, free: 24.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=53): time 0.005366/0.3461, allocations: 2.295 MB / 308.3 MB, free: 23.65 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.3462, allocations: 84.97 kB / 308.4 MB, free: 23.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.3491, allocations: 1.505 MB / 309.9 MB, free: 22.97 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.3492, allocations: 40.05 kB / 310 MB, free: 22.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000604/0.3498, allocations: 0.9583 MB / 310.9 MB, free: 22.14 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.3501, allocations: 196 kB / 311.1 MB, free: 22 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.3501, allocations: 25.38 kB / 311.1 MB, free: 21.98 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3503, allocations: 370 kB / 311.5 MB, free: 21.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009768/0.3513, allocations: 453 kB / 311.9 MB, free: 21.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.3525, allocations: 1.089 MB / 313 MB, free: 20.46 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.3538, allocations: 0.6873 MB / 313.7 MB, free: 20.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/0.3538, allocations: 6.875 kB / 313.7 MB, free: 20.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003543/0.3573, allocations: 1.609 MB / 315.3 MB, free: 19.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.3574, allocations: 15.88 kB / 315.4 MB, free: 19.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.026e-05/0.3575, allocations: 23 kB / 315.4 MB, free: 19.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009584/0.3585, allocations: 183.3 kB / 315.6 MB, free: 19.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.3596, allocations: 283.2 kB / 315.8 MB, free: 19.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.362, allocations: 2.19 MB / 318 MB, free: 17.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.3636, allocations: 94.98 kB / 318.1 MB, free: 17.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.3637, allocations: 67.19 kB / 318.2 MB, free: 17.12 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 () * 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.001197/0.3649, allocations: 0.7045 MB / 318.9 MB, free: 16.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/0.3653, allocations: 133.4 kB / 319 MB, free: 16.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.3672, allocations: 0.8508 MB / 319.9 MB, free: 16.08 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3672, allocations: 5.688 kB / 319.9 MB, free: 16.08 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.815e-06/0.3673, allocations: 1.219 kB / 319.9 MB, free: 16.08 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.024e-06/0.3673, allocations: 0 / 319.9 MB, free: 16.08 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004836/0.3721, allocations: 2.527 MB / 322.4 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.048e-06/0.3722, allocations: 11.8 kB / 322.4 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.3727, allocations: 93.86 kB / 322.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009422/0.3737, allocations: 158.5 kB / 322.7 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.3738, allocations: 11.56 kB / 322.7 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.3762, allocations: 2.128 MB / 324.8 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.89e-06/0.3762, allocations: 3.312 kB / 324.8 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.3788, allocations: 1.33 MB / 326.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006424/0.3795, allocations: 295.5 kB / 326.4 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.3797, allocations: 23.72 kB / 326.4 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007555/0.3805, allocations: 47.97 kB / 326.5 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.3806, allocations: 58.14 kB / 326.5 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.3807, allocations: 19.98 kB / 326.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001652/0.3824, allocations: 1.032 MB / 327.6 MB, free: 9.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.74e-07/0.3824, allocations: 0 / 327.6 MB, free: 9.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001802/0.3842, allocations: 351.6 kB / 327.9 MB, free: 9.535 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 () * 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.0004044/0.3846, allocations: 163.5 kB / 328.1 MB, free: 9.383 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.3868, allocations: 1.147 MB / 329.2 MB, free: 8.227 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.556e-06/0.3868, allocations: 4.188 kB / 329.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009406/0.3878, allocations: 0.5141 MB / 329.8 MB, free: 7.695 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.3896, allocations: 361.8 kB / 330.1 MB, free: 7.344 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.3955, allocations: 3.758 MB / 333.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.3968, allocations: 1.705 MB / 335.6 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.3972, allocations: 95.42 kB / 335.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of SimCode: time 2.015e-06/0.3972, allocations: 0 / 335.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of Templates: time 0.05328/0.4505, allocations: 30.99 MB / 366.7 MB, free: 2.699 MB / 282.7 MB make -j1 -f Modelica_3.2.1_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.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.1_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.1_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.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o] Error 1\n'