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.AsynchronousInductionMachines.AIMC_Transformer.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.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003579, allocations: 8 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08149/0.08188, allocations: 44.5 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01548/0.0974, allocations: 10.55 MB / 318.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009428/0.1069, allocations: 4.129 MB / 323 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.1091, allocations: 63.62 kB / 323.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.1121, allocations: 0.8085 MB / 323.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.1164, allocations: 0.9854 MB / 324.9 MB, free: 440 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.118, allocations: 331.5 kB / 325.2 MB, free: 108 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005993/0.124, allocations: 2.979 MB / 328.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004627/0.1287, allocations: 2.522 MB / 330.7 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.1318, allocations: 1.464 MB / 332.2 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003538/0.1354, allocations: 1.829 MB / 334 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008465/0.1363, allocations: 244 kB / 334.3 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.1377, allocations: 307.9 kB / 334.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001542/0.1393, allocations: 1.087 MB / 335.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.1408, allocations: 0.8394 MB / 336.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008772/0.1496, allocations: 5.976 MB / 342.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1496, allocations: 0 / 342.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.831e-06/0.1497, allocations: 0 / 342.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001469/0.1498, allocations: 0 / 342.5 MB, free: 14.78 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.0104/0.1602, allocations: 3.97 MB / 346.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1603, allocations: 8.031 kB / 346.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.1626, allocations: 0.4986 MB / 346.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/0.1687, allocations: 2.314 MB / 349.2 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.169, allocations: 263.1 kB / 349.5 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/0.1701, allocations: 351.9 kB / 349.8 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/0.1831, allocations: 5.009 MB / 354.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/0.1833, allocations: 11.84 kB / 354.9 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005242/0.1838, allocations: 147.9 kB / 355 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002553/0.1841, allocations: 183 kB / 355.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/0.1964, allocations: 4.291 MB / 359.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2431/0.4396, allocations: 14.95 MB / 374.4 MB, free: 53.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006447/0.4461, allocations: 4.195 MB / 378.6 MB, free: 52.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004372/0.4466, allocations: 133.9 kB / 378.8 MB, free: 51.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.4467, allocations: 57.53 kB / 378.8 MB, free: 51.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 6.393e-06/0.4467, allocations: 0 / 378.8 MB, free: 51.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.02821/0.4749, allocations: 10.32 MB / 389.1 MB, free: 48.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.475, allocations: 80.38 kB / 389.2 MB, free: 48.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004813/0.4799, allocations: 2.446 MB / 391.7 MB, free: 47.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003595/0.4803, allocations: 65.08 kB / 391.7 MB, free: 47.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009897/0.4813, allocations: 1.495 MB / 393.2 MB, free: 45.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008016/0.4821, allocations: 0.7403 MB / 394 MB, free: 45.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.4823, allocations: 43.44 kB / 394 MB, free: 45.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4825, allocations: 401.5 kB / 394.4 MB, free: 44.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/0.4853, allocations: 1.327 MB / 395.7 MB, free: 44.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/0.4885, allocations: 1.796 MB / 397.5 MB, free: 42.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.4919, allocations: 1.575 MB / 399.1 MB, free: 42.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-05/0.492, allocations: 7.422 kB / 399.1 MB, free: 42.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009188/0.5012, allocations: 3.936 MB / 403 MB, free: 38.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.5013, allocations: 8 kB / 403 MB, free: 38.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.5013, allocations: 16.62 kB / 403.1 MB, free: 38.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003501/0.5048, allocations: 0.8791 MB / 403.9 MB, free: 38.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/0.5077, allocations: 0.5265 MB / 404.5 MB, free: 37.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.5198, allocations: 8.939 MB / 413.4 MB, free: 28.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.5223, allocations: 133.3 kB / 413.5 MB, free: 28.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/0.5228, allocations: 80 kB / 413.6 MB, free: 27.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002773/0.5256, allocations: 1.208 MB / 414.8 MB, free: 26.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007635/0.5263, allocations: 284.7 kB / 415.1 MB, free: 26.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007863/0.5342, allocations: 3.758 MB / 418.9 MB, free: 22.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.5343, allocations: 23.94 kB / 418.9 MB, free: 22.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/0.5343, allocations: 8 kB / 418.9 MB, free: 22.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.243e-05/0.5344, allocations: 7.969 kB / 418.9 MB, free: 22.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/0.5516, allocations: 8.094 MB / 427 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/0.5516, allocations: 6.156 kB / 427 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002249/0.5539, allocations: 395.4 kB / 427.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003897/0.5578, allocations: 0.9231 MB / 428.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003744/0.5582, allocations: 58.59 kB / 428.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/0.5716, allocations: 10.43 MB / 438.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.475e-06/0.5716, allocations: 7.969 kB / 438.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/0.5841, allocations: 5.584 MB / 444.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/0.5863, allocations: 0.6459 MB / 445 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007112/0.587, allocations: 52.17 kB / 445.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/0.5891, allocations: 127.9 kB / 445.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005907/0.5897, allocations: 181.7 kB / 445.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/0.59, allocations: 55.98 kB / 445.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00393/0.5939, allocations: 1.684 MB / 447.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.504e-06/0.594, allocations: 0 / 447.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003879/0.5978, allocations: 0.7994 MB / 447.9 MB, free: 8.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007973/0.5987, allocations: 213.3 kB / 448.1 MB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.009224/0.6079, allocations: 3.931 MB / 452.1 MB, free: 4.695 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.125e-06/0.608, allocations: 0 / 452.1 MB, free: 4.695 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006164/0.6141, allocations: 2.501 MB / 454.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004559/0.6187, allocations: 0.727 MB / 455.3 MB, free: 1.395 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/0.6389, allocations: 9.124 MB / 464.4 MB, free: 8.223 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004807/0.6438, allocations: 2.795 MB / 467.2 MB, free: 5.402 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.6451, allocations: 183.4 kB / 467.4 MB, free: 5.227 MB / 346.7 MB Notification: Performance of SimCode: time 1.98e-06/0.6451, allocations: 4 kB / 467.4 MB, free: 5.223 MB / 346.7 MB Notification: Performance of Templates: time 0.4624/1.108, allocations: 134.1 MB / 0.5874 GB, free: 60.18 MB / 394.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.cpp:3180:28: error: use of undeclared identifier \'tmp37\'\n _transformerData_P_C1_ = tmp37;\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.cpp:3181:28: error: use of undeclared identifier \'tmp38\'\n _transformerData_P_C2_ = tmp38;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o] Error 1\n'