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.001014/0.001015, allocations: 98.39 kB / 17.96 MB, free: 5.77 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.001439/0.001439, allocations: 176 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 225 MB, free: 12.99 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.000555/0.0005551, allocations: 11.98 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1649, allocations: 47.59 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.0136/0.1786, allocations: 9.654 MB / 339.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1894, allocations: 3.417 MB / 342.7 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002976/0.1925, allocations: 47.75 kB / 342.7 MB, free: 6.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003094/0.1956, allocations: 0.6759 MB / 343.4 MB, free: 5.895 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.1996, allocations: 0.742 MB / 344.2 MB, free: 5.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.2009, allocations: 379.6 kB / 344.5 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005261/0.2062, allocations: 3.094 MB / 347.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003223/0.2094, allocations: 1.97 MB / 349.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/0.2121, allocations: 0.949 MB / 350.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.2144, allocations: 1.342 MB / 351.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002684/0.2147, allocations: 144 kB / 352 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007758/0.2155, allocations: 255.8 kB / 352.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.2165, allocations: 0.7124 MB / 353 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.2183, allocations: 1.272 MB / 354.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003993/0.2223, allocations: 3.514 MB / 357.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.2223, allocations: 0 / 357.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.2223, allocations: 0 / 357.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.721e-05/0.2224, allocations: 0 / 357.8 MB, free: 7.426 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.006709/0.2291, allocations: 2.597 MB / 360.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.2292, allocations: 8.031 kB / 360.4 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009516/0.2302, allocations: 321.4 kB / 360.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/0.2332, allocations: 1.509 MB / 362.2 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.2334, allocations: 180.5 kB / 362.4 MB, free: 2.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004222/0.2339, allocations: 219.9 kB / 362.6 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006266/0.2401, allocations: 2.925 MB / 365.5 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.947e-05/0.2402, allocations: 7.984 kB / 365.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.2405, allocations: 91.98 kB / 365.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.2406, allocations: 116.3 kB / 365.7 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004923/0.2456, allocations: 2.449 MB / 368.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01821/0.2638, allocations: 9.156 MB / 377.3 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.2666, allocations: 1.722 MB / 379 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/0.2686, allocations: 0.9995 MB / 380 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.2689, allocations: 203.2 kB / 380.2 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.269, allocations: 51.5 kB / 380.3 MB, free: 216 kB / 318.1 MB Notification: Performance of pre-optimization done (n=105): time 4.338e-06/0.269, allocations: 0 / 380.3 MB, free: 216 kB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.3653/0.6343, allocations: 6.656 MB / 387 MB, free: 49.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.6344, allocations: 64.45 kB / 387 MB, free: 49.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/0.6381, allocations: 1.564 MB / 388.6 MB, free: 48.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.6383, allocations: 46.52 kB / 388.6 MB, free: 48.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.64, allocations: 1.108 MB / 389.7 MB, free: 47.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005687/0.6406, allocations: 429.5 kB / 390.2 MB, free: 47.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/0.6409, allocations: 125.1 kB / 390.3 MB, free: 47.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.641, allocations: 310 kB / 390.6 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.6429, allocations: 0.7125 MB / 391.3 MB, free: 46.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.6449, allocations: 1.156 MB / 392.4 MB, free: 46.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.648, allocations: 1.987 MB / 394.4 MB, free: 44.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.648, allocations: 4.438 kB / 394.4 MB, free: 44.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005766/0.6538, allocations: 2.54 MB / 397 MB, free: 43.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.6538, allocations: 12.22 kB / 397 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/0.6539, allocations: 19.75 kB / 397 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.6549, allocations: 426.6 kB / 397.4 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.6561, allocations: 350.7 kB / 397.8 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006335/0.6625, allocations: 6.548 MB / 404.3 MB, free: 38.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.6644, allocations: 111.9 kB / 404.4 MB, free: 38.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.6645, allocations: 62.98 kB / 404.5 MB, free: 38.32 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.001892/0.6664, allocations: 0.7213 MB / 405.2 MB, free: 37.83 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005077/0.6669, allocations: 172.2 kB / 405.4 MB, free: 37.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/0.6707, allocations: 2.206 MB / 407.6 MB, free: 35.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.6707, allocations: 15.94 kB / 407.6 MB, free: 35.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.6707, allocations: 4 kB / 407.6 MB, free: 35.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.6708, allocations: 7.969 kB / 407.6 MB, free: 35.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00733/0.6781, allocations: 4.814 MB / 412.4 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.6781, allocations: 4 kB / 412.4 MB, free: 30.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/0.679, allocations: 232.2 kB / 412.7 MB, free: 30.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.68, allocations: 453.7 kB / 413.1 MB, free: 30.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/0.6801, allocations: 35.97 kB / 413.1 MB, free: 30.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006298/0.6864, allocations: 7.984 MB / 421.1 MB, free: 21.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.6865, allocations: 7.938 kB / 421.1 MB, free: 21.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004743/0.6912, allocations: 3.255 MB / 424.4 MB, free: 18.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.6923, allocations: 402.8 kB / 424.8 MB, free: 17.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.6925, allocations: 28 kB / 424.8 MB, free: 17.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.6934, allocations: 99.83 kB / 424.9 MB, free: 17.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.6937, allocations: 100.8 kB / 425 MB, free: 17.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.381e-05/0.6937, allocations: 39.98 kB / 425 MB, free: 17.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001526/0.6953, allocations: 1.07 MB / 426.1 MB, free: 16.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6953, allocations: 0 / 426.1 MB, free: 16.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002024/0.6973, allocations: 490.8 kB / 426.6 MB, free: 15.97 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.0004072/0.6977, allocations: 196.1 kB / 426.8 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003519/0.7013, allocations: 2.297 MB / 429.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.7013, allocations: 4 kB / 429.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002311/0.7036, allocations: 1.489 MB / 430.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/0.7067, allocations: 453.6 kB / 431 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008701/0.7154, allocations: 5.921 MB / 436.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/0.7169, allocations: 1.831 MB / 438.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/0.7174, allocations: 139.4 kB / 438.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of SimCode: time 1.423e-06/0.7174, allocations: 0 / 438.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of Templates: time 0.1066/0.824, allocations: 73.23 MB / 0.5001 GB, free: 10.05 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