Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002373/0.00238, allocations: 189.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001202, allocations: 90.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003996, allocations: 12 kB / 327.1 MB, free: 15 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09649/0.09692, allocations: 47.58 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01771/0.1147, allocations: 10.34 MB / 385 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.1253, allocations: 4.148 MB / 389.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/0.1276, allocations: 59.69 kB / 389.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2588/0.3864, allocations: 0.7957 MB / 390 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.3917, allocations: 0.9801 MB / 391 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.394, allocations: 331.2 kB / 391.3 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007881/0.4019, allocations: 2.967 MB / 394.3 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006847/0.4089, allocations: 2.519 MB / 396.8 MB, free: 9.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004273/0.4132, allocations: 1.444 MB / 398.2 MB, free: 9.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005433/0.4187, allocations: 1.809 MB / 400 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001789/0.4205, allocations: 244.2 kB / 400.3 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.4241, allocations: 309.7 kB / 400.6 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00361/0.4278, allocations: 1.08 MB / 401.7 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003305/0.4311, allocations: 0.8436 MB / 402.5 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.4419, allocations: 5.945 MB / 408.4 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4419, allocations: 0 / 408.4 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4419, allocations: 2.406 kB / 408.4 MB, free: 6.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003147/0.4423, allocations: 1.75 kB / 408.4 MB, free: 6.227 MB / 282.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.01598/0.4583, allocations: 3.977 MB / 412.4 MB, free: 3.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.4583, allocations: 9.938 kB / 412.4 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00225/0.4606, allocations: 0.5049 MB / 412.9 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.4638, allocations: 498.4 kB / 413.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007915/0.4717, allocations: 2.318 MB / 415.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000376/0.4722, allocations: 274 kB / 416 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.4739, allocations: 352.2 kB / 416.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.4943, allocations: 4.973 MB / 421.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002845/0.4947, allocations: 7.938 kB / 421.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001791/0.4965, allocations: 147.4 kB / 421.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000483/0.497, allocations: 183.1 kB / 421.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/0.5197, allocations: 4.283 MB / 425.9 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06627/0.586, allocations: 14.95 MB / 440.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.5991, allocations: 4.199 MB / 445.1 MB, free: 5.762 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007854/0.5999, allocations: 127.1 kB / 445.2 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.6001, allocations: 60.5 kB / 445.3 MB, free: 5.555 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 8.295e-06/0.6001, allocations: 0 / 445.3 MB, free: 5.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.04378/0.6439, allocations: 10.32 MB / 455.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.644, allocations: 85.91 kB / 455.7 MB, free: 11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/0.6509, allocations: 2.443 MB / 458.1 MB, free: 8.539 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000564/0.6515, allocations: 61.7 kB / 458.2 MB, free: 8.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001824/0.6534, allocations: 1.497 MB / 459.7 MB, free: 6.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00142/0.6548, allocations: 0.7336 MB / 460.4 MB, free: 6.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/0.6552, allocations: 48 kB / 460.5 MB, free: 6.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003001/0.6555, allocations: 404.2 kB / 460.9 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/0.66, allocations: 1.324 MB / 462.2 MB, free: 4.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004909/0.6649, allocations: 1.782 MB / 464 MB, free: 2.488 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005464/0.6704, allocations: 1.577 MB / 465.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.408e-05/0.6705, allocations: 4 kB / 465.5 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01364/0.6842, allocations: 3.937 MB / 469.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.6843, allocations: 8 kB / 469.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/0.6843, allocations: 16.47 kB / 469.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005531/0.6899, allocations: 0.8886 MB / 470.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004536/0.6945, allocations: 0.5227 MB / 470.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02989/0.7244, allocations: 8.942 MB / 479.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006414/0.7309, allocations: 127.9 kB / 480 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/0.732, allocations: 80 kB / 480.1 MB, free: 1.961 MB / 346.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.007077/0.7391, allocations: 1.219 MB / 481.3 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00218/0.7413, allocations: 280.7 kB / 481.6 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02598/0.7674, allocations: 3.762 MB / 485.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.213e-05/0.7675, allocations: 20 kB / 485.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.661e-05/0.7676, allocations: 8 kB / 485.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.404e-05/0.7677, allocations: 11.97 kB / 485.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02803/0.7957, allocations: 8.096 MB / 493.4 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.944e-05/0.7958, allocations: 4 kB / 493.5 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003724/0.7996, allocations: 383.8 kB / 493.8 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006089/0.8057, allocations: 0.9292 MB / 494.8 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005621/0.8063, allocations: 51.98 kB / 494.8 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/0.8274, allocations: 10.43 MB / 0.4934 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.8274, allocations: 4 kB / 0.4934 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0184/0.8458, allocations: 5.795 MB / 0.4991 GB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002764/0.8487, allocations: 0.6344 MB / 0.4997 GB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/0.8499, allocations: 51.98 kB / 0.4997 GB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003397/0.8533, allocations: 127.9 kB / 0.4998 GB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/0.8545, allocations: 188.1 kB / 0.5 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002921/0.8548, allocations: 55.98 kB / 0.5001 GB, free: 1.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005146/0.8599, allocations: 1.684 MB / 0.5017 GB, free: 15.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.86, allocations: 0 / 0.5017 GB, free: 15.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005726/0.8657, allocations: 0.7968 MB / 0.5025 GB, free: 14.63 MB / 394.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.02006/0.8859, allocations: 7.127 MB / 0.5095 GB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01211/0.898, allocations: 3.936 MB / 0.5133 GB, free: 3.371 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.8981, allocations: 0 / 0.5133 GB, free: 3.371 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007814/0.9059, allocations: 2.498 MB / 0.5157 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006559/0.9125, allocations: 0.7234 MB / 0.5164 GB, free: 80 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3534/1.266, allocations: 32.84 MB / 0.5485 GB, free: 123.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005266/1.271, allocations: 2.796 MB / 0.5513 GB, free: 122.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003581/1.275, allocations: 1.417 MB / 0.5526 GB, free: 121.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/1.275, allocations: 0 / 0.5526 GB, free: 121.1 MB / 410.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_TransformerCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_TransformerCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_TransformerCalcHelperMain.cpp:34: ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer.cpp:3180:28: error: use of undeclared identifier 'tmp37' _transformerData_P_C1_ = tmp37; ^ ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer.cpp:3181:28: error: use of undeclared identifier 'tmp38' _transformerData_P_C2_ = tmp38; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_TransformerCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_TransformerFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_TransformerCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_TransformerCalcHelperMain.o] Error 1