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.AsynchronousInductionMachines.AIMC_Transformer.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.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.626/1.626, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003546, allocations: 8 kB / 233.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07014/0.07052, allocations: 38.78 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01598/0.08655, allocations: 10.5 MB / 282.4 MB, free: 1.648 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009489/0.09608, allocations: 4.105 MB / 286.5 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/0.09847, allocations: 59.69 kB / 286.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003077/0.1016, allocations: 0.8008 MB / 287.4 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004319/0.1059, allocations: 0.9892 MB / 288.4 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.1076, allocations: 327.5 kB / 288.7 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00607/0.1137, allocations: 2.994 MB / 291.7 MB, free: 8.359 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004831/0.1185, allocations: 2.522 MB / 294.2 MB, free: 5.789 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.1217, allocations: 1.464 MB / 295.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003587/0.1253, allocations: 1.809 MB / 297.5 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009124/0.1263, allocations: 247.9 kB / 297.7 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.1278, allocations: 311.9 kB / 298 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.1297, allocations: 1.075 MB / 299.1 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.1314, allocations: 0.8433 MB / 300 MB, free: 28 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1879/0.3193, allocations: 5.938 MB / 305.9 MB, free: 13.49 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.513e-06/0.3194, allocations: 0 / 305.9 MB, free: 13.49 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.311e-06/0.3194, allocations: 0 / 305.9 MB, free: 13.49 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002006/0.3196, allocations: 1.562 kB / 305.9 MB, free: 13.49 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.01088/0.3305, allocations: 3.963 MB / 309.9 MB, free: 11.24 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3305, allocations: 8.406 kB / 309.9 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/0.3332, allocations: 0.496 MB / 310.4 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006108/0.3393, allocations: 2.294 MB / 312.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/0.3397, allocations: 263.7 kB / 312.9 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.3409, allocations: 352.5 kB / 313.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.354, allocations: 4.981 MB / 318.2 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001295/0.3542, allocations: 6.984 kB / 318.3 MB, free: 8.941 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005413/0.3548, allocations: 144 kB / 318.4 MB, free: 8.941 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/0.355, allocations: 178.8 kB / 318.6 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.3662, allocations: 4.264 MB / 322.8 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03324/0.3995, allocations: 14.89 MB / 337.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007459/0.407, allocations: 4.196 MB / 341.9 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004465/0.4075, allocations: 134 kB / 342 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.186e-05/0.4076, allocations: 60.55 kB / 342.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=198): time 5.917e-06/0.4076, allocations: 2.406 kB / 342.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=218): time 0.03093/0.4386, allocations: 10.31 MB / 352.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.4387, allocations: 77.41 kB / 352.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005692/0.4444, allocations: 2.424 MB / 354.9 MB, free: 10.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004689/0.4449, allocations: 61.7 kB / 355 MB, free: 10.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001595/0.4465, allocations: 1.49 MB / 356.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001166/0.4477, allocations: 0.7278 MB / 357.2 MB, free: 8.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.448, allocations: 48 kB / 357.2 MB, free: 7.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003055/0.4483, allocations: 414.3 kB / 357.6 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/0.4516, allocations: 1.312 MB / 359 MB, free: 6.266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/0.4556, allocations: 1.804 MB / 360.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/0.4595, allocations: 1.566 MB / 362.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/0.4596, allocations: 11.7 kB / 362.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01048/0.4701, allocations: 3.941 MB / 366.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.4701, allocations: 12 kB / 366.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/0.4702, allocations: 12 kB / 366.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003958/0.4741, allocations: 0.8811 MB / 367.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.4772, allocations: 0.531 MB / 367.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/0.4924, allocations: 8.929 MB / 376.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.4951, allocations: 123.8 kB / 376.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004158/0.4955, allocations: 88 kB / 376.9 MB, free: 3.926 MB / 298.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 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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.003517/0.4991, allocations: 1.221 MB / 378.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009404/0.5, allocations: 276.7 kB / 378.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009625/0.5097, allocations: 3.76 MB / 382.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-05/0.5097, allocations: 20 kB / 382.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.221e-05/0.5098, allocations: 8 kB / 382.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.611e-05/0.5098, allocations: 11.97 kB / 382.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/0.5314, allocations: 8.087 MB / 390.2 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/0.5315, allocations: 4 kB / 390.2 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/0.5339, allocations: 383.1 kB / 390.6 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004368/0.5383, allocations: 0.94 MB / 391.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004202/0.5388, allocations: 51.98 kB / 391.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/0.5557, allocations: 10.43 MB / 402 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.651e-06/0.5557, allocations: 5.812 kB / 402 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.569, allocations: 5.583 MB / 407.6 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/0.5713, allocations: 0.6423 MB / 408.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007089/0.5721, allocations: 51.98 kB / 408.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/0.5741, allocations: 131.8 kB / 408.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005411/0.5746, allocations: 177.3 kB / 408.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/0.5749, allocations: 59.94 kB / 408.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003933/0.5788, allocations: 1.664 MB / 410.3 MB, free: 1.887 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.302e-06/0.5788, allocations: 4 kB / 410.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004306/0.5832, allocations: 0.8009 MB / 411.1 MB, free: 1.082 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 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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.0008402/0.584, allocations: 203.6 kB / 411.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.009368/0.5934, allocations: 3.933 MB / 415.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.92e-06/0.5935, allocations: 0 / 415.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006012/0.5995, allocations: 2.503 MB / 417.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004628/0.6042, allocations: 0.7195 MB / 418.5 MB, free: 9.684 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/0.6246, allocations: 9.096 MB / 427.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004788/0.6294, allocations: 2.788 MB / 430.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/0.6307, allocations: 187.4 kB / 430.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of SimCode: time 2.082e-06/0.6307, allocations: 2.625 kB / 430.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of Templates: time 0.3516/0.9824, allocations: 133.3 MB / 0.5507 GB, free: 22.04 MB / 362.7 MB make -j1 -f Modelica_3.2.1_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.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.cpp:3178:28: error: use of undeclared identifier \'tmp37\'\n _transformerData_P_C1_ = tmp37;\n ^\n./OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.cpp:3179:28: error: use of undeclared identifier \'tmp38\'\n _transformerData_P_C2_ = tmp38;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o] Error 1\n'