Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008245/0.0008246, allocations: 87.95 kB / 17.58 MB, free: 5.52 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.0008366/0.0008366, allocations: 187 kB / 18.48 MB, free: 5.082 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.727/1.727, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0005562/0.0005562, allocations: 12 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1079, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource): time 0.01374/0.1217, allocations: 13.28 MB / 342.3 MB, free: 6.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.1321, allocations: 4.749 MB / 347 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.1348, allocations: 79.69 kB / 347.1 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.1376, allocations: 0.8078 MB / 347.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.1414, allocations: 1.033 MB / 348.9 MB, free: 44 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.1432, allocations: 0.6393 MB / 349.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004702/0.1479, allocations: 3.502 MB / 353.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003876/0.1518, allocations: 2.275 MB / 355.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.1544, allocations: 1.198 MB / 356.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.1574, allocations: 1.583 MB / 358.1 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009642/0.1584, allocations: 192 kB / 358.3 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.16, allocations: 387.8 kB / 358.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007462/0.1607, allocations: 0.7941 MB / 359.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009895/0.1617, allocations: 0.6952 MB / 360.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005162/0.1669, allocations: 5.057 MB / 365.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.1669, allocations: 0 / 365.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1669, allocations: 4 kB / 365.3 MB, free: 15.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001469/0.1671, allocations: 4 kB / 365.3 MB, free: 15.63 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.00878/0.1759, allocations: 3.614 MB / 368.9 MB, free: 11.94 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1759, allocations: 8.031 kB / 368.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.1786, allocations: 0.6319 MB / 369.5 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.1821, allocations: 2.031 MB / 371.5 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.1823, allocations: 242.3 kB / 371.8 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004036/0.1827, allocations: 319.9 kB / 372.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006681/0.1894, allocations: 4.015 MB / 376.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.318e-05/0.1895, allocations: 11.89 kB / 376.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.1897, allocations: 128 kB / 376.2 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/0.1899, allocations: 154.2 kB / 376.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005445/0.1953, allocations: 3.351 MB / 379.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.242/0.4373, allocations: 13.36 MB / 393.1 MB, free: 41.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00371/0.4411, allocations: 3.964 MB / 397.1 MB, free: 38.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.4428, allocations: 1.01 MB / 398.1 MB, free: 37.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004328/0.4471, allocations: 2.654 MB / 400.7 MB, free: 35.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.4472, allocations: 48.94 kB / 400.8 MB, free: 35.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=108): time 3.547e-06/0.4472, allocations: 3.984 kB / 400.8 MB, free: 35.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.01052/0.4577, allocations: 5.988 MB / 406.8 MB, free: 32.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.4578, allocations: 67.47 kB / 406.8 MB, free: 32.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.4603, allocations: 1.876 MB / 408.7 MB, free: 31.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-05/0.4604, allocations: 52.58 kB / 408.8 MB, free: 31.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007662/0.4611, allocations: 1.508 MB / 410.3 MB, free: 29.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.4615, allocations: 488.2 kB / 410.7 MB, free: 29.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.4616, allocations: 42.59 kB / 410.8 MB, free: 29.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4617, allocations: 376.7 kB / 411.2 MB, free: 28.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009833/0.4627, allocations: 0.7613 MB / 411.9 MB, free: 28.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.464, allocations: 1.372 MB / 413.3 MB, free: 27.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.4653, allocations: 1.007 MB / 414.3 MB, free: 26.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.4653, allocations: 8 kB / 414.3 MB, free: 26.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.003362/0.4687, allocations: 2.466 MB / 416.8 MB, free: 24.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.4687, allocations: 12 kB / 416.8 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.4688, allocations: 23.84 kB / 416.8 MB, free: 24.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.4691, allocations: 118.5 kB / 416.9 MB, free: 23.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.4706, allocations: 491.5 kB / 417.4 MB, free: 23.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000756/0.4714, allocations: 1.319 MB / 418.7 MB, free: 22.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.4728, allocations: 111.7 kB / 418.8 MB, free: 21.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.473, allocations: 87.98 kB / 418.9 MB, free: 21.85 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (232): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001715/0.4747, allocations: 0.9774 MB / 419.9 MB, free: 20.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.475, allocations: 205.5 kB / 420.1 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.4777, allocations: 1.961 MB / 422.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.4777, allocations: 16 kB / 422.1 MB, free: 18.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4778, allocations: 0 / 422.1 MB, free: 18.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.4778, allocations: 7.938 kB / 422.1 MB, free: 18.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006884/0.4847, allocations: 4.992 MB / 427.1 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4847, allocations: 4 kB / 427.1 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.4859, allocations: 319.8 kB / 427.4 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002436/0.4861, allocations: 94.52 kB / 427.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.4862, allocations: 31.95 kB / 427.5 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006609/0.4869, allocations: 1.276 MB / 428.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4869, allocations: 0 / 428.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00366/0.4905, allocations: 3.081 MB / 431.9 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008824/0.4914, allocations: 462.4 kB / 432.3 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.4917, allocations: 28 kB / 432.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/0.4925, allocations: 87.97 kB / 432.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.4926, allocations: 89.14 kB / 432.5 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/0.4927, allocations: 36 kB / 432.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001692/0.4944, allocations: 1.273 MB / 433.8 MB, free: 6.586 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4944, allocations: 0 / 433.8 MB, free: 6.586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00171/0.4961, allocations: 0.5299 MB / 434.4 MB, free: 6.059 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000322/0.4964, allocations: 177 kB / 434.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002744/0.4992, allocations: 2.202 MB / 436.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4992, allocations: 0 / 436.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.5005, allocations: 1.175 MB / 437.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.5025, allocations: 0.4909 MB / 438.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.5132, allocations: 6.761 MB / 445.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/0.5154, allocations: 2.216 MB / 447.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000828/0.5163, allocations: 171.4 kB / 447.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5163, allocations: 1.422 kB / 447.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of Templates: time 0.1045/0.6208, allocations: 85.43 MB / 0.5205 GB, free: 3.074 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSourceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSourceCalcHelperMain.o] Error 1