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.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 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.0008583/0.0008582, allocations: 86.38 kB / 17.58 MB, free: 6.219 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.000917/0.0009171, allocations: 187.8 kB / 18.48 MB, free: 5.379 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.737/1.737, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0004669/0.000467, allocations: 12.94 kB / 281.4 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.108, allocations: 47.58 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02406/0.1321, allocations: 23.57 MB / 352.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0177/0.1498, allocations: 7.368 MB / 360 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005604/0.1555, allocations: 155.5 kB / 360.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00562/0.1611, allocations: 1.476 MB / 361.6 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.1714, allocations: 2.792 MB / 364.4 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004144/0.1755, allocations: 1.271 MB / 365.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02003/0.1956, allocations: 14.8 MB / 380.4 MB, free: 460 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2847/0.4803, allocations: 19.86 MB / 400.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008798/0.4892, allocations: 4.829 MB / 405.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009243/0.4985, allocations: 5.399 MB / 410.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003314/0.5018, allocations: 0.7201 MB / 411.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005641/0.5075, allocations: 1.068 MB / 412.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003311/0.5108, allocations: 2.279 MB / 414.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004985/0.5158, allocations: 2.336 MB / 416.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0207/0.5365, allocations: 20.93 MB / 437.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5366, allocations: 4 kB / 437.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5366, allocations: 0 / 437.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.001075/0.5377, allocations: 0 / 437.9 MB, free: 9.82 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04074/0.5784, allocations: 12.39 MB / 450.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5785, allocations: 8.031 kB / 450.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0486/0.6271, allocations: 9.464 MB / 459.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01875/0.6459, allocations: 6.806 MB / 466.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001453/0.6474, allocations: 0.824 MB / 467.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007493/0.655, allocations: 1.083 MB / 468.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06758/0.7226, allocations: 18.68 MB / 487.1 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008702/0.7235, allocations: 19.89 kB / 487.1 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006694/0.7302, allocations: 464.7 kB / 487.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001172/0.7314, allocations: 0.6949 MB / 488.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05462/0.7861, allocations: 18.14 MB / 0.4946 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5879/1.374, allocations: 60.13 MB / 0.5533 GB, free: 93.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03007/1.404, allocations: 46.68 MB / 0.5989 GB, free: 53.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006631/1.411, allocations: 4.314 MB / 0.6031 GB, free: 53.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01973/1.431, allocations: 12.49 MB / 0.6153 GB, free: 48.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.023e-05/1.431, allocations: 76.95 kB / 0.6153 GB, free: 48.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=391): time 7.434e-06/1.431, allocations: 0 / 0.6153 GB, free: 48.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=397): time 0.04753/1.478, allocations: 21.51 MB / 0.6363 GB, free: 35.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/1.478, allocations: 92.09 kB / 0.6364 GB, free: 35.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006649/1.485, allocations: 4.31 MB / 0.6406 GB, free: 33.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008127/1.486, allocations: 89.7 kB / 0.6407 GB, free: 32.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002787/1.489, allocations: 4.818 MB / 0.6454 GB, free: 28.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001632/1.49, allocations: 1.367 MB / 0.6468 GB, free: 26.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/1.491, allocations: 136 kB / 0.6469 GB, free: 26.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002991/1.491, allocations: 0.5629 MB / 0.6474 GB, free: 26.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00424/1.495, allocations: 3.132 MB / 0.6505 GB, free: 22.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005295/1.501, allocations: 5.772 MB / 0.6561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006349/1.507, allocations: 4.412 MB / 0.6604 GB, free: 11.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-05/1.507, allocations: 24 kB / 0.6605 GB, free: 11.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01555/1.523, allocations: 10.29 MB / 0.6705 GB, free: 1.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/1.523, allocations: 46.03 kB / 0.6706 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/1.523, allocations: 88 kB / 0.6706 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/1.526, allocations: 1.416 MB / 0.672 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005126/1.531, allocations: 1.462 MB / 0.6735 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/1.548, allocations: 10.55 MB / 0.6838 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00606/1.554, allocations: 399.3 kB / 0.6841 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/1.555, allocations: 332 kB / 0.6845 GB, free: 2.758 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * 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.01065/1.566, allocations: 4.188 MB / 0.6885 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/1.567, allocations: 450.3 kB / 0.689 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.582, allocations: 7.403 MB / 0.6962 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01051/1.592, allocations: 6.075 MB / 0.7021 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.383e-05/1.592, allocations: 12 kB / 0.7022 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.895e-05/1.592, allocations: 23.91 kB / 0.7022 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3677/1.96, allocations: 16.45 MB / 0.7182 GB, free: 140.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/1.96, allocations: 0.9062 kB / 0.7182 GB, free: 140.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003014/1.963, allocations: 0.7336 MB / 0.719 GB, free: 140.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003366/1.966, allocations: 1.241 MB / 0.7202 GB, free: 140.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000573/1.967, allocations: 89.86 kB / 0.7202 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/1.98, allocations: 9.301 MB / 0.7293 GB, free: 135.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.98, allocations: 3.969 kB / 0.7293 GB, free: 135.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01965/2, allocations: 10.61 MB / 0.7397 GB, free: 131.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004551/2.005, allocations: 1.065 MB / 0.7407 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002314/2.007, allocations: 71.56 kB / 0.7408 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004627/2.012, allocations: 261.8 kB / 0.7411 GB, free: 130.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001506/2.013, allocations: 272 kB / 0.7413 GB, free: 130.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008692/2.014, allocations: 116.6 kB / 0.7414 GB, free: 130.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0076/2.022, allocations: 2.873 MB / 0.7442 GB, free: 129.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/2.022, allocations: 0 / 0.7442 GB, free: 129.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01041/2.032, allocations: 1.846 MB / 0.746 GB, free: 129.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (363): * Single equations (assignments): 358 * 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.001462/2.034, allocations: 265.7 kB / 0.7463 GB, free: 129.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01563/2.049, allocations: 7.96 MB / 0.7541 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/2.05, allocations: 0 / 0.7541 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007626/2.057, allocations: 3.688 MB / 0.7577 GB, free: 121.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008601/2.066, allocations: 1.045 MB / 0.7587 GB, free: 120.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04583/2.112, allocations: 22.32 MB / 0.7805 GB, free: 98.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01214/2.124, allocations: 6.822 MB / 0.7871 GB, free: 91.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002682/2.127, allocations: 423.3 kB / 0.7875 GB, free: 91.24 MB / 462.1 MB Notification: Performance of SimCode: time 1.563e-06/2.127, allocations: 4 kB / 0.7876 GB, free: 91.24 MB / 462.1 MB Notification: Performance of Templates: time 0.4795/2.606, allocations: 178.6 MB / 0.9619 GB, free: 76.49 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o] Error 1