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.QuasiStationary.Machines.Examples.TransformerTestbench.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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma|source.voltageSource.2..pin_p.reference.gamma|source.voltageSource.3..pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.611/1.611, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005198, allocations: 8 kB / 233.2 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07337/0.07393, allocations: 38.77 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03341/0.1074, allocations: 23.79 MB / 295.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.3079/0.4153, allocations: 5.896 MB / 301.6 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005207/0.4205, allocations: 212.7 kB / 301.8 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004996/0.4256, allocations: 1.466 MB / 303.3 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007318/0.4329, allocations: 1.626 MB / 304.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005907/0.4389, allocations: 1.363 MB / 306.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.02122/0.4601, allocations: 10.76 MB / 317 MB, free: 7.254 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0889/0.5491, allocations: 39.11 MB / 356.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0117/0.5608, allocations: 6.021 MB / 362.2 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01322/0.5741, allocations: 6.872 MB / 369 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003245/0.5774, allocations: 1.133 MB / 370.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0059/0.5833, allocations: 1.29 MB / 371.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004573/0.5879, allocations: 2.838 MB / 374.3 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006674/0.5946, allocations: 3.552 MB / 377.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04595/0.6406, allocations: 32.7 MB / 410.6 MB, free: 4.816 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.197e-06/0.6406, allocations: 0 / 410.6 MB, free: 4.816 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.095e-06/0.6407, allocations: 0 / 410.6 MB, free: 4.816 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006556/0.6413, allocations: 0 / 410.6 MB, free: 4.816 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4707 * Number of variables: 4707 Notification: Performance of Generate backend data structure: time 0.0549/0.6962, allocations: 16.75 MB / 427.3 MB, free: 4.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.6963, allocations: 12.03 kB / 427.3 MB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.7076, allocations: 2.389 MB / 429.7 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4437/1.151, allocations: 9.199 MB / 438.9 MB, free: 75.94 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001589/1.153, allocations: 1.329 MB / 440.2 MB, free: 75.32 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004836/1.158, allocations: 1.747 MB / 442 MB, free: 74.74 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06642/1.224, allocations: 26.4 MB / 468.4 MB, free: 61.95 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005649/1.225, allocations: 16.12 kB / 468.4 MB, free: 61.94 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004668/1.23, allocations: 0.7209 MB / 469.1 MB, free: 61.22 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005738/1.23, allocations: 448 kB / 469.6 MB, free: 60.79 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05591/1.286, allocations: 20.25 MB / 489.8 MB, free: 40.51 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1645/1.451, allocations: 82.93 MB / 0.5593 GB, free: 4.176 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008061/1.459, allocations: 5.129 MB / 0.5643 GB, free: 14.64 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/1.459, allocations: 37.94 kB / 0.5644 GB, free: 14.6 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.874e-05/1.459, allocations: 61.59 kB / 0.5644 GB, free: 14.54 MB / 410.8 MB Notification: Performance of pre-optimization done (n=198): time 6.339e-06/1.459, allocations: 0 / 0.5644 GB, free: 14.54 MB / 410.8 MB Notification: Performance of matching and sorting (n=198): time 0.03702/1.496, allocations: 9.485 MB / 0.5737 GB, free: 4.973 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.496, allocations: 154.5 kB / 0.5738 GB, free: 4.793 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5081/2.005, allocations: 6.307 MB / 0.58 GB, free: 124.2 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.00032/2.005, allocations: 58.8 kB / 0.58 GB, free: 124.1 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.005334/2.01, allocations: 7.65 MB / 0.5875 GB, free: 119.4 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009861/2.011, allocations: 0.7872 MB / 0.5883 GB, free: 118.9 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006222/2.012, allocations: 151.5 kB / 0.5884 GB, free: 118.8 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 0.0005695/2.012, allocations: 0.6375 MB / 0.5891 GB, free: 118.3 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006468/2.019, allocations: 2.93 MB / 0.5919 GB, free: 117.3 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00876/2.028, allocations: 7.64 MB / 0.5994 GB, free: 109.8 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008765/2.037, allocations: 5.067 MB / 0.6043 GB, free: 107.6 MB / 410.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002184/2.037, allocations: 47.47 kB / 0.6044 GB, free: 107.6 MB / 410.9 MB Notification: Performance of matching and sorting (n=984) (initialization): time 0.02451/2.061, allocations: 11.07 MB / 0.6152 GB, free: 103.2 MB / 410.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/2.062, allocations: 76.16 kB / 0.6152 GB, free: 103.2 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002431/2.062, allocations: 168.3 kB / 0.6154 GB, free: 103.2 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007244/2.069, allocations: 1.817 MB / 0.6172 GB, free: 102.8 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006614/2.076, allocations: 1.643 MB / 0.6188 GB, free: 102.6 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0304/2.106, allocations: 12.62 MB / 0.6311 GB, free: 95.92 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01316/2.119, allocations: 1.06 MB / 0.6321 GB, free: 95.24 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002179/2.122, allocations: 455.5 kB / 0.6326 GB, free: 95.18 MB / 410.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 759 * 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 (885): * Single equations (assignments): 882 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,75.0%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0201/2.142, allocations: 6.967 MB / 0.6394 GB, free: 91.97 MB / 410.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/2.143, allocations: 496.7 kB / 0.6399 GB, free: 91.71 MB / 410.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/2.159, allocations: 4.294 MB / 0.6441 GB, free: 89.96 MB / 410.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01019/2.169, allocations: 3.33 MB / 0.6473 GB, free: 87.5 MB / 410.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-05/2.169, allocations: 12 kB / 0.6473 GB, free: 87.49 MB / 410.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.592e-05/2.169, allocations: 12.3 kB / 0.6473 GB, free: 87.49 MB / 410.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03675/2.206, allocations: 14.97 MB / 0.6619 GB, free: 72.7 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/2.206, allocations: 0 / 0.6619 GB, free: 72.7 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/2.207, allocations: 207.7 kB / 0.6621 GB, free: 72.49 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006802/2.214, allocations: 1.582 MB / 0.6637 GB, free: 70.91 MB / 410.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002942/2.214, allocations: 43.98 kB / 0.6637 GB, free: 70.86 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/2.234, allocations: 12.19 MB / 0.6756 GB, free: 58.55 MB / 410.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.636e-06/2.234, allocations: 3.938 kB / 0.6756 GB, free: 58.55 MB / 410.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009778/2.244, allocations: 5.959 MB / 0.6815 GB, free: 52.55 MB / 410.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/2.246, allocations: 0.8069 MB / 0.6823 GB, free: 51.72 MB / 410.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/2.248, allocations: 42.78 kB / 0.6823 GB, free: 51.68 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/2.25, allocations: 119.9 kB / 0.6824 GB, free: 51.57 MB / 410.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006764/2.251, allocations: 154.7 kB / 0.6826 GB, free: 51.41 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/2.251, allocations: 48 kB / 0.6826 GB, free: 51.37 MB / 410.9 MB Notification: Performance of sorting global known variables: time 0.008301/2.259, allocations: 4.207 MB / 0.6867 GB, free: 47.19 MB / 410.9 MB Notification: Performance of sort global known variables: time 1.345e-06/2.259, allocations: 0 / 0.6867 GB, free: 47.19 MB / 410.9 MB Notification: Performance of remove unused functions: time 0.01187/2.271, allocations: 3.663 MB / 0.6903 GB, free: 43.51 MB / 410.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (source.voltageSource[3].pin_p.reference.gamma,source.voltageSource[2].pin_p.reference.gamma,source.voltageSource[1].pin_p.reference.gamma) * 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 (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,72.2%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000692/2.272, allocations: 204.5 kB / 0.6905 GB, free: 43.32 MB / 410.9 MB Notification: Performance of simCode: created initialization part: time 0.01253/2.285, allocations: 6.929 MB / 0.6972 GB, free: 36.39 MB / 410.9 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.285, allocations: 0 / 0.6972 GB, free: 36.39 MB / 410.9 MB Notification: Performance of simCode: created simulation system equations: time 0.005318/2.29, allocations: 2.201 MB / 0.6994 GB, free: 34.18 MB / 410.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01191/2.302, allocations: 1.351 MB / 0.7007 GB, free: 32.83 MB / 410.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.352/2.654, allocations: 30.04 MB / 0.7301 GB, free: 117.2 MB / 410.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02184/2.676, allocations: 10.82 MB / 0.7406 GB, free: 115.8 MB / 410.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/2.677, allocations: 360.4 kB / 0.741 GB, free: 115.8 MB / 410.9 MB Notification: Performance of SimCode: time 1.884e-06/2.677, allocations: 0 / 0.741 GB, free: 115.8 MB / 410.9 MB Notification: Performance of Templates: time 0.6649/3.342, allocations: 245.8 MB / 0.981 GB, free: 38.74 MB / 426.9 MB make -j1 -f Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.cpp:2013:28: error: use of undeclared identifier \'tmp27\'\n _transformerData_P_C1_ = tmp27;\n ^\n./OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.cpp:2014:28: error: use of undeclared identifier \'tmp28\'\n _transformerData_P_C2_ = tmp28;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.o] Error 1\n'