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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|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.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|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.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002616/0.002616, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.053/4.053, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.002319/0.002319, allocations: 89.3 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005959/0.0005961, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5234/0.5241, allocations: 47.58 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.02241/0.5466, allocations: 10.34 MB / 384.9 MB, free: 37.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.5616, allocations: 4.151 MB / 389 MB, free: 34.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003718/0.5653, allocations: 68.5 kB / 389.1 MB, free: 34.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005553/0.571, allocations: 0.7992 MB / 389.9 MB, free: 33.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00725/0.5783, allocations: 0.9883 MB / 390.9 MB, free: 32.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.5809, allocations: 328.9 kB / 391.2 MB, free: 32.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009535/0.5905, allocations: 2.968 MB / 394.2 MB, free: 29.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007268/0.5979, allocations: 2.526 MB / 396.7 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004314/0.6022, allocations: 1.44 MB / 398.1 MB, free: 25.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005464/0.6078, allocations: 1.817 MB / 400 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001996/0.6099, allocations: 244 kB / 400.2 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.6131, allocations: 299.9 kB / 400.5 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003162/0.6164, allocations: 1.087 MB / 401.6 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002965/0.6194, allocations: 0.8394 MB / 402.4 MB, free: 20.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02412/0.6436, allocations: 5.945 MB / 408.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.6437, allocations: 0 / 408.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.928e-06/0.6437, allocations: 0 / 408.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002849/0.644, allocations: 0 / 408.4 MB, free: 14.91 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.03034/0.6744, allocations: 3.974 MB / 412.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.021e-05/0.6745, allocations: 12.02 kB / 412.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004227/0.6787, allocations: 0.4908 MB / 412.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.6903, allocations: 2.314 MB / 415.1 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007086/0.6911, allocations: 267 kB / 415.4 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002217/0.6934, allocations: 347.9 kB / 415.7 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0242/0.7176, allocations: 4.978 MB / 420.7 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002569/0.718, allocations: 15.83 kB / 420.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001772/0.7198, allocations: 144 kB / 420.9 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003361/0.7201, allocations: 179.1 kB / 421.1 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.7421, allocations: 4.287 MB / 425.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07399/0.8162, allocations: 14.96 MB / 440.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/0.8296, allocations: 4.193 MB / 444.5 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007224/0.8304, allocations: 135.1 kB / 444.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.784e-05/0.8306, allocations: 56.56 kB / 444.7 MB, free: 9.738 MB / 330.7 MB Notification: Performance of pre-optimization done (n=198): time 7.354e-06/0.8306, allocations: 0 / 444.7 MB, free: 9.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=218): time 0.05932/0.8899, allocations: 10.33 MB / 455 MB, free: 15.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.8901, allocations: 73.41 kB / 455.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01118/0.9013, allocations: 2.451 MB / 457.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006543/0.902, allocations: 61.7 kB / 457.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003083/0.9051, allocations: 1.502 MB / 459.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00211/0.9073, allocations: 0.7316 MB / 459.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/0.9078, allocations: 47.94 kB / 459.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005059/0.9083, allocations: 403.5 kB / 460.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006426/0.9147, allocations: 1.32 MB / 461.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007551/0.9223, allocations: 1.794 MB / 463.4 MB, free: 6.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007548/0.93, allocations: 1.571 MB / 465 MB, free: 5.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.088e-05/0.9301, allocations: 4 kB / 465 MB, free: 5.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.02067/0.9508, allocations: 3.933 MB / 468.9 MB, free: 1.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/0.9509, allocations: 12 kB / 468.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.017e-05/0.951, allocations: 12 kB / 468.9 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007716/0.9587, allocations: 0.8831 MB / 469.8 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005677/0.9644, allocations: 0.5228 MB / 470.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02916/0.9937, allocations: 8.937 MB / 479.3 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/0.9985, allocations: 127.9 kB / 479.4 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/0.9996, allocations: 84 kB / 479.5 MB, free: 6.094 MB / 362.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.006078/1.006, allocations: 1.217 MB / 480.7 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001834/1.008, allocations: 272.7 kB / 480.9 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02489/1.033, allocations: 3.765 MB / 484.7 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-05/1.033, allocations: 28 kB / 484.7 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.148e-05/1.033, allocations: 8.078 kB / 484.8 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.83e-05/1.033, allocations: 11.95 kB / 484.8 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04271/1.076, allocations: 8.087 MB / 492.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.204e-05/1.076, allocations: 7.984 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004593/1.08, allocations: 391.8 kB / 493.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008779/1.089, allocations: 0.9242 MB / 494.2 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006536/1.09, allocations: 55.97 kB / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5029/1.593, allocations: 10.42 MB / 0.4928 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.137e-05/1.593, allocations: 4.156 kB / 0.4928 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02551/1.618, allocations: 5.797 MB / 0.4985 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003722/1.622, allocations: 0.6355 MB / 0.4991 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001697/1.624, allocations: 48.58 kB / 0.4991 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004417/1.628, allocations: 131 kB / 0.4993 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001256/1.63, allocations: 184.8 kB / 0.4994 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007153/1.63, allocations: 61.61 kB / 0.4995 GB, free: 100.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007248/1.638, allocations: 1.677 MB / 0.5011 GB, free: 99.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.543e-06/1.638, allocations: 0 / 0.5011 GB, free: 99.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006843/1.645, allocations: 0.7987 MB / 0.5019 GB, free: 99.92 MB / 378.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.00166/1.646, allocations: 201.1 kB / 0.5021 GB, free: 99.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01497/1.661, allocations: 3.929 MB / 0.5059 GB, free: 98.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/1.662, allocations: 0 / 0.5059 GB, free: 98.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009314/1.671, allocations: 2.51 MB / 0.5084 GB, free: 96.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008279/1.679, allocations: 0.7206 MB / 0.5091 GB, free: 96.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04758/1.727, allocations: 9.127 MB / 0.518 GB, free: 87.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01897/1.746, allocations: 2.785 MB / 0.5207 GB, free: 84.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002184/1.748, allocations: 187.4 kB / 0.5209 GB, free: 84.26 MB / 378.7 MB Notification: Performance of SimCode: time 3.166e-06/1.748, allocations: 0 / 0.5209 GB, free: 84.26 MB / 378.7 MB Notification: Performance of Templates: time 0.8957/2.644, allocations: 134.1 MB / 0.6518 GB, free: 143.8 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile make -j1 -f Modelica_3.2.3_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -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\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.3_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.3_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.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o] Error 1\n'