Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009171/0.0009173, allocations: 89.47 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000999/0.000999, allocations: 203 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002805, allocations: 4 kB / 307.3 MB, free: 1.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 51.49 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.358/0.5054, allocations: 23.5 MB / 382.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02674/0.5322, allocations: 7.497 MB / 389.8 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01221/0.5445, allocations: 186.1 kB / 390 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01192/0.5565, allocations: 1.487 MB / 391.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01956/0.5761, allocations: 2.74 MB / 394.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008638/0.5848, allocations: 1.266 MB / 395.5 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03454/0.6194, allocations: 14.74 MB / 410.2 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05949/0.6789, allocations: 19.85 MB / 430.1 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01553/0.6946, allocations: 4.77 MB / 434.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01709/0.7117, allocations: 5.293 MB / 440.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00614/0.7179, allocations: 0.7188 MB / 440.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01175/0.7297, allocations: 1.089 MB / 442 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007539/0.7373, allocations: 2.227 MB / 444.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01042/0.7478, allocations: 2.317 MB / 446.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03994/0.7878, allocations: 20.96 MB / 467.5 MB, free: 64 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.715e-05/0.7879, allocations: 0 / 467.5 MB, free: 64 kB / 366.1 MB Notification: Performance of FrontEnd: time 7.655e-06/0.7879, allocations: 0 / 467.5 MB, free: 64 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001428/0.7893, allocations: 0 / 467.5 MB, free: 64 kB / 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.05349/0.8429, allocations: 12.28 MB / 479.7 MB, free: 3.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.765e-05/0.843, allocations: 8.031 kB / 479.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05239/0.8954, allocations: 8.492 MB / 488.2 MB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0258/0.9213, allocations: 7.376 MB / 495.6 MB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00177/0.9232, allocations: 0.8108 MB / 496.4 MB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009008/0.9322, allocations: 1.062 MB / 497.5 MB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08754/1.02, allocations: 18.22 MB / 0.5036 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001103/1.021, allocations: 19.91 kB / 0.5036 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008794/1.03, allocations: 444 kB / 0.5041 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001588/1.032, allocations: 0.6672 MB / 0.5047 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06377/1.095, allocations: 17.46 MB / 0.5218 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6922/1.788, allocations: 59.98 MB / 0.5804 GB, free: 93.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02987/1.818, allocations: 37.43 MB / 0.6169 GB, free: 57.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00747/1.825, allocations: 4.146 MB / 0.621 GB, free: 55.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005681/1.826, allocations: 274.2 kB / 0.6212 GB, free: 54.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/1.826, allocations: 96.02 kB / 0.6213 GB, free: 54.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=524): time 7.444e-06/1.826, allocations: 0 / 0.6213 GB, free: 54.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=530): time 0.05437/1.88, allocations: 23.85 MB / 0.6446 GB, free: 31.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/1.88, allocations: 111.5 kB / 0.6447 GB, free: 31.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006864/1.887, allocations: 4.148 MB / 0.6488 GB, free: 27.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008126/1.888, allocations: 109.7 kB / 0.6489 GB, free: 27.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002576/1.891, allocations: 4.501 MB / 0.6533 GB, free: 22.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001982/1.893, allocations: 1.796 MB / 0.655 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/1.893, allocations: 140 kB / 0.6551 GB, free: 20.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003408/1.893, allocations: 0.5995 MB / 0.6557 GB, free: 20.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/1.898, allocations: 3.457 MB / 0.6591 GB, free: 16.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005875/1.904, allocations: 5.901 MB / 0.6649 GB, free: 9.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006552/1.911, allocations: 4.783 MB / 0.6695 GB, free: 4.859 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.245e-05/1.911, allocations: 24 kB / 0.6696 GB, free: 4.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.02118/1.932, allocations: 10.94 MB / 0.6802 GB, free: 9.801 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/1.932, allocations: 40.06 kB / 0.6803 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001901/1.932, allocations: 80 kB / 0.6804 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00413/1.937, allocations: 1.406 MB / 0.6817 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007509/1.944, allocations: 1.618 MB / 0.6833 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/1.965, allocations: 10.57 MB / 0.6936 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008094/1.973, allocations: 415.3 kB / 0.694 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002364/1.975, allocations: 336 kB / 0.6944 GB, free: 11.21 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.01388/1.989, allocations: 4.172 MB / 0.6984 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002667/1.992, allocations: 482.1 kB / 0.6989 GB, free: 6.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02368/2.016, allocations: 8.535 MB / 0.7072 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01676/2.033, allocations: 7.117 MB / 0.7142 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-05/2.033, allocations: 15.95 kB / 0.7142 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001717/2.033, allocations: 27.89 kB / 0.7142 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4155/2.449, allocations: 19.37 MB / 0.7331 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/2.449, allocations: 2.875 kB / 0.7331 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005244/2.454, allocations: 0.9427 MB / 0.7341 GB, free: 158.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004267/2.458, allocations: 1.25 MB / 0.7353 GB, free: 158.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009773/2.459, allocations: 110.8 kB / 0.7354 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/2.474, allocations: 9.299 MB / 0.7445 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/2.474, allocations: 7.5 kB / 0.7445 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02431/2.498, allocations: 12.34 MB / 0.7565 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004635/2.503, allocations: 1.175 MB / 0.7577 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002293/2.505, allocations: 91.56 kB / 0.7578 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004501/2.51, allocations: 283.4 kB / 0.758 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001498/2.511, allocations: 351.3 kB / 0.7584 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007553/2.512, allocations: 148.6 kB / 0.7585 GB, free: 147.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007519/2.519, allocations: 2.784 MB / 0.7612 GB, free: 146.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.61e-07/2.519, allocations: 3.906 kB / 0.7612 GB, free: 146.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0118/2.531, allocations: 1.94 MB / 0.7631 GB, free: 146.4 MB / 494.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.001803/2.533, allocations: 323.5 kB / 0.7634 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01853/2.552, allocations: 8.759 MB / 0.772 GB, free: 138.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/2.552, allocations: 7.844 kB / 0.772 GB, free: 138.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009024/2.561, allocations: 4.215 MB / 0.7761 GB, free: 134.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009854/2.571, allocations: 1.085 MB / 0.7772 GB, free: 133.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04797/2.619, allocations: 22.79 MB / 0.7994 GB, free: 110.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00813/2.627, allocations: 6.799 MB / 0.8061 GB, free: 104.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002526/2.629, allocations: 467.3 kB / 0.8065 GB, free: 103.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.392e-06/2.629, allocations: 0 / 0.8065 GB, free: 103.6 MB / 494.1 MB Notification: Performance of Templates: time 0.611/3.24, allocations: 180.7 MB / 0.983 GB, free: 92.07 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o] Error 1