Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008944/0.0008947, allocations: 92.72 kB / 17.58 MB, free: 6.168 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.0009102/0.0009102, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.901/1.901, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004956/0.0004956, allocations: 8 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01175/0.1326, allocations: 8.965 MB / 337.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00777/0.1404, allocations: 3.095 MB / 341 MB, free: 7.977 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/0.1427, allocations: 43.75 kB / 341.1 MB, free: 7.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.1451, allocations: 0.5552 MB / 341.6 MB, free: 7.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.149, allocations: 0.7108 MB / 342.4 MB, free: 6.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1505, allocations: 263.5 kB / 342.6 MB, free: 6.402 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005216/0.1557, allocations: 3.051 MB / 345.7 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003484/0.1592, allocations: 1.619 MB / 347.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.1617, allocations: 1.004 MB / 348.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003542/0.1652, allocations: 1.389 MB / 349.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.1663, allocations: 152 kB / 349.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.168, allocations: 223.9 kB / 350 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001695/0.1697, allocations: 0.7671 MB / 350.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.1715, allocations: 0.551 MB / 351.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006222/0.1777, allocations: 3.74 MB / 355.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1777, allocations: 0 / 355.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1778, allocations: 0 / 355.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001799/0.1779, allocations: 0 / 355.1 MB, free: 9.84 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.00748/0.1854, allocations: 2.801 MB / 357.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.1855, allocations: 12.02 kB / 357.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.1871, allocations: 328.3 kB / 358.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003895/0.191, allocations: 1.573 MB / 359.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.1912, allocations: 192.6 kB / 360 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003652/0.1916, allocations: 235.9 kB / 360.2 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005863/0.1975, allocations: 3.121 MB / 363.3 MB, free: 1.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.747e-05/0.1975, allocations: 11.89 kB / 363.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.1978, allocations: 96 kB / 363.4 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.1979, allocations: 108.5 kB / 363.6 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004955/0.2029, allocations: 2.704 MB / 366.3 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.22, allocations: 9.783 MB / 376 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.2228, allocations: 2.181 MB / 378.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.2246, allocations: 1.136 MB / 379.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.2249, allocations: 211.2 kB / 379.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.225, allocations: 47.56 kB / 379.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.186e-06/0.225, allocations: 3.938 kB / 379.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.2328/0.4578, allocations: 6.786 MB / 386.4 MB, free: 48.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.4579, allocations: 65.62 kB / 386.5 MB, free: 48.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/0.4614, allocations: 1.729 MB / 388.2 MB, free: 48.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.4616, allocations: 51.81 kB / 388.2 MB, free: 48.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009701/0.4626, allocations: 1.159 MB / 389.4 MB, free: 47.22 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004571/0.4631, allocations: 450.2 kB / 389.8 MB, free: 46.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/0.4632, allocations: 30.59 kB / 389.9 MB, free: 46.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4633, allocations: 377.1 kB / 390.2 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.4648, allocations: 0.7989 MB / 391 MB, free: 46.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.4663, allocations: 1.209 MB / 392.2 MB, free: 45.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.4678, allocations: 0.9695 MB / 393.2 MB, free: 45.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.4678, allocations: 5.984 kB / 393.2 MB, free: 45.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004517/0.4724, allocations: 2.684 MB / 395.9 MB, free: 43.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.4724, allocations: 9.5 kB / 395.9 MB, free: 43.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/0.4725, allocations: 21.17 kB / 395.9 MB, free: 43.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009107/0.4734, allocations: 417.2 kB / 396.3 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.4745, allocations: 364.6 kB / 396.7 MB, free: 43.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005121/0.4797, allocations: 6.479 MB / 403.2 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.4811, allocations: 114.7 kB / 403.3 MB, free: 38.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.4812, allocations: 61.03 kB / 403.4 MB, free: 38.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * 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: 3 * 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: 3 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001416/0.4826, allocations: 0.7982 MB / 404.2 MB, free: 37.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.483, allocations: 183.7 kB / 404.3 MB, free: 37.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.4862, allocations: 2.393 MB / 406.7 MB, free: 36.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.4863, allocations: 12 kB / 406.7 MB, free: 36.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4863, allocations: 4 kB / 406.7 MB, free: 36.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.4863, allocations: 15.92 kB / 406.8 MB, free: 36.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006721/0.493, allocations: 5.139 MB / 411.9 MB, free: 30.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4931, allocations: 4.031 kB / 411.9 MB, free: 30.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/0.4939, allocations: 239.6 kB / 412.1 MB, free: 30.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000903/0.4949, allocations: 452.4 kB / 412.6 MB, free: 30.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.495, allocations: 31.98 kB / 412.6 MB, free: 30.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005625/0.5006, allocations: 7.933 MB / 420.5 MB, free: 21.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5006, allocations: 7.938 kB / 420.5 MB, free: 21.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004801/0.5054, allocations: 3.548 MB / 424.1 MB, free: 18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.5069, allocations: 438.8 kB / 424.5 MB, free: 17.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006349/0.5075, allocations: 31.98 kB / 424.6 MB, free: 17.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.5088, allocations: 99.86 kB / 424.6 MB, free: 17.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/0.5091, allocations: 125 kB / 424.8 MB, free: 17.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/0.5092, allocations: 39.98 kB / 424.8 MB, free: 17.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001698/0.5109, allocations: 1.186 MB / 426 MB, free: 16.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5109, allocations: 0 / 426 MB, free: 16.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002139/0.513, allocations: 0.5026 MB / 426.5 MB, free: 15.59 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003841/0.5134, allocations: 167 kB / 426.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003952/0.5174, allocations: 2.477 MB / 429.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.5174, allocations: 0 / 429.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.5197, allocations: 1.621 MB / 430.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/0.5229, allocations: 458.4 kB / 431.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009313/0.5322, allocations: 5.978 MB / 437.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.5342, allocations: 1.961 MB / 439.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007388/0.5349, allocations: 139.4 kB / 439.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of SimCode: time 1.533e-06/0.535, allocations: 0 / 439.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Templates: time 0.08652/0.6215, allocations: 78.79 MB / 0.5059 GB, free: 3.641 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOLCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOLCalcHelperMain.o] Error 1