Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.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.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 93.61 kB / 16.95 MB, free: 5.297 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.001225/0.001225, allocations: 186.5 kB / 17.85 MB, free: 4.934 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.616/1.616, allocations: 223.2 MB / 241.9 MB, free: 20 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 8 kB / 301.5 MB, free: 6.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1505, allocations: 50.41 MB / 351.9 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.01167/0.1623, allocations: 9.641 MB / 361.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007859/0.1702, allocations: 3.409 MB / 364.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/0.1725, allocations: 55.75 kB / 365 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.1748, allocations: 0.6562 MB / 365.6 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.1779, allocations: 0.7186 MB / 366.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.179, allocations: 295.5 kB / 366.6 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004136/0.1831, allocations: 2.948 MB / 369.6 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.1857, allocations: 1.852 MB / 371.4 MB, free: 304 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.271/0.4568, allocations: 1.012 MB / 372.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004321/0.4612, allocations: 1.405 MB / 373.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008516/0.462, allocations: 154.5 kB / 374 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.4634, allocations: 227.5 kB / 374.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.4646, allocations: 0.7988 MB / 375 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.4657, allocations: 0.5691 MB / 375.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006365/0.4721, allocations: 3.918 MB / 379.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.4722, allocations: 5.797 kB / 379.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4722, allocations: 0 / 379.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002561/0.4724, allocations: 0 / 379.5 MB, free: 10.95 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: 659 * Number of variables: 659 Notification: Performance of Generate backend data structure: time 0.01039/0.4828, allocations: 2.89 MB / 382.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4829, allocations: 8.562 kB / 382.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.4847, allocations: 337.2 kB / 382.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003804/0.4885, allocations: 1.708 MB / 384.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.4887, allocations: 199.2 kB / 384.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004759/0.4892, allocations: 255 kB / 384.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006217/0.4954, allocations: 3.261 MB / 388.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.119e-05/0.4955, allocations: 13.11 kB / 388.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.4958, allocations: 104.4 kB / 388.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.4959, allocations: 121.6 kB / 388.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005085/0.501, allocations: 2.733 MB / 391.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.5174, allocations: 10.52 MB / 401.6 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.5192, allocations: 1.35 MB / 403 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.5206, allocations: 0.7945 MB / 403.8 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003337/0.5209, allocations: 204.9 kB / 404 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.521, allocations: 51.55 kB / 404 MB, free: 14.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 2.956e-06/0.521, allocations: 4 kB / 404 MB, free: 14.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.01619/0.5372, allocations: 6.925 MB / 411 MB, free: 7.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.5373, allocations: 64.41 kB / 411 MB, free: 7.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/0.5405, allocations: 1.774 MB / 412.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.5407, allocations: 49.69 kB / 412.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.5418, allocations: 1.27 MB / 414.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004355/0.5423, allocations: 427.5 kB / 414.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.5424, allocations: 38.19 kB / 414.6 MB, free: 4.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.5426, allocations: 369.9 kB / 414.9 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.5439, allocations: 0.7691 MB / 415.7 MB, free: 3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.5456, allocations: 1.287 MB / 417 MB, free: 1.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.5471, allocations: 0.9805 MB / 418 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.557e-06/0.5472, allocations: 4 kB / 418 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00454/0.5517, allocations: 2.473 MB / 420.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.5518, allocations: 12.09 kB / 420.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/0.5518, allocations: 20 kB / 420.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006518/0.5525, allocations: 242.8 kB / 420.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.5539, allocations: 411.4 kB / 421.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/0.557, allocations: 3.006 MB / 424.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.5591, allocations: 135.8 kB / 424.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.5593, allocations: 68 kB / 424.3 MB, free: 10.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (198): * Single equations (assignments): 194 * 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: 2 * 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: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002329/0.5616, allocations: 0.8145 MB / 425.1 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007047/0.5624, allocations: 185.7 kB / 425.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004288/0.5667, allocations: 2.049 MB / 427.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.5667, allocations: 16 kB / 427.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.5667, allocations: 0 / 427.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.5667, allocations: 7.969 kB / 427.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.5785, allocations: 4.752 MB / 432.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.5786, allocations: 4.062 kB / 432.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.5798, allocations: 269.7 kB / 432.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006131/0.5804, allocations: 199.3 kB / 432.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/0.5806, allocations: 24 kB / 432.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002966/0.5836, allocations: 2.975 MB / 435.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.5836, allocations: 7.375 kB / 435.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006004/0.5896, allocations: 3.129 MB / 438.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/0.5912, allocations: 440.4 kB / 439.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006914/0.5919, allocations: 24 kB / 439.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.5934, allocations: 95.94 kB / 439.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.5936, allocations: 84.22 kB / 439.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.5937, allocations: 39.92 kB / 439.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003176/0.5969, allocations: 1.208 MB / 440.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5969, allocations: 0 / 440.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003007/0.5999, allocations: 492 kB / 441.1 MB, free: 8.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (121): * Single equations (assignments): 117 * 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: 2 * 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: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005284/0.6005, allocations: 157.7 kB / 441.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004527/0.605, allocations: 2.347 MB / 443.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.6051, allocations: 0 / 443.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002204/0.6073, allocations: 1.341 MB / 444.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/0.6113, allocations: 479.2 kB / 445.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.6242, allocations: 5.854 MB / 451.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003197/0.6274, allocations: 1.981 MB / 453.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009566/0.6284, allocations: 147.4 kB / 453.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.423e-06/0.6284, allocations: 0 / 453.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of Templates: time 0.1141/0.7426, allocations: 82.2 MB / 0.523 GB, free: 10.29 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.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.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.o] Error 1