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.001383/0.001383, allocations: 110.3 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.002104/0.002104, 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 2.003/2.003, 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.001706/0.001706, allocations: 47.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1542, allocations: 46.63 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01421/0.1684, allocations: 10.07 MB / 337.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009636/0.1781, allocations: 3.245 MB / 340.6 MB, free: 7.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.1815, allocations: 47.75 kB / 340.6 MB, free: 7.465 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.1845, allocations: 0.6099 MB / 341.2 MB, free: 6.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004882/0.1894, allocations: 0.7615 MB / 342 MB, free: 6.086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1912, allocations: 363.7 kB / 342.3 MB, free: 5.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006101/0.1973, allocations: 3.378 MB / 345.7 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003299/0.2006, allocations: 2.06 MB / 347.8 MB, free: 224 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.2037, allocations: 1.164 MB / 348.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004015/0.2077, allocations: 1.623 MB / 350.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.2088, allocations: 216 kB / 350.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.2103, allocations: 331.7 kB / 351.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.2115, allocations: 0.8761 MB / 352 MB, free: 12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002851/0.2143, allocations: 1.458 MB / 353.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004878/0.2192, allocations: 3.835 MB / 357.3 MB, free: 6.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.2193, allocations: 0 / 357.3 MB, free: 6.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.2193, allocations: 0 / 357.3 MB, free: 6.699 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001865/0.2195, allocations: 0 / 357.3 MB, free: 6.699 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.01222/0.2317, allocations: 3.264 MB / 360.5 MB, free: 3.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.727e-05/0.2319, allocations: 8.031 kB / 360.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.2337, allocations: 333.2 kB / 360.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005324/0.239, allocations: 1.635 MB / 362.5 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/0.2394, allocations: 188.9 kB / 362.7 MB, free: 1.152 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/0.2405, allocations: 231.9 kB / 362.9 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.251, allocations: 3.133 MB / 366 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.2512, allocations: 4 kB / 366 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006864/0.2519, allocations: 92 kB / 366.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/0.252, allocations: 108.6 kB / 366.2 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007705/0.2598, allocations: 2.692 MB / 368.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/0.2863, allocations: 9.743 MB / 378.7 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3349/0.6213, allocations: 2.156 MB / 380.8 MB, free: 50.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003266/0.6246, allocations: 1.12 MB / 382 MB, free: 50.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005028/0.6252, allocations: 205.7 kB / 382.2 MB, free: 49.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/0.6252, allocations: 47 kB / 382.2 MB, free: 49.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 5.039e-06/0.6253, allocations: 1.062 kB / 382.2 MB, free: 49.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.02019/0.6455, allocations: 6.701 MB / 388.9 MB, free: 47.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.6456, allocations: 65.19 kB / 389 MB, free: 47.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/0.6496, allocations: 1.74 MB / 390.7 MB, free: 46.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.6498, allocations: 46.48 kB / 390.8 MB, free: 46.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008914/0.6507, allocations: 1.162 MB / 391.9 MB, free: 45.65 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.6511, allocations: 453.4 kB / 392.4 MB, free: 45.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004907/0.6516, allocations: 287.3 kB / 392.6 MB, free: 45.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.094e-05/0.6517, allocations: 302.2 kB / 392.9 MB, free: 44.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.6528, allocations: 0.7911 MB / 393.7 MB, free: 44.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.6543, allocations: 1.202 MB / 394.9 MB, free: 43.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/0.6573, allocations: 2.096 MB / 397 MB, free: 42.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.6573, allocations: 0 / 397 MB, free: 42.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004439/0.6618, allocations: 2.675 MB / 399.7 MB, free: 41.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.6618, allocations: 11.03 kB / 399.7 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.6619, allocations: 15.41 kB / 399.7 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.663, allocations: 417.5 kB / 400.1 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.6642, allocations: 367.9 kB / 400.5 MB, free: 41.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/0.6698, allocations: 6.472 MB / 407 MB, free: 35.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.6717, allocations: 118.4 kB / 407.1 MB, free: 35.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.6718, allocations: 64.7 kB / 407.1 MB, free: 35.21 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[3],idealCloser.control[2],idealCloser.control[1]) * 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 (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,11,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.001639/0.6734, allocations: 0.7977 MB / 407.9 MB, free: 34.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004965/0.6739, allocations: 185.8 kB / 408.1 MB, free: 34.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/0.6774, allocations: 2.376 MB / 410.5 MB, free: 31.8 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.6774, allocations: 12 kB / 410.5 MB, free: 31.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6774, allocations: 7.719 kB / 410.5 MB, free: 31.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.6774, allocations: 11.91 kB / 410.5 MB, free: 31.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007426/0.6849, allocations: 5.111 MB / 415.6 MB, free: 26.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.6849, allocations: 5.312 kB / 415.6 MB, free: 26.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008868/0.6858, allocations: 235.6 kB / 415.9 MB, free: 26.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.6868, allocations: 452.2 kB / 416.3 MB, free: 25.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.195e-05/0.6869, allocations: 40.86 kB / 416.4 MB, free: 25.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006133/0.6931, allocations: 7.935 MB / 424.3 MB, free: 17.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6931, allocations: 8 kB / 424.3 MB, free: 17.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005523/0.6986, allocations: 3.521 MB / 427.8 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.6998, allocations: 438.7 kB / 428.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/0.7001, allocations: 35.98 kB / 428.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009236/0.701, allocations: 83.91 kB / 428.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/0.7013, allocations: 120.7 kB / 428.5 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/0.7014, allocations: 40 kB / 428.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001565/0.703, allocations: 1.206 MB / 429.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.703, allocations: 0 / 429.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002003/0.705, allocations: 0.5064 MB / 430.2 MB, free: 11.34 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 (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,11,100.0%), (1,1,100.0%), (1,6,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.0004266/0.7054, allocations: 193.5 kB / 430.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003506/0.709, allocations: 2.45 MB / 432.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.709, allocations: 0 / 432.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.7111, allocations: 1.619 MB / 434.5 MB, free: 6.973 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.7135, allocations: 449.7 kB / 434.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/0.7217, allocations: 6.124 MB / 441.1 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/0.7235, allocations: 1.969 MB / 443 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/0.7242, allocations: 131.4 kB / 443.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7242, allocations: 0 / 443.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Templates: time 0.09546/0.8197, allocations: 79.16 MB / 0.5101 GB, free: 14.89 MB / 414.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++ -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.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