Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.0009123, allocations: 91.56 kB / 16.95 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009396/0.0009398, allocations: 182.5 kB / 17.84 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 223.2 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003208, allocations: 8 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1514, allocations: 50.41 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01191/0.1633, allocations: 7.798 MB / 359.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007856/0.1713, allocations: 2.666 MB / 362.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.1737, allocations: 43.81 kB / 362.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.1768, allocations: 493.1 kB / 362.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004069/0.1809, allocations: 0.606 MB / 363.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1821, allocations: 199.7 kB / 363.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00497/0.1871, allocations: 2.3 MB / 366 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.1903, allocations: 1.22 MB / 367.2 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.1928, allocations: 0.7743 MB / 368 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.196, allocations: 1.058 MB / 369 MB, free: 2.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004358/0.1964, allocations: 116 kB / 369.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1975, allocations: 179.9 kB / 369.3 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007965/0.1983, allocations: 0.5841 MB / 369.9 MB, free: 1.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.1993, allocations: 432.6 kB / 370.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3706/0.5699, allocations: 2.822 MB / 373.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.57, allocations: 0 / 373.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.57, allocations: 1.656 kB / 373.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002207/0.5702, allocations: 0 / 373.1 MB, free: 12.59 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.009758/0.58, allocations: 2.139 MB / 375.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.994e-05/0.5801, allocations: 8.375 kB / 375.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/0.5828, allocations: 254.6 kB / 375.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005368/0.5882, allocations: 1.226 MB / 376.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.5884, allocations: 135.9 kB / 376.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009017/0.5893, allocations: 176.2 kB / 377.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00841/0.5977, allocations: 2.374 MB / 379.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.5979, allocations: 6.984 kB / 379.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/0.5982, allocations: 72.83 kB / 379.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002655/0.5985, allocations: 97.19 kB / 379.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006021/0.6045, allocations: 1.967 MB / 381.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/0.6209, allocations: 7.17 MB / 388.7 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.623, allocations: 1.286 MB / 390 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.6248, allocations: 0.881 MB / 390.9 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.625, allocations: 125 kB / 391 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.6251, allocations: 46.45 kB / 391.1 MB, free: 7.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.406e-06/0.6251, allocations: 0 / 391.1 MB, free: 7.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01463/0.6397, allocations: 6.19 MB / 397.3 MB, free: 4.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.6398, allocations: 67.23 kB / 397.3 MB, free: 3.977 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.6418, allocations: 1.202 MB / 398.5 MB, free: 3.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.6419, allocations: 44.14 kB / 398.6 MB, free: 3.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006199/0.6425, allocations: 0.8651 MB / 399.4 MB, free: 2.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.6428, allocations: 368.3 kB / 399.8 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.6429, allocations: 25.16 kB / 399.8 MB, free: 2.172 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6431, allocations: 349.6 kB / 400.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.6441, allocations: 0.6269 MB / 400.8 MB, free: 1.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.6452, allocations: 0.922 MB / 401.7 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.6463, allocations: 0.76 MB / 402.5 MB, free: 16 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.6463, allocations: 8 kB / 402.5 MB, free: 8 kB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004442/0.6508, allocations: 2.232 MB / 404.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.6508, allocations: 8 kB / 404.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.6509, allocations: 10.31 kB / 404.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.652, allocations: 480.8 kB / 405.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.6531, allocations: 281.3 kB / 405.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007444/0.6605, allocations: 6.42 MB / 411.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.6623, allocations: 83.92 kB / 412 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.6624, allocations: 51.98 kB / 412 MB, free: 6.125 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * 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 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001567/0.664, allocations: 0.6058 MB / 412.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.6644, allocations: 137.2 kB / 412.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/0.6684, allocations: 2.036 MB / 414.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.6684, allocations: 15.98 kB / 414.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.6684, allocations: 8 kB / 414.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.6685, allocations: 7.984 kB / 414.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008623/0.6771, allocations: 4.227 MB / 419.1 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.6772, allocations: 4 kB / 419.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008041/0.678, allocations: 185.2 kB / 419.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.6793, allocations: 0.5143 MB / 419.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-05/0.6794, allocations: 35.98 kB / 419.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008647/0.6881, allocations: 7.925 MB / 427.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/0.6881, allocations: 11.05 kB / 427.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/0.6939, allocations: 2.957 MB / 430.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/0.6953, allocations: 347.3 kB / 431 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005746/0.6959, allocations: 27.98 kB / 431.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.6971, allocations: 83.92 kB / 431.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/0.6974, allocations: 87.64 kB / 431.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.6975, allocations: 31.98 kB / 431.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001951/0.6995, allocations: 0.8265 MB / 432.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6995, allocations: 0 / 432.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002814/0.7023, allocations: 415.9 kB / 432.5 MB, free: 0.9844 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * 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 (88): * Single equations (assignments): 83 * 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%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005943/0.703, allocations: 156.9 kB / 432.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004467/0.7074, allocations: 2.161 MB / 434.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.7075, allocations: 0 / 434.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/0.7101, allocations: 1.488 MB / 436.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.7132, allocations: 373.9 kB / 436.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009891/0.7232, allocations: 4.718 MB / 441.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/0.7256, allocations: 1.614 MB / 443 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000671/0.7263, allocations: 107.4 kB / 443.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of SimCode: time 1.343e-06/0.7263, allocations: 0 / 443.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of Templates: time 0.0978/0.8241, allocations: 67.65 MB / 0.4988 GB, free: 2.602 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile clang++ NOTFOUND -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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterCalcHelperMain.o] Error 1