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.001113/0.001113, allocations: 91.12 kB / 17.58 MB, free: 5.758 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.001269/0.001269, allocations: 183.1 kB / 18.48 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004864/0.0004865, allocations: 8 kB / 281.4 MB, free: 3.695 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.113, allocations: 47.59 MB / 329 MB, free: 4.027 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02249/0.1356, allocations: 21.64 MB / 350.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.1515, allocations: 6.748 MB / 357.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005435/0.157, allocations: 147.5 kB / 357.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005941/0.163, allocations: 1.348 MB / 358.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009434/0.1724, allocations: 2.454 MB / 361.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005638/0.1781, allocations: 1.158 MB / 362.5 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01969/0.1978, allocations: 13.36 MB / 375.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3132/0.511, allocations: 18.01 MB / 393.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/0.5239, allocations: 4.264 MB / 398.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01254/0.5365, allocations: 4.668 MB / 402.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004081/0.5406, allocations: 0.6463 MB / 403.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007619/0.5483, allocations: 0.987 MB / 404.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005605/0.5539, allocations: 1.952 MB / 406.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007293/0.5613, allocations: 2.073 MB / 408.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02443/0.5857, allocations: 18.99 MB / 427.5 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.5858, allocations: 3.984 kB / 427.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5858, allocations: 0 / 427.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008198/0.5866, allocations: 0 / 427.5 MB, free: 0.9375 MB / 318.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.03859/0.6252, allocations: 10.92 MB / 438.4 MB, free: 7.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.6253, allocations: 8.031 kB / 438.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03905/0.6644, allocations: 7.161 MB / 445.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/0.6812, allocations: 6.104 MB / 451.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009352/0.6822, allocations: 0.7142 MB / 452.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005699/0.6879, allocations: 0.9424 MB / 453.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05802/0.7459, allocations: 16.15 MB / 469.5 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005866/0.7466, allocations: 19.81 kB / 469.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005922/0.7525, allocations: 395.2 kB / 469.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007453/0.7533, allocations: 0.5825 MB / 470.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0426/0.7959, allocations: 15.4 MB / 485.8 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1036/0.8995, allocations: 52.94 MB / 0.5262 GB, free: 4.152 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4579/1.358, allocations: 35.46 MB / 0.5608 GB, free: 91.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007226/1.365, allocations: 3.426 MB / 0.5641 GB, free: 91.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01604/1.381, allocations: 10.16 MB / 0.5741 GB, free: 88.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/1.381, allocations: 73.34 kB / 0.5741 GB, free: 88.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=303): time 5.41e-06/1.381, allocations: 1.188 kB / 0.5741 GB, free: 88.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=309): time 0.03706/1.418, allocations: 17.18 MB / 0.5909 GB, free: 81.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/1.418, allocations: 83.84 kB / 0.591 GB, free: 81.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00564/1.424, allocations: 3.829 MB / 0.5947 GB, free: 80.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004309/1.424, allocations: 77.55 kB / 0.5948 GB, free: 80.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002267/1.427, allocations: 4.249 MB / 0.5989 GB, free: 76.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/1.428, allocations: 1.077 MB / 0.6 GB, free: 75.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/1.428, allocations: 111.4 kB / 0.6001 GB, free: 75.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002544/1.428, allocations: 0.5198 MB / 0.6006 GB, free: 75.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003641/1.432, allocations: 2.575 MB / 0.6031 GB, free: 74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004746/1.437, allocations: 4.928 MB / 0.6079 GB, free: 69.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004355/1.441, allocations: 3.708 MB / 0.6116 GB, free: 66.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-05/1.441, allocations: 22.19 kB / 0.6116 GB, free: 66.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01291/1.454, allocations: 8.677 MB / 0.6201 GB, free: 57.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.514e-05/1.454, allocations: 36 kB / 0.6201 GB, free: 57.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/1.454, allocations: 80.53 kB / 0.6202 GB, free: 57.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/1.457, allocations: 1.227 MB / 0.6214 GB, free: 56.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003914/1.461, allocations: 1.224 MB / 0.6226 GB, free: 55.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/1.473, allocations: 9.12 MB / 0.6315 GB, free: 45.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00489/1.478, allocations: 339.4 kB / 0.6318 GB, free: 45.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.48, allocations: 288 kB / 0.6321 GB, free: 45.36 MB / 430.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 (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.008119/1.488, allocations: 3.732 MB / 0.6357 GB, free: 41.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.489, allocations: 379.3 kB / 0.6361 GB, free: 41.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/1.501, allocations: 5.87 MB / 0.6418 GB, free: 35.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007033/1.508, allocations: 4.812 MB / 0.6465 GB, free: 30.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/1.508, allocations: 11.94 kB / 0.6465 GB, free: 30.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-05/1.508, allocations: 19.94 kB / 0.6465 GB, free: 30.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02617/1.534, allocations: 13.79 MB / 0.66 GB, free: 16.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.534, allocations: 4 kB / 0.66 GB, free: 16.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/1.536, allocations: 0.5617 MB / 0.6605 GB, free: 16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/1.539, allocations: 1.082 MB / 0.6616 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002811/1.539, allocations: 71.97 kB / 0.6617 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/1.55, allocations: 8.052 MB / 0.6695 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.55, allocations: 4 kB / 0.6695 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.562, allocations: 8.594 MB / 0.6779 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002484/1.565, allocations: 0.8904 MB / 0.6788 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.566, allocations: 60 kB / 0.6789 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/1.568, allocations: 191.9 kB / 0.679 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006125/1.569, allocations: 226.6 kB / 0.6793 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002547/1.569, allocations: 91.98 kB / 0.6793 GB, free: 12.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005844/1.575, allocations: 2.561 MB / 0.6818 GB, free: 9.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.575, allocations: 5.75 kB / 0.6819 GB, free: 9.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007635/1.583, allocations: 1.548 MB / 0.6834 GB, free: 8.379 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 (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.0008067/1.584, allocations: 245.1 kB / 0.6836 GB, free: 8.141 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01266/1.596, allocations: 6.563 MB / 0.69 GB, free: 1.559 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.596, allocations: 0 / 0.69 GB, free: 1.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005747/1.602, allocations: 2.99 MB / 0.6929 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005862/1.608, allocations: 0.9023 MB / 0.6938 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.279/1.887, allocations: 19.19 MB / 0.7125 GB, free: 142.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009166/1.896, allocations: 6.042 MB / 0.7185 GB, free: 141.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/1.898, allocations: 352.5 kB / 0.7188 GB, free: 141.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/1.898, allocations: 0 / 0.7188 GB, free: 141.3 MB / 462.1 MB Notification: Performance of Templates: time 0.2017/2.1, allocations: 156 MB / 0.8712 GB, free: 9.68 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++ 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_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