Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009414/0.0009414, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.001123/0.001123, allocations: 176.3 kB / 17.84 MB, free: 5.617 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.567/1.567, allocations: 223.2 MB / 241.8 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003249, allocations: 12.44 kB / 301.5 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 50.42 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.3195/0.4566, allocations: 23.45 MB / 375.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01962/0.4763, allocations: 7.406 MB / 382.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006392/0.4828, allocations: 182.5 kB / 382.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007639/0.4904, allocations: 1.475 MB / 384.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.504, allocations: 2.748 MB / 387.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007153/0.5112, allocations: 1.247 MB / 388.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02634/0.5376, allocations: 14.63 MB / 403 MB, free: 1.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04739/0.585, allocations: 19.82 MB / 422.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01253/0.5976, allocations: 4.77 MB / 427.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01255/0.6102, allocations: 5.289 MB / 432.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003957/0.6142, allocations: 0.7188 MB / 433.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007631/0.6218, allocations: 1.07 MB / 434.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00537/0.6272, allocations: 2.231 MB / 436.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007927/0.6352, allocations: 2.313 MB / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03107/0.6663, allocations: 20.94 MB / 460.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.6663, allocations: 4 kB / 460.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6663, allocations: 0 / 460.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008495/0.6672, allocations: 0 / 460.2 MB, free: 9.562 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0415/0.7087, allocations: 12.26 MB / 472.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.7088, allocations: 8.031 kB / 472.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04533/0.7541, allocations: 8.464 MB / 480.9 MB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01892/0.7731, allocations: 7.388 MB / 488.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/0.7742, allocations: 0.8107 MB / 489.1 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005602/0.7798, allocations: 1.062 MB / 490.2 MB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06252/0.8424, allocations: 18.22 MB / 0.4965 GB, free: 9.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006675/0.8431, allocations: 19.8 kB / 0.4965 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005277/0.8484, allocations: 451.9 kB / 0.4969 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001048/0.8494, allocations: 0.6633 MB / 0.4976 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05328/0.9028, allocations: 17.46 MB / 0.5146 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6384/1.541, allocations: 58.85 MB / 0.5721 GB, free: 78.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02764/1.569, allocations: 37.43 MB / 0.6087 GB, free: 42.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006931/1.576, allocations: 4.151 MB / 0.6127 GB, free: 40.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/1.576, allocations: 201.5 kB / 0.6129 GB, free: 40.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.549e-05/1.577, allocations: 90.64 kB / 0.613 GB, free: 40.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=524): time 8.266e-06/1.577, allocations: 0 / 0.613 GB, free: 40.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=530): time 0.05294/1.63, allocations: 23.85 MB / 0.6363 GB, free: 16.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/1.63, allocations: 103.5 kB / 0.6364 GB, free: 15.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005887/1.636, allocations: 4.143 MB / 0.6404 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004276/1.636, allocations: 109.7 kB / 0.6405 GB, free: 11.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002354/1.638, allocations: 4.499 MB / 0.6449 GB, free: 7.148 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001544/1.64, allocations: 1.79 MB / 0.6467 GB, free: 5.375 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/1.64, allocations: 148 kB / 0.6468 GB, free: 5.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003575/1.641, allocations: 0.5918 MB / 0.6474 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004845/1.646, allocations: 3.461 MB / 0.6508 GB, free: 1.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008104/1.654, allocations: 5.901 MB / 0.6565 GB, free: 10.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008899/1.663, allocations: 4.775 MB / 0.6612 GB, free: 5.359 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-05/1.663, allocations: 24 kB / 0.6612 GB, free: 5.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.02147/1.684, allocations: 10.95 MB / 0.6719 GB, free: 10.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/1.684, allocations: 44.03 kB / 0.672 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001973/1.685, allocations: 79.98 kB / 0.672 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/1.689, allocations: 1.408 MB / 0.6734 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006948/1.696, allocations: 1.611 MB / 0.675 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/1.714, allocations: 10.58 MB / 0.6853 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006568/1.721, allocations: 407.3 kB / 0.6857 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/1.723, allocations: 336 kB / 0.686 GB, free: 11.71 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (843): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01101/1.734, allocations: 4.169 MB / 0.6901 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002063/1.736, allocations: 474.2 kB / 0.6905 GB, free: 7.059 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3881/2.124, allocations: 8.527 MB / 0.6989 GB, free: 149.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01719/2.142, allocations: 7.115 MB / 0.7058 GB, free: 148.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.603e-05/2.142, allocations: 11.31 kB / 0.7058 GB, free: 148.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000142/2.142, allocations: 30.97 kB / 0.7059 GB, free: 148.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04639/2.188, allocations: 19.38 MB / 0.7248 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/2.188, allocations: 7.906 kB / 0.7248 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003962/2.192, allocations: 0.9343 MB / 0.7257 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003256/2.196, allocations: 1.252 MB / 0.7269 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004695/2.196, allocations: 110.7 kB / 0.727 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/2.209, allocations: 9.307 MB / 0.7361 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/2.209, allocations: 11.72 kB / 0.7361 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02101/2.23, allocations: 12.33 MB / 0.7482 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004457/2.234, allocations: 1.176 MB / 0.7493 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002023/2.236, allocations: 95.98 kB / 0.7494 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004211/2.241, allocations: 282.5 kB / 0.7497 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/2.242, allocations: 347.3 kB / 0.75 GB, free: 126.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006176/2.242, allocations: 155.2 kB / 0.7502 GB, free: 126.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007525/2.25, allocations: 2.783 MB / 0.7529 GB, free: 123.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.21e-07/2.25, allocations: 0 / 0.7529 GB, free: 123.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01205/2.262, allocations: 1.931 MB / 0.7548 GB, free: 121.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00193/2.264, allocations: 308.4 kB / 0.7551 GB, free: 121.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01721/2.281, allocations: 8.761 MB / 0.7636 GB, free: 112.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/2.281, allocations: 8 kB / 0.7636 GB, free: 112.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007554/2.289, allocations: 4.214 MB / 0.7677 GB, free: 108.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00792/2.297, allocations: 1.087 MB / 0.7688 GB, free: 107.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04401/2.341, allocations: 22.75 MB / 0.791 GB, free: 84.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009839/2.351, allocations: 6.795 MB / 0.7977 GB, free: 77.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002766/2.354, allocations: 467.3 kB / 0.7981 GB, free: 77.38 MB / 478.1 MB Notification: Performance of SimCode: time 2.104e-06/2.354, allocations: 0 / 0.7981 GB, free: 77.38 MB / 478.1 MB Notification: Performance of Templates: time 0.5413/2.895, allocations: 180.5 MB / 0.9744 GB, free: 66.29 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o] Error 1