Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001143/0.001143, allocations: 92.44 kB / 16.95 MB, free: 5.953 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.001442/0.001442, allocations: 179.9 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 223.2 MB / 241.8 MB, free: 264 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002953, allocations: 10.08 kB / 301.5 MB, free: 6.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1421, allocations: 50.41 MB / 351.9 MB, free: 3.977 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA): time 0.3195/0.4616, allocations: 24.87 MB / 376.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02149/0.4832, allocations: 7.731 MB / 384.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008853/0.4921, allocations: 191.8 kB / 384.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0081/0.5002, allocations: 1.354 MB / 386 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.514, allocations: 2.286 MB / 388.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006112/0.5201, allocations: 1.22 MB / 389.5 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02037/0.5405, allocations: 10.86 MB / 400.4 MB, free: 2.809 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03683/0.5774, allocations: 17.36 MB / 417.8 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/0.5876, allocations: 3.835 MB / 421.6 MB, free: 164 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.5979, allocations: 4.385 MB / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004034/0.602, allocations: 0.5977 MB / 426.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009554/0.6116, allocations: 0.941 MB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005838/0.6175, allocations: 1.802 MB / 429.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006567/0.6241, allocations: 1.954 MB / 431.3 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02449/0.6486, allocations: 17.4 MB / 448.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.6486, allocations: 3.984 kB / 448.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.6487, allocations: 0 / 448.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007394/0.6494, allocations: 4 kB / 448.7 MB, free: 5.02 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: 2599 * Number of variables: 2599 Notification: Performance of Generate backend data structure: time 0.03437/0.6838, allocations: 9.891 MB / 458.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.6839, allocations: 12.03 kB / 458.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03065/0.7145, allocations: 5.63 MB / 464.2 MB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/0.7307, allocations: 6.056 MB / 470.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009434/0.7316, allocations: 0.6985 MB / 471 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004601/0.7363, allocations: 0.9295 MB / 471.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04615/0.7824, allocations: 14.99 MB / 486.9 MB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006048/0.7831, allocations: 19.84 kB / 486.9 MB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003828/0.7869, allocations: 399.9 kB / 487.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006601/0.7876, allocations: 0.5117 MB / 487.8 MB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03608/0.8237, allocations: 13.66 MB / 0.4897 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6285/1.452, allocations: 47.74 MB / 0.5363 GB, free: 94.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/1.475, allocations: 28.54 MB / 0.5642 GB, free: 69.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005844/1.481, allocations: 3.062 MB / 0.5672 GB, free: 69.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003892/1.481, allocations: 243.3 kB / 0.5674 GB, free: 69.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.538e-05/1.481, allocations: 73.42 kB / 0.5675 GB, free: 69.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=384): time 6.542e-06/1.481, allocations: 0 / 0.5675 GB, free: 69.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=392): time 0.0361/1.517, allocations: 15.59 MB / 0.5827 GB, free: 63.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/1.517, allocations: 91.98 kB / 0.5828 GB, free: 63.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008329/1.526, allocations: 3.573 MB / 0.5863 GB, free: 61.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006343/1.526, allocations: 92.77 kB / 0.5864 GB, free: 61.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002798/1.529, allocations: 4.038 MB / 0.5903 GB, free: 58.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001682/1.531, allocations: 1.341 MB / 0.5916 GB, free: 56.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008814/1.532, allocations: 118.8 kB / 0.5918 GB, free: 56.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000667/1.532, allocations: 0.5461 MB / 0.5923 GB, free: 56.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005222/1.538, allocations: 2.567 MB / 0.5948 GB, free: 54.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006181/1.544, allocations: 5.064 MB / 0.5997 GB, free: 50.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005918/1.55, allocations: 3.751 MB / 0.6034 GB, free: 48.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/1.55, allocations: 21.06 kB / 0.6034 GB, free: 48.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01719/1.567, allocations: 8.577 MB / 0.6118 GB, free: 42.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.567, allocations: 44 kB / 0.6118 GB, free: 42.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/1.567, allocations: 80 kB / 0.6119 GB, free: 42.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/1.57, allocations: 0.8572 MB / 0.6128 GB, free: 41.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004596/1.574, allocations: 1.357 MB / 0.6141 GB, free: 40.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009305/1.584, allocations: 7.116 MB / 0.621 GB, free: 32.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004986/1.589, allocations: 323.3 kB / 0.6213 GB, free: 32.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/1.59, allocations: 304 kB / 0.6216 GB, free: 32.29 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 378 * 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 (722): * Single equations (assignments): 721 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(8,65.6%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008205/1.598, allocations: 3.513 MB / 0.6251 GB, free: 28.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.6, allocations: 403.1 kB / 0.6254 GB, free: 28.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/1.611, allocations: 5.975 MB / 0.6313 GB, free: 22.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/1.611, allocations: 40 kB / 0.6313 GB, free: 22.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.459e-05/1.611, allocations: 8 kB / 0.6313 GB, free: 22.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.204e-05/1.611, allocations: 23.77 kB / 0.6313 GB, free: 22.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0295/1.641, allocations: 15.22 MB / 0.6462 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/1.641, allocations: 12 kB / 0.6462 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/1.643, allocations: 0.6826 MB / 0.6469 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/1.645, allocations: 0.6976 MB / 0.6476 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003615/1.646, allocations: 87.97 kB / 0.6476 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008001/1.654, allocations: 6.151 MB / 0.6537 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/1.654, allocations: 7.938 kB / 0.6537 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/1.67, allocations: 8.689 MB / 0.6622 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003122/1.673, allocations: 0.8824 MB / 0.663 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/1.674, allocations: 75.98 kB / 0.6631 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.677, allocations: 187.8 kB / 0.6633 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006232/1.677, allocations: 262.8 kB / 0.6635 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003159/1.678, allocations: 116 kB / 0.6636 GB, free: 4.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005635/1.683, allocations: 2.392 MB / 0.666 GB, free: 2.391 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.683, allocations: 0 / 0.666 GB, free: 2.391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00784/1.691, allocations: 1.542 MB / 0.6675 GB, free: 0.8516 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (377): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(8,59.4%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008876/1.692, allocations: 269.7 kB / 0.6677 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01373/1.706, allocations: 6.457 MB / 0.674 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-05/1.706, allocations: 4.25 kB / 0.674 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006432/1.713, allocations: 2.931 MB / 0.6769 GB, free: 7.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006881/1.719, allocations: 0.9201 MB / 0.6778 GB, free: 6.277 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04171/1.761, allocations: 18.71 MB / 0.6961 GB, free: 3.469 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2945/2.056, allocations: 5.787 MB / 0.7017 GB, free: 151.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002311/2.058, allocations: 384 kB / 0.7021 GB, free: 151.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.512e-06/2.058, allocations: 3.969 kB / 0.7021 GB, free: 151.1 MB / 478.1 MB Notification: Performance of Templates: time 0.244/2.302, allocations: 149.7 MB / 0.8483 GB, free: 29.71 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.o] Error 1