Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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 3.2.3+maint.om/package.mo", uses=false) 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 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.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 108.6 kB / 17.81 MB, free: 5.559 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.001434/0.001434, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001408, allocations: 50.11 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1355, allocations: 46.62 MB / 327.3 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01685/0.1524, allocations: 10.19 MB / 337.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.1628, allocations: 3.44 MB / 340.9 MB, free: 7.207 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003316/0.1662, allocations: 51.75 kB / 340.9 MB, free: 7.156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003643/0.17, allocations: 0.6798 MB / 341.6 MB, free: 6.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005148/0.1752, allocations: 0.7498 MB / 342.4 MB, free: 5.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.1773, allocations: 379.6 kB / 342.7 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006378/0.1837, allocations: 3.094 MB / 345.8 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004438/0.1882, allocations: 1.989 MB / 347.8 MB, free: 196 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.1914, allocations: 1.097 MB / 348.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003707/0.1951, allocations: 1.529 MB / 350.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.1965, allocations: 208 kB / 350.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.1991, allocations: 319.8 kB / 351 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001994/0.2011, allocations: 0.8138 MB / 351.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003659/0.2048, allocations: 1.368 MB / 353.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007257/0.2121, allocations: 3.601 MB / 356.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.2121, allocations: 0 / 356.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.945e-06/0.2122, allocations: 0 / 356.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002234/0.2124, allocations: 7.938 kB / 356.7 MB, free: 7.23 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.0146/0.227, allocations: 3.057 MB / 359.8 MB, free: 4.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.335e-05/0.2271, allocations: 8.031 kB / 359.8 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.2288, allocations: 309.4 kB / 360.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005164/0.234, allocations: 1.513 MB / 361.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/0.2343, allocations: 180.5 kB / 361.8 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009638/0.2353, allocations: 219.9 kB / 362 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.2464, allocations: 2.917 MB / 364.9 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.2466, allocations: 3.906 kB / 364.9 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000372/0.247, allocations: 95.98 kB / 365 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/0.2472, allocations: 116.3 kB / 365.1 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008069/0.2553, allocations: 2.426 MB / 367.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03236/0.2877, allocations: 9.109 MB / 376.7 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004763/0.2926, allocations: 1.706 MB / 378.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3914/0.684, allocations: 0.9865 MB / 379.4 MB, free: 51.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006976/0.6848, allocations: 208.1 kB / 379.6 MB, free: 51.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.122e-05/0.6849, allocations: 42.92 kB / 379.6 MB, free: 51.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=105): time 7.263e-06/0.685, allocations: 0.9375 kB / 379.6 MB, free: 51.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.02191/0.7069, allocations: 6.525 MB / 386.1 MB, free: 49.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.707, allocations: 68.84 kB / 386.2 MB, free: 49.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004162/0.7112, allocations: 1.566 MB / 387.8 MB, free: 48.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002371/0.7114, allocations: 47.36 kB / 387.8 MB, free: 48.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.7128, allocations: 1.109 MB / 388.9 MB, free: 47.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005621/0.7133, allocations: 430 kB / 389.4 MB, free: 47.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006223/0.714, allocations: 273.4 kB / 389.6 MB, free: 47.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7141, allocations: 302.5 kB / 389.9 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.7159, allocations: 0.7056 MB / 390.6 MB, free: 46.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.7179, allocations: 1.14 MB / 391.8 MB, free: 45.87 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.7209, allocations: 1.971 MB / 393.7 MB, free: 44.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.721, allocations: 3.938 kB / 393.7 MB, free: 44.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.007085/0.7281, allocations: 2.517 MB / 396.3 MB, free: 43.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.7282, allocations: 11.75 kB / 396.3 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.004e-05/0.7282, allocations: 11.78 kB / 396.3 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.7294, allocations: 435.5 kB / 396.7 MB, free: 43.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.7307, allocations: 347.4 kB / 397 MB, free: 43.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007131/0.7378, allocations: 6.541 MB / 403.6 MB, free: 38.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.7404, allocations: 104.6 kB / 403.7 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004673/0.741, allocations: 71.11 kB / 403.8 MB, free: 38.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002915/0.7439, allocations: 0.712 MB / 404.5 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/0.745, allocations: 170.6 kB / 404.6 MB, free: 37.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005265/0.7503, allocations: 2.189 MB / 406.8 MB, free: 35.8 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.7503, allocations: 12 kB / 406.8 MB, free: 35.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/0.7504, allocations: 4 kB / 406.8 MB, free: 35.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.7504, allocations: 7.969 kB / 406.8 MB, free: 35.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/0.7628, allocations: 4.794 MB / 411.6 MB, free: 30.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/0.7629, allocations: 4.625 kB / 411.6 MB, free: 30.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009692/0.7639, allocations: 223.7 kB / 411.9 MB, free: 30.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.7652, allocations: 459.5 kB / 412.3 MB, free: 30.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/0.7654, allocations: 35.98 kB / 412.3 MB, free: 30.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008654/0.774, allocations: 7.973 MB / 420.3 MB, free: 21.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.669e-05/0.7741, allocations: 11.88 kB / 420.3 MB, free: 21.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006855/0.781, allocations: 3.21 MB / 423.5 MB, free: 18.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/0.7828, allocations: 398.9 kB / 423.9 MB, free: 17.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008966/0.7837, allocations: 35.98 kB / 424 MB, free: 17.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.7855, allocations: 87.84 kB / 424 MB, free: 17.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004269/0.7859, allocations: 108.7 kB / 424.2 MB, free: 17.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.7861, allocations: 36 kB / 424.2 MB, free: 17.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003259/0.7894, allocations: 1.07 MB / 425.3 MB, free: 16.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7894, allocations: 0 / 425.3 MB, free: 16.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003819/0.7932, allocations: 486.5 kB / 425.7 MB, free: 16.13 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007746/0.794, allocations: 194.5 kB / 425.9 MB, free: 15.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004837/0.7988, allocations: 2.283 MB / 428.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.81e-05/0.7989, allocations: 3.047 kB / 428.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003079/0.802, allocations: 1.477 MB / 429.7 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004921/0.807, allocations: 450.4 kB / 430.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.8211, allocations: 5.775 MB / 435.9 MB, free: 5.801 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002729/0.8239, allocations: 1.839 MB / 437.7 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000883/0.8249, allocations: 135.4 kB / 437.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of SimCode: time 1.473e-06/0.8249, allocations: 4 kB / 437.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of Templates: time 0.1456/0.9705, allocations: 73.56 MB / 0.4995 GB, free: 10.07 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_InverterCalcHelperMain.o] Error 1