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_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008181/0.0008179, allocations: 93.09 kB / 17.58 MB, free: 5.801 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.00121/0.00121, allocations: 182.1 kB / 18.48 MB, free: 5.254 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.645/1.645, allocations: 205.4 MB / 224.6 MB, free: 13.05 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.0004441/0.0004441, allocations: 12 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.111, allocations: 47.59 MB / 329 MB, free: 4.043 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0222/0.1333, allocations: 21.73 MB / 350.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01719/0.1505, allocations: 7.093 MB / 357.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005753/0.1563, allocations: 143.5 kB / 358 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006137/0.1625, allocations: 1.34 MB / 359.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.1729, allocations: 2.508 MB / 361.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005264/0.1781, allocations: 1.216 MB / 363 MB, free: 1.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01955/0.1977, allocations: 13.67 MB / 376.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2921/0.4898, allocations: 19.34 MB / 396.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009115/0.499, allocations: 4.417 MB / 400.5 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009196/0.5082, allocations: 4.881 MB / 405.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004841/0.5131, allocations: 0.6658 MB / 406 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007167/0.5203, allocations: 1.038 MB / 407.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004469/0.5248, allocations: 2.12 MB / 409.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005393/0.5302, allocations: 2.156 MB / 411.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01946/0.5497, allocations: 19.6 MB / 430.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.5498, allocations: 4 kB / 430.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.5498, allocations: 0 / 430.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007526/0.5505, allocations: 0 / 430.9 MB, free: 14.53 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03472/0.5853, allocations: 11.46 MB / 442.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.5853, allocations: 8.031 kB / 442.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0381/0.6234, allocations: 7.226 MB / 449.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01686/0.6403, allocations: 6.412 MB / 456 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008484/0.6412, allocations: 0.7327 MB / 456.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00508/0.6463, allocations: 0.9621 MB / 457.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05249/0.6988, allocations: 16.54 MB / 474.3 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005721/0.6995, allocations: 19.8 kB / 474.3 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004538/0.704, allocations: 405.2 kB / 474.7 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007286/0.7048, allocations: 0.587 MB / 475.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04017/0.7449, allocations: 15.73 MB / 491 MB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5414/1.286, allocations: 54 MB / 0.5322 GB, free: 110.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02611/1.313, allocations: 22.7 MB / 0.5544 GB, free: 94.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007769/1.32, allocations: 3.83 MB / 0.5581 GB, free: 94.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02144/1.342, allocations: 11.79 MB / 0.5697 GB, free: 91.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/1.342, allocations: 73.14 kB / 0.5697 GB, free: 91.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=363): time 5.951e-06/1.342, allocations: 0 / 0.5697 GB, free: 91.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=368): time 0.04567/1.388, allocations: 19.96 MB / 0.5892 GB, free: 84.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/1.388, allocations: 88.52 kB / 0.5893 GB, free: 84.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0078/1.396, allocations: 4.735 MB / 0.5939 GB, free: 81.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001088/1.397, allocations: 80.89 kB / 0.594 GB, free: 81.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003333/1.4, allocations: 4.472 MB / 0.5984 GB, free: 77.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002206/1.402, allocations: 1.271 MB / 0.5996 GB, free: 76.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/1.403, allocations: 119.3 kB / 0.5997 GB, free: 76.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003528/1.403, allocations: 0.555 MB / 0.6003 GB, free: 76.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004714/1.408, allocations: 2.914 MB / 0.6031 GB, free: 74.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00563/1.413, allocations: 5.287 MB / 0.6083 GB, free: 69.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005903/1.419, allocations: 4.108 MB / 0.6123 GB, free: 66.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.099e-05/1.419, allocations: 24 kB / 0.6123 GB, free: 66.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01657/1.436, allocations: 9.622 MB / 0.6217 GB, free: 56.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/1.436, allocations: 40 kB / 0.6217 GB, free: 56.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/1.436, allocations: 80 kB / 0.6218 GB, free: 56.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003412/1.44, allocations: 1.41 MB / 0.6232 GB, free: 55.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005228/1.445, allocations: 1.338 MB / 0.6245 GB, free: 53.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/1.46, allocations: 11.65 MB / 0.6359 GB, free: 41.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/1.466, allocations: 367.5 kB / 0.6362 GB, free: 41.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.468, allocations: 308 kB / 0.6365 GB, free: 41.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009828/1.478, allocations: 3.915 MB / 0.6403 GB, free: 37.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001816/1.48, allocations: 454.4 kB / 0.6408 GB, free: 36.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/1.495, allocations: 6.818 MB / 0.6474 GB, free: 30.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009477/1.504, allocations: 5.62 MB / 0.6529 GB, free: 24.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.161e-05/1.504, allocations: 12 kB / 0.6529 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.8e-05/1.505, allocations: 19.92 kB / 0.653 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0368/1.541, allocations: 15.5 MB / 0.6681 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/1.541, allocations: 4 kB / 0.6681 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/1.545, allocations: 0.6676 MB / 0.6688 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003309/1.548, allocations: 1.264 MB / 0.67 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008024/1.549, allocations: 91.97 kB / 0.6701 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01347/1.562, allocations: 10.57 MB / 0.6804 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.562, allocations: 8 kB / 0.6804 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/1.58, allocations: 10.08 MB / 0.6902 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00321/1.583, allocations: 1.038 MB / 0.6913 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/1.585, allocations: 75.98 kB / 0.6913 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002992/1.588, allocations: 227.7 kB / 0.6915 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008802/1.589, allocations: 271.1 kB / 0.6918 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004609/1.589, allocations: 120 kB / 0.6919 GB, free: 15.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006037/1.595, allocations: 3.201 MB / 0.695 GB, free: 12.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.81e-07/1.595, allocations: 0 / 0.695 GB, free: 12.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009618/1.605, allocations: 1.693 MB / 0.6967 GB, free: 11.06 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (336): * Single equations (assignments): 330 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002176/1.607, allocations: 0.5088 MB / 0.6972 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0162/1.623, allocations: 7.568 MB / 0.7046 GB, free: 2.984 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.624, allocations: 0 / 0.7046 GB, free: 2.984 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.238/1.862, allocations: 3.602 MB / 0.7081 GB, free: 153.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007161/1.869, allocations: 0.9813 MB / 0.7091 GB, free: 153.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04153/1.91, allocations: 21.06 MB / 0.7296 GB, free: 145.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007408/1.918, allocations: 6.372 MB / 0.7359 GB, free: 143.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/1.92, allocations: 405.3 kB / 0.7362 GB, free: 143.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.084e-06/1.92, allocations: 0 / 0.7362 GB, free: 143.7 MB / 462.1 MB Notification: Performance of Templates: time 0.5747/2.495, allocations: 226.8 MB / 0.9577 GB, free: 85.77 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_withLossesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o] Error 1