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.SMPM_MTPA.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.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001245, allocations: 93.22 kB / 17.96 MB, free: 5.629 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.00168/0.00168, allocations: 179.6 kB / 18.86 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, 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.0005103/0.0005106, allocations: 16 kB / 282.1 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1181, allocations: 47.59 MB / 329.6 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA): time 0.03126/0.1494, allocations: 27.46 MB / 357.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02612/0.1756, allocations: 8.386 MB / 365.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007863/0.1835, allocations: 179.4 kB / 365.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008841/0.1924, allocations: 1.789 MB / 367.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01416/0.2066, allocations: 2.754 MB / 370.2 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006829/0.2135, allocations: 1.583 MB / 371.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3259/0.5394, allocations: 10.56 MB / 382.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05481/0.5942, allocations: 21.47 MB / 403.8 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01159/0.6059, allocations: 3.946 MB / 407.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01181/0.6178, allocations: 4.91 MB / 412.7 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004008/0.6218, allocations: 0.6087 MB / 413.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007093/0.629, allocations: 0.968 MB / 414.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004768/0.6338, allocations: 2.011 MB / 416.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01087/0.6446, allocations: 4.848 MB / 421.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02689/0.6716, allocations: 17.83 MB / 438.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.6717, allocations: 0 / 438.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.295e-06/0.6717, allocations: 4 kB / 438.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007563/0.6725, allocations: 0 / 438.9 MB, free: 15.22 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.03695/0.7094, allocations: 10.25 MB / 449.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.221e-05/0.7095, allocations: 12.02 kB / 449.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05047/0.76, allocations: 8.609 MB / 457.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0176/0.7777, allocations: 5.899 MB / 463.7 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001203/0.7789, allocations: 0.7508 MB / 464.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007167/0.7861, allocations: 0.9753 MB / 465.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06302/0.8491, allocations: 16.57 MB / 482 MB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007712/0.85, allocations: 15.91 kB / 482 MB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0056/0.8556, allocations: 412.8 kB / 482.4 MB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/0.8567, allocations: 0.6067 MB / 483 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04786/0.9046, allocations: 15.96 MB / 499 MB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6818/1.586, allocations: 52.26 MB / 0.5383 GB, free: 129.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04255/1.629, allocations: 52.22 MB / 0.5893 GB, free: 79.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00819/1.637, allocations: 3.461 MB / 0.5927 GB, free: 79.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02438/1.662, allocations: 9.412 MB / 0.6019 GB, free: 77.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.96e-05/1.662, allocations: 71.53 kB / 0.602 GB, free: 77.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=270): time 8.065e-06/1.662, allocations: 0 / 0.602 GB, free: 77.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=278): time 0.03134/1.693, allocations: 12.9 MB / 0.6146 GB, free: 71.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/1.693, allocations: 83.47 kB / 0.6146 GB, free: 71.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.704, allocations: 4.064 MB / 0.6186 GB, free: 70.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006474/1.704, allocations: 69.55 kB / 0.6187 GB, free: 70.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003014/1.707, allocations: 4.627 MB / 0.6232 GB, free: 66.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.709, allocations: 0.9962 MB / 0.6242 GB, free: 66.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006588/1.709, allocations: 487.2 kB / 0.6246 GB, free: 65.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/1.709, allocations: 308.8 kB / 0.6249 GB, free: 65.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003568/1.713, allocations: 2.446 MB / 0.6273 GB, free: 64.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005687/1.719, allocations: 5.603 MB / 0.6328 GB, free: 59.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.729, allocations: 8.678 MB / 0.6413 GB, free: 52.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/1.729, allocations: 31.06 kB / 0.6413 GB, free: 52.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01556/1.745, allocations: 8.742 MB / 0.6498 GB, free: 45.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.745, allocations: 52 kB / 0.6499 GB, free: 45.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/1.745, allocations: 112.1 kB / 0.65 GB, free: 45.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/1.747, allocations: 0.8562 MB / 0.6508 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004868/1.752, allocations: 1.404 MB / 0.6522 GB, free: 42.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009926/1.762, allocations: 7.006 MB / 0.659 GB, free: 35.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006239/1.768, allocations: 359.2 kB / 0.6594 GB, free: 35.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/1.77, allocations: 348 kB / 0.6597 GB, free: 35.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 498 * 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 (733): * Single equations (assignments): 732 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,38,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01029/1.78, allocations: 3.673 MB / 0.6633 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001754/1.782, allocations: 407 kB / 0.6637 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.793, allocations: 5.07 MB / 0.6686 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/1.793, allocations: 28 kB / 0.6687 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.606e-05/1.793, allocations: 8 kB / 0.6687 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.084e-05/1.793, allocations: 11.95 kB / 0.6687 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03098/1.824, allocations: 12.19 MB / 0.6806 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/1.824, allocations: 4 kB / 0.6806 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/1.827, allocations: 0.5226 MB / 0.6811 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002087/1.829, allocations: 0.688 MB / 0.6818 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003584/1.829, allocations: 63.98 kB / 0.6818 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008608/1.838, allocations: 6.155 MB / 0.6878 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.838, allocations: 7.938 kB / 0.6879 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/1.851, allocations: 7.319 MB / 0.695 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003054/1.854, allocations: 0.8199 MB / 0.6958 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/1.856, allocations: 52 kB / 0.6958 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003665/1.86, allocations: 167.9 kB / 0.696 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008449/1.861, allocations: 201.9 kB / 0.6962 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003658/1.861, allocations: 95.97 kB / 0.6963 GB, free: 13.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007075/1.868, allocations: 2.672 MB / 0.6989 GB, free: 10.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.868, allocations: 0 / 0.6989 GB, free: 10.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01221/1.88, allocations: 1.547 MB / 0.7004 GB, free: 8.898 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 1 (smpmQS.phiMechanical) * 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 (263): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001268/1.882, allocations: 225.8 kB / 0.7006 GB, free: 8.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01383/1.895, allocations: 6.111 MB / 0.7066 GB, free: 2.547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.895, allocations: 0 / 0.7066 GB, free: 2.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005585/1.901, allocations: 2.474 MB / 0.709 GB, free: 60 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2861/2.187, allocations: 0.8773 MB / 0.7099 GB, free: 150.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04247/2.23, allocations: 20.2 MB / 0.7296 GB, free: 141.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008719/2.238, allocations: 6.024 MB / 0.7355 GB, free: 139.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/2.241, allocations: 380.3 kB / 0.7358 GB, free: 139.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.383e-06/2.241, allocations: 0 / 0.7358 GB, free: 139.5 MB / 462.1 MB Notification: Performance of Templates: time 0.542/2.783, allocations: 153.7 MB / 0.8859 GB, free: 141.4 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.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.SMPM_MTPACalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.o] Error 1