Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|currentController.y.1.|currentController.y.2.|currentController.y.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|currentController.y.1.|currentController.y.2.|currentController.y.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 98.06 kB / 17.96 MB, free: 5.637 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.00152/0.00152, allocations: 175.8 kB / 18.86 MB, free: 4.773 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.969/1.969, allocations: 205.4 MB / 225 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.0005778/0.0005783, allocations: 16.52 kB / 282.1 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1433, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.04633/0.1897, allocations: 37.74 MB / 367.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0333/0.2231, allocations: 10.36 MB / 377.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01254/0.2357, allocations: 243.1 kB / 378 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.2462, allocations: 2.146 MB / 380.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3357/0.5819, allocations: 3.292 MB / 383.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00907/0.591, allocations: 1.993 MB / 385.4 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03069/0.6217, allocations: 13.64 MB / 399.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05301/0.6748, allocations: 24.16 MB / 423.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01773/0.6927, allocations: 4.934 MB / 428.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01826/0.711, allocations: 6.23 MB / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006093/0.7172, allocations: 0.7734 MB / 435.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009976/0.7272, allocations: 1.167 MB / 436.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007247/0.7345, allocations: 2.676 MB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02026/0.7548, allocations: 6.209 MB / 445.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03537/0.7902, allocations: 22.12 MB / 467.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.7903, allocations: 8 kB / 467.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.7903, allocations: 0 / 467.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001181/0.7915, allocations: 0 / 467.3 MB, free: 3.973 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: 3512 * Number of variables: 3512 Notification: Performance of Generate backend data structure: time 0.0506/0.8421, allocations: 12.86 MB / 480.2 MB, free: 7.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.8422, allocations: 8.031 kB / 480.2 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05252/0.8947, allocations: 9.138 MB / 489.3 MB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02192/0.9167, allocations: 7.461 MB / 496.8 MB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001494/0.9182, allocations: 0.9543 MB / 497.7 MB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007427/0.9257, allocations: 1.246 MB / 499 MB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06996/0.9957, allocations: 20.16 MB / 0.507 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001182/0.997, allocations: 23.8 kB / 0.507 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006933/1.004, allocations: 0.5161 MB / 0.5075 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001131/1.005, allocations: 0.7293 MB / 0.5082 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05787/1.063, allocations: 18.98 MB / 0.5268 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6944/1.757, allocations: 63.6 MB / 0.5889 GB, free: 105.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04006/1.798, allocations: 56.95 MB / 0.6445 GB, free: 47.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008533/1.806, allocations: 4.13 MB / 0.6485 GB, free: 45.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02661/1.833, allocations: 11.41 MB / 0.6597 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.06e-05/1.833, allocations: 81.23 kB / 0.6597 GB, free: 33.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=349): time 9.528e-06/1.833, allocations: 3.938 kB / 0.6597 GB, free: 33.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=389): time 0.04394/1.877, allocations: 18.17 MB / 0.6775 GB, free: 15.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/1.877, allocations: 98.45 kB / 0.6776 GB, free: 15.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01349/1.891, allocations: 5.466 MB / 0.6829 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001411/1.892, allocations: 89.7 kB / 0.683 GB, free: 9.965 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00531/1.897, allocations: 5.877 MB / 0.6887 GB, free: 4.059 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002014/1.899, allocations: 1.374 MB / 0.6901 GB, free: 2.695 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00183/1.901, allocations: 0.5927 MB / 0.6907 GB, free: 2.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/1.901, allocations: 301.1 kB / 0.6909 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006127/1.907, allocations: 3.087 MB / 0.694 GB, free: 14.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/1.918, allocations: 6.755 MB / 0.7006 GB, free: 6.188 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01783/1.936, allocations: 10.59 MB / 0.7109 GB, free: 9.793 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001759/1.936, allocations: 36 kB / 0.7109 GB, free: 9.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=982) (initialization): time 0.3583/2.294, allocations: 10.79 MB / 0.7215 GB, free: 156.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/2.295, allocations: 59 kB / 0.7215 GB, free: 156.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003122/2.295, allocations: 125 kB / 0.7217 GB, free: 156.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003382/2.298, allocations: 0.9787 MB / 0.7226 GB, free: 156.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008517/2.307, allocations: 1.812 MB / 0.7244 GB, free: 156.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/2.322, allocations: 9.55 MB / 0.7337 GB, free: 152.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008431/2.331, allocations: 448.1 kB / 0.7341 GB, free: 152.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00211/2.333, allocations: 414.6 kB / 0.7345 GB, free: 152.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * 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 (933): * Single equations (assignments): 928 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0126/2.345, allocations: 4.465 MB / 0.7389 GB, free: 150.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/2.347, allocations: 0.5423 MB / 0.7394 GB, free: 150.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/2.358, allocations: 6.528 MB / 0.7458 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/2.358, allocations: 39.25 kB / 0.7458 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/2.358, allocations: 18.97 kB / 0.7458 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.683e-05/2.358, allocations: 17.67 kB / 0.7459 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03252/2.391, allocations: 15.96 MB / 0.7615 GB, free: 141.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/2.391, allocations: 9.125 kB / 0.7615 GB, free: 141.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003016/2.394, allocations: 0.7533 MB / 0.7622 GB, free: 141.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/2.396, allocations: 0.7894 MB / 0.763 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002817/2.396, allocations: 89.69 kB / 0.7631 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009259/2.406, allocations: 8.666 MB / 0.7715 GB, free: 134.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/2.406, allocations: 8.531 kB / 0.7715 GB, free: 134.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/2.42, allocations: 9.526 MB / 0.7808 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003702/2.424, allocations: 1.113 MB / 0.7819 GB, free: 126.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/2.425, allocations: 72.44 kB / 0.782 GB, free: 126.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002842/2.428, allocations: 223.8 kB / 0.7822 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005904/2.429, allocations: 264.9 kB / 0.7824 GB, free: 125.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/2.429, allocations: 120 kB / 0.7826 GB, free: 125.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006431/2.435, allocations: 3.599 MB / 0.7861 GB, free: 122 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.21e-07/2.435, allocations: 0 / 0.7861 GB, free: 122 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01136/2.447, allocations: 1.987 MB / 0.788 GB, free: 120.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (inertiaLoad.w,quadraticSpeedDependentTorque.phi,inertiaLoadQS.w,quadraticSpeedDependentTorqueQS.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 (368): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/2.448, allocations: 250.5 kB / 0.7883 GB, free: 119.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01296/2.461, allocations: 8.058 MB / 0.7961 GB, free: 111.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/2.461, allocations: 0 / 0.7961 GB, free: 111.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005574/2.466, allocations: 3.545 MB / 0.7996 GB, free: 108.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009498/2.476, allocations: 1.235 MB / 0.8008 GB, free: 106.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04657/2.523, allocations: 26.04 MB / 0.8262 GB, free: 80.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00975/2.532, allocations: 7.368 MB / 0.8334 GB, free: 73.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002527/2.535, allocations: 0.4915 MB / 0.8339 GB, free: 72.94 MB / 478.1 MB Notification: Performance of SimCode: time 9.61e-07/2.535, allocations: 0 / 0.8339 GB, free: 72.94 MB / 478.1 MB Notification: Performance of Templates: time 1.446/3.981, allocations: 475.3 MB / 1.298 GB, free: 132.2 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.o] Error 1