Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 97.66 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.001539/0.001539, allocations: 180.6 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.25/2.25, 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.0005376/0.0005379, allocations: 15.98 kB / 282.1 MB, free: 3.371 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1509, allocations: 47.58 MB / 329.6 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0351/0.1861, allocations: 23.36 MB / 353 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02575/0.212, allocations: 7.214 MB / 360.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009419/0.2215, allocations: 147.5 kB / 360.4 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009242/0.2308, allocations: 1.793 MB / 362.1 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01646/0.2473, allocations: 2.719 MB / 364.9 MB, free: 352 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008532/0.2559, allocations: 1.513 MB / 366.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02287/0.2788, allocations: 10.81 MB / 377.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.405/0.6839, allocations: 22.16 MB / 399.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009959/0.6939, allocations: 4.08 MB / 403.4 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01165/0.7056, allocations: 4.89 MB / 408.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004854/0.7105, allocations: 0.6408 MB / 409 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00841/0.7189, allocations: 1.002 MB / 410 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006191/0.7252, allocations: 1.984 MB / 412 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01413/0.7393, allocations: 4.847 MB / 416.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02533/0.7647, allocations: 19 MB / 435.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.7648, allocations: 4 kB / 435.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.7648, allocations: 0 / 435.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0009546/0.7658, allocations: 3.938 kB / 435.8 MB, free: 3.848 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03866/0.8044, allocations: 10.81 MB / 446.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/0.8045, allocations: 12.03 kB / 446.6 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04305/0.8476, allocations: 7.166 MB / 453.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/0.8652, allocations: 6.183 MB / 460 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/0.8663, allocations: 0.716 MB / 460.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007716/0.874, allocations: 0.9357 MB / 461.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0544/0.9284, allocations: 16.23 MB / 477.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000772/0.9292, allocations: 11.89 kB / 477.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005726/0.935, allocations: 402.5 kB / 478.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001048/0.9361, allocations: 0.5786 MB / 478.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05283/0.9889, allocations: 15.48 MB / 494.3 MB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1355/1.125, allocations: 52.98 MB / 0.5345 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.6137/1.738, allocations: 35.49 MB / 0.5691 GB, free: 109.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00878/1.747, allocations: 3.441 MB / 0.5725 GB, free: 109.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02346/1.771, allocations: 10.15 MB / 0.5824 GB, free: 104.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.536e-05/1.771, allocations: 65.67 kB / 0.5825 GB, free: 104.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=303): time 7.184e-06/1.771, allocations: 0 / 0.5825 GB, free: 104.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=309): time 0.03762/1.809, allocations: 15.22 MB / 0.5973 GB, free: 98.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/1.809, allocations: 89.31 kB / 0.5974 GB, free: 98.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006883/1.816, allocations: 3.854 MB / 0.6012 GB, free: 96.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007649/1.816, allocations: 73.45 kB / 0.6012 GB, free: 96.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002841/1.819, allocations: 4.251 MB / 0.6054 GB, free: 93.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001608/1.821, allocations: 1.074 MB / 0.6064 GB, free: 92.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005963/1.822, allocations: 433.5 kB / 0.6069 GB, free: 92.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.62e-05/1.822, allocations: 304.9 kB / 0.6072 GB, free: 92.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/1.825, allocations: 2.598 MB / 0.6097 GB, free: 91.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005307/1.831, allocations: 4.958 MB / 0.6145 GB, free: 87.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009209/1.84, allocations: 8.025 MB / 0.6224 GB, free: 78.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.533e-05/1.84, allocations: 27.94 kB / 0.6224 GB, free: 78.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01453/1.855, allocations: 8.711 MB / 0.6309 GB, free: 69.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/1.855, allocations: 39.94 kB / 0.6309 GB, free: 69.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001504/1.855, allocations: 80 kB / 0.631 GB, free: 69.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/1.858, allocations: 1.219 MB / 0.6322 GB, free: 68.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003996/1.862, allocations: 1.221 MB / 0.6334 GB, free: 67.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/1.874, allocations: 9.156 MB / 0.6423 GB, free: 57.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005461/1.88, allocations: 331.4 kB / 0.6427 GB, free: 57.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008086/1.881, allocations: 284 kB / 0.6429 GB, free: 57.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (641): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007331/1.888, allocations: 3.736 MB / 0.6466 GB, free: 53.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.889, allocations: 379.3 kB / 0.6469 GB, free: 53.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00952/1.898, allocations: 5.878 MB / 0.6527 GB, free: 47.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006557/1.905, allocations: 4.837 MB / 0.6574 GB, free: 42.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.905, allocations: 8 kB / 0.6574 GB, free: 42.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/1.905, allocations: 15.94 kB / 0.6574 GB, free: 42.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/1.926, allocations: 13.82 MB / 0.6709 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.926, allocations: 4 kB / 0.6709 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/1.928, allocations: 0.566 MB / 0.6715 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/1.931, allocations: 1.082 MB / 0.6725 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/1.931, allocations: 71.92 kB / 0.6726 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/1.942, allocations: 8.063 MB / 0.6805 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.942, allocations: 4 kB / 0.6805 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/1.954, allocations: 8.633 MB / 0.6889 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0023/1.956, allocations: 0.8866 MB / 0.6898 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004612/1.957, allocations: 60 kB / 0.6898 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.959, allocations: 191.9 kB / 0.69 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005748/1.959, allocations: 234.6 kB / 0.6902 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.96, allocations: 91.98 kB / 0.6903 GB, free: 8.363 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003731/1.963, allocations: 2.581 MB / 0.6928 GB, free: 5.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.963, allocations: 0 / 0.6928 GB, free: 5.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006502/1.97, allocations: 1.553 MB / 0.6944 GB, free: 4.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (285): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006676/1.97, allocations: 247.7 kB / 0.6946 GB, free: 4.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01137/1.982, allocations: 6.586 MB / 0.701 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.982, allocations: 4.062 kB / 0.701 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005795/1.988, allocations: 3.006 MB / 0.704 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006843/1.995, allocations: 0.8878 MB / 0.7048 GB, free: 9.504 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2973/2.292, allocations: 20.09 MB / 0.7245 GB, free: 143.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01011/2.302, allocations: 6.047 MB / 0.7304 GB, free: 142.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/2.304, allocations: 350.8 kB / 0.7307 GB, free: 142.4 MB / 462.1 MB Notification: Performance of SimCode: time 2.605e-06/2.304, allocations: 3.969 kB / 0.7307 GB, free: 142.4 MB / 462.1 MB Notification: Performance of Templates: time 0.5207/2.825, allocations: 155.7 MB / 0.8827 GB, free: 132.6 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o] Error 1