Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 91.23 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.658/1.658, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002493/0.0002493, allocations: 8 kB / 307.3 MB, free: 1.57 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1223, allocations: 51.49 MB / 358.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2468/0.3692, allocations: 21.55 MB / 380.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.3849, allocations: 6.842 MB / 387.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005373/0.3904, allocations: 169.4 kB / 387.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005871/0.3963, allocations: 1.353 MB / 388.7 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.4076, allocations: 2.391 MB / 391.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006481/0.4141, allocations: 1.165 MB / 392.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02655/0.4407, allocations: 13.29 MB / 405.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04436/0.4851, allocations: 17.99 MB / 423.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01072/0.4959, allocations: 4.202 MB / 427.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.5065, allocations: 4.577 MB / 432.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003629/0.5102, allocations: 0.6406 MB / 433 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00716/0.5173, allocations: 1.015 MB / 434 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004483/0.5219, allocations: 1.884 MB / 435.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005732/0.5276, allocations: 2.052 MB / 437.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02488/0.5525, allocations: 19 MB / 456.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5526, allocations: 0 / 456.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5526, allocations: 0 / 456.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007223/0.5533, allocations: 4 kB / 457 MB, free: 10.66 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03805/0.5914, allocations: 10.81 MB / 467.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.5915, allocations: 12.03 kB / 467.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03556/0.6271, allocations: 6.184 MB / 474 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01999/0.6471, allocations: 6.672 MB / 480.6 MB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001282/0.6485, allocations: 0.7103 MB / 481.3 MB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005555/0.6541, allocations: 0.9217 MB / 482.3 MB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05106/0.7052, allocations: 15.68 MB / 497.9 MB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006011/0.7058, allocations: 15.8 kB / 498 MB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004052/0.7099, allocations: 395.9 kB / 498.3 MB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007272/0.7106, allocations: 0.5509 MB / 498.9 MB, free: 484 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03763/0.7483, allocations: 14.71 MB / 0.5016 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6489/1.397, allocations: 52.74 MB / 0.5531 GB, free: 100.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02907/1.426, allocations: 26.44 MB / 0.5789 GB, free: 79.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007588/1.434, allocations: 3.26 MB / 0.5821 GB, free: 79.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006927/1.435, allocations: 254.3 kB / 0.5823 GB, free: 79.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.666e-05/1.435, allocations: 79.11 kB / 0.5824 GB, free: 79.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=404): time 7.384e-06/1.435, allocations: 0 / 0.5824 GB, free: 79.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=410): time 0.04957/1.485, allocations: 19.24 MB / 0.6012 GB, free: 71.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/1.485, allocations: 100.4 kB / 0.6013 GB, free: 70.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006527/1.491, allocations: 3.663 MB / 0.6048 GB, free: 68.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.492, allocations: 90.98 kB / 0.6049 GB, free: 68.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002945/1.495, allocations: 3.98 MB / 0.6088 GB, free: 65.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00231/1.498, allocations: 1.395 MB / 0.6102 GB, free: 64.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/1.498, allocations: 119.6 kB / 0.6103 GB, free: 64.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003699/1.498, allocations: 0.5409 MB / 0.6108 GB, free: 63.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/1.503, allocations: 2.816 MB / 0.6136 GB, free: 62.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006402/1.51, allocations: 4.974 MB / 0.6184 GB, free: 57.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007238/1.517, allocations: 3.968 MB / 0.6223 GB, free: 55.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/1.517, allocations: 22.72 kB / 0.6223 GB, free: 55.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.0188/1.536, allocations: 9.113 MB / 0.6312 GB, free: 46.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.173e-05/1.536, allocations: 36.55 kB / 0.6313 GB, free: 46.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/1.536, allocations: 68 kB / 0.6313 GB, free: 46.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002994/1.539, allocations: 1.209 MB / 0.6325 GB, free: 45.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005362/1.544, allocations: 1.33 MB / 0.6338 GB, free: 43.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/1.559, allocations: 9.095 MB / 0.6427 GB, free: 34.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006792/1.566, allocations: 339.4 kB / 0.643 GB, free: 34.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/1.568, allocations: 288 kB / 0.6433 GB, free: 33.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (697): * Single equations (assignments): 692 * 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%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01087/1.579, allocations: 3.706 MB / 0.6469 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/1.581, allocations: 407.1 kB / 0.6473 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/1.597, allocations: 6.752 MB / 0.6539 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01054/1.607, allocations: 5.643 MB / 0.6594 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-05/1.607, allocations: 8 kB / 0.6594 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.419e-05/1.608, allocations: 19.92 kB / 0.6594 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03469/1.642, allocations: 16.16 MB / 0.6752 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/1.642, allocations: 4 kB / 0.6752 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/1.645, allocations: 0.7261 MB / 0.6759 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/1.648, allocations: 1.074 MB / 0.677 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008047/1.649, allocations: 99.77 kB / 0.6771 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.664, allocations: 8.059 MB / 0.6849 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/1.664, allocations: 7.938 kB / 0.6849 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02409/1.688, allocations: 9.923 MB / 0.6946 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004164/1.692, allocations: 0.9683 MB / 0.6956 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00229/1.694, allocations: 79.98 kB / 0.6957 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003711/1.698, allocations: 207.9 kB / 0.6959 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001628/1.7, allocations: 291.3 kB / 0.6961 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008573/1.701, allocations: 120 kB / 0.6962 GB, free: 11.22 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007748/1.708, allocations: 2.468 MB / 0.6987 GB, free: 8.762 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.783e-06/1.708, allocations: 0 / 0.6987 GB, free: 8.762 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01341/1.722, allocations: 1.608 MB / 0.7002 GB, free: 7.156 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (392): * Single equations (assignments): 387 * 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%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001996/1.724, allocations: 291.2 kB / 0.7005 GB, free: 6.875 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01976/1.744, allocations: 7.166 MB / 0.7075 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/1.744, allocations: 0 / 0.7075 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01043/1.754, allocations: 3.408 MB / 0.7108 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008527/1.763, allocations: 0.9427 MB / 0.7118 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3661/2.129, allocations: 19.48 MB / 0.7308 GB, free: 157.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01509/2.144, allocations: 6.013 MB / 0.7367 GB, free: 157.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002582/2.147, allocations: 380.5 kB / 0.737 GB, free: 157.1 MB / 494.1 MB Notification: Performance of SimCode: time 2.726e-06/2.147, allocations: 1.375 kB / 0.737 GB, free: 157.1 MB / 494.1 MB Notification: Performance of Templates: time 0.2702/2.417, allocations: 157.1 MB / 0.8905 GB, free: 20.68 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.IMC_CharacteristicsCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o] Error 1